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 10:24:16 UTC

[camel-kamelets] 02/02: AWS SNS FIFO Kamelet: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose

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

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

commit f4a1b998a7e3e8ab7c7fcdf1feccc4f2ae8436e7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 17 11:23:28 2022 +0100

    AWS SNS FIFO Kamelet: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose
---
 .../resources/kamelets/aws-sns-fifo-sink.kamelet.yaml     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
index c49d68b..70f8e3d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
@@ -91,6 +91,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-sns"
   - "camel:core"
@@ -145,6 +156,8 @@ spec:
                   useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useContentBasedDeduplication"
+                  uriEndpointOverride: "{{?uriEndpointOverride}}"
+                  overrideEndpoint: "{{overrideEndpoint}}"
           otherwise:
             steps:
             - to:
@@ -157,3 +170,5 @@ spec:
                   useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useExchangeId"
+                  uriEndpointOverride: "{{?uriEndpointOverride}}"
+                  overrideEndpoint: "{{overrideEndpoint}}"