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 11:26:49 UTC
[camel-kamelets] 02/08: AWS SQS Kamelets: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose - SQS Sink
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch sqs-optional-params
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit cb420cae20c8c8e58a9743aef649e5d666f65d56
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 17 11:59:36 2022 +0100
AWS SQS Kamelets: Introduce optional overrideEndpoint and uriEndpointOverride for testing purpose - SQS Sink
---
.../main/resources/kamelets/aws-sqs-sink.kamelet.yaml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml
index 42e0688..80ecdbf 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml
@@ -77,6 +77,7 @@ spec:
title: AWS Host
description: The hostname of the Amazon AWS cloud.
type: string
+ default: amazonaws.com
protocol:
title: Protocol
description: The underlying protocol used to communicate with SQS
@@ -89,6 +90,17 @@ spec:
type: boolean
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-sqs"
@@ -106,4 +118,6 @@ spec:
region: "{{region}}"
amazonAWSHost: "{{?amazonAWSHost}}"
protocol: "{{?protocol}}"
- useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+ uriEndpointOverride: "{{?uriEndpointOverride}}"
+ overrideEndpoint: "{{overrideEndpoint}}"