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 4013d9beed8a98c3ea343f93ec3d4717e301e7ab Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Mar 4 11:38:07 2021 +0100 CAMEL-16171 - Add uri-endpoint-override options to all AWS2 components - AWS2-STS component --- .../camel/component/aws2/sts/STS2ComponentConfigurationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-aws2-sts/src/test/java/org/apache/camel/component/aws2/sts/STS2ComponentConfigurationTest.java b/components/camel-aws2-sts/src/test/java/org/apache/camel/component/aws2/sts/STS2ComponentConfigurationTest.java index 0e4885d..92a9789 100644 --- a/components/camel-aws2-sts/src/test/java/org/apache/camel/component/aws2/sts/STS2ComponentConfigurationTest.java +++ b/components/camel-aws2-sts/src/test/java/org/apache/camel/component/aws2/sts/STS2ComponentConfigurationTest.java @@ -69,7 +69,6 @@ public class STS2ComponentConfigurationTest extends CamelTestSupport { assertEquals(Integer.valueOf(9000), endpoint.getConfiguration().getProxyPort()); } - @Test public void createEndpointWithOverride() throws Exception { STS2Component component = context.getComponent("aws2-sts", STS2Component.class); @@ -77,7 +76,8 @@ public class STS2ComponentConfigurationTest extends CamelTestSupport { component.getConfiguration().setSecretKey("YYY"); component.getConfiguration().setRegion(Region.US_WEST_1.toString()); STS2Endpoint endpoint - = (STS2Endpoint) component.createEndpoint("aws2-sts://label?accessKey=xxxxxx&secretKey=yyyyy®ion=US_EAST_1&overrideEndpoint=true&uriEndpointOverride=http://localhost:9090"); + = (STS2Endpoint) component.createEndpoint( + "aws2-sts://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());