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 15c07dafc25be2ec73afc7277e5d0afabda46bad Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Mar 10 15:08:10 2020 +0100 Camel-AWS2-S3: No need to specify client as endpoint option in IT test, since it's already bind in the registry --- .../aws2/s3/integration/S3CopyObjectOperationIntegrationTest.java | 2 +- .../aws2/s3/integration/S3DeleteBucketOperationIntegrationTest.java | 2 +- .../aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java | 2 +- .../aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3CopyObjectOperationIntegrationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3CopyObjectOperationIntegrationTest.java index 3b83e51..a2bd8a5 100644 --- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3CopyObjectOperationIntegrationTest.java +++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3CopyObjectOperationIntegrationTest.java @@ -78,7 +78,7 @@ public class S3CopyObjectOperationIntegrationTest extends CamelTestSupport { return new RouteBuilder() { @Override public void configure() throws Exception { - String awsEndpoint = "aws2-s3://mycamel?amazonS3Client=#amazonS3Client&autoCreateBucket=false"; + String awsEndpoint = "aws2-s3://mycamel?autoCreateBucket=false"; from("direct:putObject").to(awsEndpoint); diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3DeleteBucketOperationIntegrationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3DeleteBucketOperationIntegrationTest.java index f6c11d2..71191c2 100644 --- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3DeleteBucketOperationIntegrationTest.java +++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3DeleteBucketOperationIntegrationTest.java @@ -75,7 +75,7 @@ public class S3DeleteBucketOperationIntegrationTest extends CamelTestSupport { return new RouteBuilder() { @Override public void configure() throws Exception { - String awsEndpoint = "aws2-s3://mycamel2?amazonS3Client=#amazonS3Client&autoCreateBucket=true"; + String awsEndpoint = "aws2-s3://mycamel2?autoCreateBucket=true"; from("direct:listBucket").to(awsEndpoint); diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java index b712ede..ea67658 100644 --- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java +++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ListObjectsOperationIntegrationTest.java @@ -107,7 +107,7 @@ public class S3ListObjectsOperationIntegrationTest extends CamelTestSupport { return new RouteBuilder() { @Override public void configure() throws Exception { - String awsEndpoint = "aws2-s3://mycamel2?amazonS3Client=#amazonS3Client&autoCreateBucket=true"; + String awsEndpoint = "aws2-s3://mycamel2?autoCreateBucket=true"; from("direct:listBucket").to(awsEndpoint); diff --git a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java index 19e9a8e..cb4bf71 100644 --- a/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java +++ b/components/camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/integration/S3ObjectRangeOperationIntegrationTest.java @@ -79,7 +79,7 @@ public class S3ObjectRangeOperationIntegrationTest extends CamelTestSupport { return new RouteBuilder() { @Override public void configure() throws Exception { - String awsEndpoint = "aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=getObjectRange&autoCreateBucket=false"; + String awsEndpoint = "aws2-s3://mycamelbucket?operation=getObjectRange&autoCreateBucket=false"; from("direct:getObjectRange").to(awsEndpoint).process(new Processor() {