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/25 13:31:27 UTC

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

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

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

commit 4df19fdc3bee91285e07ff8f1c9123f29cad241a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 25 14:29:38 2022 +0100

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

diff --git a/kamelets/aws-kinesis-source.kamelet.yaml b/kamelets/aws-kinesis-source.kamelet.yaml
index 7988322..01f2640 100644
--- a/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/kamelets/aws-kinesis-source.kamelet.yaml
@@ -73,6 +73,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/octet-stream
@@ -88,6 +99,8 @@ spec:
         accessKey: "{{?accessKey}}"
         region: "{{region}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+        uriEndpointOverride: "{{?uriEndpointOverride}}"
+        overrideEndpoint: "{{overrideEndpoint}}"
       steps:
       - set-body:
           simple: "${body.data().asInputStream()}"