You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/17 11:26:50 UTC

[camel-kamelets] 03/08: AWS SQS Kamelets: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose - SQS Source

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

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

commit 6d87eb94e91e8ef5dac90e56e643f2fe3c1a2e2c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 17 12:12:29 2022 +0100

    AWS SQS Kamelets: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose - SQS Source
---
 kamelets/aws-sqs-source.kamelet.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/kamelets/aws-sqs-source.kamelet.yaml b/kamelets/aws-sqs-source.kamelet.yaml
index 3eb688b..f660802 100644
--- a/kamelets/aws-sqs-source.kamelet.yaml
+++ b/kamelets/aws-sqs-source.kamelet.yaml
@@ -92,6 +92,7 @@ spec:
         title: AWS Host
         description: The hostname of the Amazon AWS cloud. 
         type: string
+        default: amazonaws.com
       protocol:
         title: Protocol
         description: The underlying protocol used to communicate with SQS
@@ -112,6 +113,17 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      uriEndpointOverride:
+        title: Overwritte Endpoint URI
+        description: Set the overriding endpoint URI. This option needs to be used in combination with overrideEndpoint option.
+        type: string
+      overrideEndpoint:
+        title: Endpoint Overwrite
+        description: Set the need for overiding the endpoint URI. This option needs to be used in combination with uriEndpointOverride setting.
+        type: boolean
+        x-descriptors:
+          - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false    
   dependencies:
     - "camel:aws2-sqs"
     - "camel:kamelet"
@@ -127,5 +139,7 @@ spec:
         amazonAWSHost: "{{?amazonAWSHost}}"
         protocol: "{{?protocol}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+        uriEndpointOverride: "{{?uriEndpointOverride}}"
+        overrideEndpoint: "{{overrideEndpoint}}"  
       steps:
       - to: "kamelet:sink"