This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


The following commit(s) were added to refs/heads/main by this push:
     new 481703c  Added amazonAWSHost and protocol optional parameters to 
aws-sqs-* kamelets.
481703c is described below

commit 481703c7a329bb83a7e7e7789811b7b7eaaacada
Author: Andrea Tarocchi <andrea.taroc...@gmail.com>
AuthorDate: Thu Sep 16 21:47:26 2021 +0200

    Added amazonAWSHost and protocol optional parameters to aws-sqs-* kamelets.
---
 aws-sqs-batch-sink.kamelet.yaml | 14 +++++++++++++-
 aws-sqs-fifo-sink.kamelet.yaml  | 12 ++++++++++++
 aws-sqs-sink.kamelet.yaml       | 12 ++++++++++++
 aws-sqs-source.kamelet.yaml     | 12 ++++++++++++
 4 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/aws-sqs-batch-sink.kamelet.yaml b/aws-sqs-batch-sink.kamelet.yaml
index 60ace26..fbe1b77 100644
--- a/aws-sqs-batch-sink.kamelet.yaml
+++ b/aws-sqs-batch-sink.kamelet.yaml
@@ -58,6 +58,16 @@ spec:
         description: The batch separator string
         type: string
         example: ","
+      amazonAWSHost:
+        title: AWS Host
+        description: The hostname of the Amazon AWS cloud. 
+        type: string
+      protocol:
+        title: Protocol
+        description: The underlying protocol used to communicate with SQS
+        type: string
+        example: http or https
+        default: https        
   dependencies:
     - "camel:aws2-sqs"
     - "camel:kamelet"
@@ -73,4 +83,6 @@ spec:
             secretKey: "{{secretKey}}"
             region: "{{region}}"
             batchSeparator: "{{batchSeparator}}"
-            operation: "sendBatchMessage" 
+            operation: "sendBatchMessage"
+            amazonAWSHost: "{{?amazonAWSHost}}"
+            protocol: "{{?protocol}}"            
diff --git a/aws-sqs-fifo-sink.kamelet.yaml b/aws-sqs-fifo-sink.kamelet.yaml
index 9b1580f..85072b4 100644
--- a/aws-sqs-fifo-sink.kamelet.yaml
+++ b/aws-sqs-fifo-sink.kamelet.yaml
@@ -58,6 +58,16 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      amazonAWSHost:
+        title: AWS Host
+        description: The hostname of the Amazon AWS cloud. 
+        type: string
+      protocol:
+        title: Protocol
+        description: The underlying protocol used to communicate with SQS
+        type: string
+        example: http or https
+        default: https  
   dependencies:
   - "camel:aws2-sqs"
   - "camel:core"
@@ -110,3 +120,5 @@ spec:
                   region: "{{region}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useExchangeId"
+                  amazonAWSHost: "{{?amazonAWSHost}}"
+                  protocol: "{{?protocol}}"
diff --git a/aws-sqs-sink.kamelet.yaml b/aws-sqs-sink.kamelet.yaml
index 6c6e3e5..a799941 100644
--- a/aws-sqs-sink.kamelet.yaml
+++ b/aws-sqs-sink.kamelet.yaml
@@ -52,6 +52,16 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      amazonAWSHost:
+        title: AWS Host
+        description: The hostname of the Amazon AWS cloud. 
+        type: string
+      protocol:
+        title: Protocol
+        description: The underlying protocol used to communicate with SQS
+        type: string
+        example: http or https
+        default: https  
   dependencies:
     - "camel:aws2-sqs"
     - "camel:kamelet"
@@ -66,3 +76,5 @@ spec:
             accessKey: "{{accessKey}}"
             secretKey: "{{secretKey}}"
             region: "{{region}}"
+            amazonAWSHost: "{{?amazonAWSHost}}"
+            protocol: "{{?protocol}}"            
diff --git a/aws-sqs-source.kamelet.yaml b/aws-sqs-source.kamelet.yaml
index 0cc4742..0ae8078 100644
--- a/aws-sqs-source.kamelet.yaml
+++ b/aws-sqs-source.kamelet.yaml
@@ -59,6 +59,16 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      amazonAWSHost:
+        title: AWS Host
+        description: The hostname of the Amazon AWS cloud. 
+        type: string
+      protocol:
+        title: Protocol
+        description: The underlying protocol used to communicate with SQS
+        type: string
+        example: http or https
+        default: https
   dependencies:
     - "camel:aws2-sqs"
     - "camel:kamelet"
@@ -71,5 +81,7 @@ spec:
         accessKey: "{{accessKey}}"
         region: "{{region}}"
         deleteAfterRead: "{{deleteAfterRead}}"
+        amazonAWSHost: "{{?amazonAWSHost}}"
+        protocol: "{{?protocol}}"
       steps:
       - to: "kamelet:sink"

Reply via email to