Skip to content

Commit

Permalink
Fix apache#178: fix password definitions and enforce rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Apr 29, 2021
1 parent ab58efd commit 2b5aec1
Show file tree
Hide file tree
Showing 44 changed files with 134 additions and 2 deletions.
2 changes: 2 additions & 0 deletions aws-ddb-streams-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
2 changes: 2 additions & 0 deletions aws-kinesis-firehose-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
2 changes: 2 additions & 0 deletions aws-kinesis-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
2 changes: 2 additions & 0 deletions aws-kinesis-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
2 changes: 2 additions & 0 deletions aws-lambda-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
4 changes: 4 additions & 0 deletions aws-s3-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ spec:
title: Access Key
description: The access key obtained from AWS.
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS.
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand All @@ -51,6 +53,8 @@ spec:
description: Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride.
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
uriEndpointOverride:
title: Override Endpoint URI
description: Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option.
Expand Down
2 changes: 2 additions & 0 deletions aws-s3-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
4 changes: 4 additions & 0 deletions aws-sns-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand All @@ -45,6 +47,8 @@ spec:
description: Use content-based deduplication (should be enabled in the SQS FIFO queue first)
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
autoCreateTopic:
title: Autocreate Topic
description: Setting the autocreation of the SNS topic.
Expand Down
2 changes: 2 additions & 0 deletions aws-sns-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
2 changes: 2 additions & 0 deletions aws-sqs-batch-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
4 changes: 4 additions & 0 deletions aws-sqs-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand All @@ -45,6 +47,8 @@ spec:
description: Use content-based deduplication (should be enabled in the SQS FIFO queue first)
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
autoCreateQueue:
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
Expand Down
2 changes: 2 additions & 0 deletions aws-sqs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
2 changes: 2 additions & 0 deletions aws-sqs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ spec:
title: Access Key
description: The access key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
secretKey:
title: Secret Key
description: The secret key obtained from AWS
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
region:
Expand Down
1 change: 1 addition & 0 deletions azure-eventhubs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ spec:
title: Share Access Key
description: The key for EventHubs SAS key name
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
dependencies:
Expand Down
2 changes: 2 additions & 0 deletions azure-eventhubs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
title: Share Access Key
description: The key for EventHubs SAS key name
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
blobAccountName:
Expand All @@ -52,6 +53,7 @@ spec:
title: Azure Storage Blob Access Key
description: The key for Azure Storage Blob service associated with the Blob account name
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
types:
Expand Down
1 change: 1 addition & 0 deletions azure-storage-blob-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
title: Access Key
description: The Azure Storage Blob access Key.
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
operation:
Expand Down
1 change: 1 addition & 0 deletions azure-storage-blob-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
title: Access Key
description: The Azure Storage Blob access Key.
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
flow:
Expand Down
1 change: 1 addition & 0 deletions azure-storage-queue-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
title: Access Key
description: The Azure Storage Queue access Key.
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
flow:
Expand Down
1 change: 1 addition & 0 deletions cassandra-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
title: Password
description: The password to use for accessing a secured Cassandra Cluster
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
consistencyLevel:
Expand Down
1 change: 1 addition & 0 deletions cassandra-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
title: Password
description: The password to use for accessing a secured Cassandra Cluster
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
resultStrategy:
Expand Down
1 change: 1 addition & 0 deletions dropbox-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
title: Dropbox Access Token
description: The access Token to use to access Dropbox
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
clientIdentifier:
Expand Down
1 change: 1 addition & 0 deletions dropbox-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
title: Dropbox Access Token
description: The access Token to use to access Dropbox
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
clientIdentifier:
Expand Down
2 changes: 2 additions & 0 deletions elasticsearch-search-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
description: Do we want to connect using SSL?
type: boolean
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
hostAddresses:
title: Host Addresses
description: Comma separated list with ip:port formatted remote transport addresses to use.
Expand Down
2 changes: 2 additions & 0 deletions fhir-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ spec:
title: Username
description: The username to access the Fhir server
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
password:
title: Password
description: The password to access the Fhir server
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
prettyPrint:
Expand Down
2 changes: 1 addition & 1 deletion file-watch-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
events:
title: Events
description: The type of events to consume
type: boolean
type: string
default: "CREATE,MODIFY,DELETE"
types:
out:
Expand Down
9 changes: 8 additions & 1 deletion ftp-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
title: Password
description: The password to access the FTP server
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
directoryName:
Expand All @@ -49,16 +50,22 @@ spec:
description: Sets passive mode connection
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
recursive:
title: Recursive
description: If a directory, will look for files in all the sub-directories as well.
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
idempotent:
title: Idempotency
description: Skip already processed files.
type: boolean
default: true
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
flow:
from:
uri: "ftp:{{username}}@{{host}}:{{port}}/{{directoryName}}"
Expand Down
7 changes: 7 additions & 0 deletions ftps-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
title: Password
description: The password to access the FTPS server
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
directoryName:
Expand All @@ -49,16 +50,22 @@ spec:
description: Sets passive mode connection
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
recursive:
title: Recursive
description: If a directory, will look for files in all the sub-directories as well.
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
idempotent:
title: Idempotency
description: Skip already processed files.
type: boolean
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
flow:
from:
uri: "ftps:{{username}}@{{host}}:{{port}}/{{directoryName}}"
Expand Down
Loading

0 comments on commit 2b5aec1

Please sign in to comment.