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/29 08:58:21 UTC

[camel-kamelets] 01/02: AWS DynamoDB Streams: 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 test-ddb-streams
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 4f24b7ec437879af403def562dedce375d8d51a0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 29 10:56:30 2022 +0200

    AWS DynamoDB Streams: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose
---
 kamelets/aws-ddb-streams-source.kamelet.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/kamelets/aws-ddb-streams-source.kamelet.yaml b/kamelets/aws-ddb-streams-source.kamelet.yaml
index f7969d1..56991d1 100644
--- a/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -84,6 +84,17 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      uriEndpointOverride:
+        title: Overwrite 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
   types:
     out:
       mediaType: application/json
@@ -101,6 +112,8 @@ spec:
         iteratorType: "{{iteratorType}}"
         sequenceNumberProvider: "{{sequenceNumberProvider}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+        uriEndpointOverride: "{{?uriEndpointOverride}}"
+        overrideEndpoint: "{{overrideEndpoint}}"
       steps:
       - marshal:
           json: