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:28 UTC
[camel-kamelets] 04/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 365c808b6a8f536a2c35dc9f3a56ffc001ee977a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 25 14:30:18 2022 +0100
AWS Kinesis Kamelets: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose - Source
---
.../main/resources/kamelets/aws-kinesis-source.kamelet.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
index 7988322..01f2640 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/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()}"