From bc509bb44af7d6372df592448c1254b216108515 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Wed, 24 Mar 2021 08:50:00 +0100 Subject: [PATCH 1/4] AWS SQS Source Kamelet: Added autoCreateQueue option with default false --- aws-sqs-source.kamelet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aws-sqs-source.kamelet.yaml b/aws-sqs-source.kamelet.yaml index b4a2746dd..20e732652 100644 --- a/aws-sqs-source.kamelet.yaml +++ b/aws-sqs-source.kamelet.yaml @@ -46,6 +46,13 @@ spec: description: The AWS region to connect to type: string example: eu-west-1 + autoCreateQueue: + title: Autocreate queue + description: Setting the autocreation of the SQS queue. + type: boolean + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' + default: false types: out: mediaType: application/json @@ -53,6 +60,7 @@ spec: from: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: + autoCreateQueue: "{{autoCreateQueue}}" secretKey: "{{secretKey}}" accessKey: "{{accessKey}}" region: "{{region}}" From 70470f46bc65c34044f29f9b12288979f1c74cfe Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Wed, 24 Mar 2021 08:51:01 +0100 Subject: [PATCH 2/4] AWS SQS Sink Kamelet: Added autoCreateQueue option with default false --- aws-sqs-sink.kamelet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aws-sqs-sink.kamelet.yaml b/aws-sqs-sink.kamelet.yaml index aaecaf3bc..d4151fe72 100644 --- a/aws-sqs-sink.kamelet.yaml +++ b/aws-sqs-sink.kamelet.yaml @@ -39,6 +39,13 @@ spec: description: The AWS region to connect to type: string example: eu-west-1 + autoCreateQueue: + title: Autocreate queue + description: Setting the autocreation of the SQS queue. + type: boolean + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' + default: false flow: from: uri: kamelet:source @@ -46,6 +53,7 @@ spec: - to: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: + autoCreateQueue: "{{autoCreateQueue}}" accessKey: "{{accessKey}}" secretKey: "{{secretKey}}" region: "{{region}}" From 82f4aba47a1eec9344d567002e9944671e6f68f6 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Wed, 24 Mar 2021 08:52:20 +0100 Subject: [PATCH 3/4] AWS SQS FIFO Sink Kamelet: Added autoCreateQueue option with default false --- aws-sqs-fifo-sink.kamelet.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/aws-sqs-fifo-sink.kamelet.yaml b/aws-sqs-fifo-sink.kamelet.yaml index 0d27b9354..dd2a427e5 100644 --- a/aws-sqs-fifo-sink.kamelet.yaml +++ b/aws-sqs-fifo-sink.kamelet.yaml @@ -44,6 +44,13 @@ spec: description: Use content-based deduplication (should be enabled in the SQS FIFO queue first) type: boolean default: false + autoCreateQueue: + title: Autocreate queue + description: Setting the autocreation of the SQS queue. + type: boolean + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' + default: false dependencies: - camel-quarkus:aws2-sqs flow: @@ -77,6 +84,7 @@ spec: - to: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: + autoCreateQueue: "{{autoCreateQueue}}" accessKey: "{{accessKey}}" secretKey: "{{secretKey}}" region: "{{region}}" @@ -87,6 +95,7 @@ spec: - to: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: + autoCreateQueue: "{{autoCreateQueue}}" accessKey: "{{accessKey}}" secretKey: "{{secretKey}}" region: "{{region}}" From 473f05c546830ba5ca2bccada89c9092cb655634 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Wed, 24 Mar 2021 08:53:06 +0100 Subject: [PATCH 4/4] AWS SQS Kamelets: Regen --- docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc | 1 + docs/modules/ROOT/pages/aws-sqs-sink.adoc | 1 + docs/modules/ROOT/pages/aws-sqs-source.adoc | 1 + docs/modules/ROOT/pages/dropbox-source.adoc | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc b/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc index d83e2d049..8db85a3fd 100644 --- a/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws- | *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| string| | | *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"` | *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| | +| autoCreateQueue| Autocreate queue| Setting the autocreation of the SQS queue.| boolean| `false`| | contentBasedDeduplication| Content-Based Deduplication| Use content-based deduplication (should be enabled in the SQS FIFO queue first)| boolean| `false`| |=== diff --git a/docs/modules/ROOT/pages/aws-sqs-sink.adoc b/docs/modules/ROOT/pages/aws-sqs-sink.adoc index c4f612fe1..0ea5c3a57 100644 --- a/docs/modules/ROOT/pages/aws-sqs-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-sink.adoc @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws- | *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| string| | | *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"` | *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| | +| autoCreateQueue| Autocreate queue| Setting the autocreation of the SQS queue.| boolean| `false`| |=== NOTE: Fields marked with ({empty}*) are mandatory. diff --git a/docs/modules/ROOT/pages/aws-sqs-source.adoc b/docs/modules/ROOT/pages/aws-sqs-source.adoc index a4f2d12ff..55957d81c 100644 --- a/docs/modules/ROOT/pages/aws-sqs-source.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-source.adoc @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws- | *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| string| | | *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"` | *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| | +| autoCreateQueue| Autocreate queue| Setting the autocreation of the SQS queue.| boolean| `false`| | deleteAfterRead| Auto-delete messages| Delete messages after consuming them| boolean| `true`| |=== diff --git a/docs/modules/ROOT/pages/dropbox-source.adoc b/docs/modules/ROOT/pages/dropbox-source.adoc index 3b1d1c5e6..d9ba9924a 100644 --- a/docs/modules/ROOT/pages/dropbox-source.adoc +++ b/docs/modules/ROOT/pages/dropbox-source.adoc @@ -14,8 +14,8 @@ The following table summarizes the configuration options available for the `drop | *accessToken {empty}* *| Dropbox Access Token| The access Token to use to access Dropbox| string| | | *clientIdentifier {empty}* *| The client identifier| Dropbox App client Identifier| string| | | *period {empty}* *| Period between polls| The interval between fetches to the earthquake API in milliseconds| integer| `10000`| +| *query {empty}* *| Querys| A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.| string| | | *remotePath {empty}* *| Remote path| Original file or folder to work with| string| | -| query| Querys| A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.| string| | |=== NOTE: Fields marked with ({empty}*) are mandatory. @@ -44,6 +44,7 @@ spec: properties: accessToken: "The Dropbox Access Token" clientIdentifier: "The The client identifier" + query: "The Querys" remotePath: "The Remote path" sink: ref: