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/16 11:53:27 UTC

[camel-kamelets] 01/04: AWS S3 Kamelets: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose - Source Kamelet

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

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

commit 3a83108bfbe8f23b1f365baf4374bbea166dd0d7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 16 12:34:45 2022 +0100

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

diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml
index ce9439a..2a4587d 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -89,6 +89,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"
@@ -105,5 +116,7 @@ spec:
         deleteAfterRead: "{{deleteAfterRead}}"
         prefix: "{{?prefix}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+        uriEndpointOverride: "{{?uriEndpointOverride}}"
+        overrideEndpoint: "{{overrideEndpoint}}"
       steps:
       - to: "kamelet:sink"