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:28 UTC

[camel-kamelets] 02/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 7dc0fafa877c32bfbbbb2d5e1e90c0b5a0bec5d6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 16 12:36:33 2022 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
index ce9439a..2a4587d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/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"