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 2021/03/01 14:04:24 UTC
[camel] 05/06: CAMEL-16171 - Add uri-endpoint-override options to
all AWS2 components - AWS2-IAM component
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 406d489d0995d135f02e8c3e4a8afcb00112e13e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 1 14:50:11 2021 +0100
CAMEL-16171 - Add uri-endpoint-override options to all AWS2 components - AWS2-IAM component
---
.../apache/camel/component/aws2/iam/IAMComponentConfigurationTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentConfigurationTest.java b/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentConfigurationTest.java
index b8bef5c..ecc907a 100644
--- a/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentConfigurationTest.java
+++ b/components/camel-aws2-iam/src/test/java/org/apache/camel/component/aws2/iam/IAMComponentConfigurationTest.java
@@ -73,7 +73,8 @@ public class IAMComponentConfigurationTest extends CamelTestSupport {
public void createEndpointWithOverrideEndpoint() throws Exception {
IAM2Component component = context.getComponent("aws2-iam", IAM2Component.class);
IAM2Endpoint endpoint
- = (IAM2Endpoint) component.createEndpoint("aws2-iam://label?accessKey=xxxxxx&secretKey=yyyyy®ion=US_EAST_1overrideEndpoint=true&uriEndpointOverride=http://localhost:9090");
+ = (IAM2Endpoint) component.createEndpoint(
+ "aws2-iam://label?accessKey=xxxxxx&secretKey=yyyyy®ion=US_EAST_1&overrideEndpoint=true&uriEndpointOverride=http://localhost:9090");
assertEquals("xxxxxx", endpoint.getConfiguration().getAccessKey());
assertEquals("yyyyy", endpoint.getConfiguration().getSecretKey());