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:34:06 UTC

[camel-kamelets] 02/02: AWS S3 Streaming Upload 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 s3-streaming-upload
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 37bd99cd5805589b00c3987aafeff1b610bfa837
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 17 11:32:41 2022 +0100

    AWS S3 Streaming Upload Kamelet: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose
---
 .../kamelets/aws-s3-streaming-upload-sink.kamelet.yaml     | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index 673ba2f..d97e6ac 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -116,6 +116,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-s3"
     - "camel:kamelet"
@@ -138,4 +149,5 @@ spec:
             keyName: "{{keyName}}"
             streamingUploadTimeout: "{{?streamingUploadTimeout}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
-
+            uriEndpointOverride: "{{?uriEndpointOverride}}"
+            overrideEndpoint: "{{overrideEndpoint}}"