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 a28e830d4af48eda104f5322de9aab0ee4b70bed Author: Andrea Cosentino <[email protected]> AuthorDate: Fri Mar 6 08:33:43 2020 +0100 CAMEL-14555 - Create an AWS-S3 component based on SDK v2, removed not used Spring xml test file --- .../src/main/docs/aws2-s3-component.adoc | 6 ++- .../aws2/s3/S3ComponentSpringTest-context.xml | 63 ---------------------- 2 files changed, 4 insertions(+), 65 deletions(-) diff --git a/components/camel-aws2-s3/src/main/docs/aws2-s3-component.adoc b/components/camel-aws2-s3/src/main/docs/aws2-s3-component.adoc index 1eff0a4..e7f3102 100644 --- a/components/camel-aws2-s3/src/main/docs/aws2-s3-component.adoc +++ b/components/camel-aws2-s3/src/main/docs/aws2-s3-component.adoc @@ -1,6 +1,8 @@ +[[aws2-s3-component]] = AWS2 S3 Storage Service Component -*Since Camel 2.8* +*Since Camel 3.2* + *Since Camel 3.2* @@ -523,4 +525,4 @@ Maven users will need to add the following dependency to their pom.xml. where `$\{camel-version\}` must be replaced by the actual version of Camel. -include::camel-spring-boot::page$aws-s3-starter.adoc[] +include::camel-spring-boot::page$aws-s3-starter.adoc[] \ No newline at end of file diff --git a/components/camel-aws2-s3/src/test/resources/org/apache/camel/component/aws2/s3/S3ComponentSpringTest-context.xml b/components/camel-aws2-s3/src/test/resources/org/apache/camel/component/aws2/s3/S3ComponentSpringTest-context.xml deleted file mode 100644 index 4bf7ba6..0000000 --- a/components/camel-aws2-s3/src/test/resources/org/apache/camel/component/aws2/s3/S3ComponentSpringTest-context.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> - <route> - <from uri="direct:start"/> - <to uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client"/> - </route> - <route> - <from uri="direct:copyObject"/> - <to uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=copyObject"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="direct:listBuckets"/> - <to uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=listBuckets"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="direct:deleteObject"/> - <to uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=deleteObject"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="direct:downloadLink"/> - <to uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=downloadLink"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="direct:listObjects"/> - <to uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=listObjects"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&maxMessagesPerPoll=5"/> - <to uri="mock:result"/> - </route> - </camelContext> - - <bean id="amazonS3Client" class="org.apache.camel.component.aws2.s3.AmazonS3ClientMock"/> -</beans> \ No newline at end of file
