This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch aws2-msk in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 0a370c283f6f6719cdb157c47e7ea07ee9d0dd65 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Jun 19 11:31:36 2020 +0200 AWS2-MSK: added integration test --- integration-tests/aws2/pom.xml | 4 ++++ .../main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java | 4 ++++ integration-tests/aws2/src/main/resources/application.properties | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/integration-tests/aws2/pom.xml b/integration-tests/aws2/pom.xml index d658d46..d7146f3 100644 --- a/integration-tests/aws2/pom.xml +++ b/integration-tests/aws2/pom.xml @@ -74,6 +74,10 @@ </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-aws2-msk</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-aws2-s3</artifactId> </dependency> <dependency> diff --git a/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java b/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java index 0be1ec8..21667db 100644 --- a/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java +++ b/integration-tests/aws2/src/main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java @@ -81,6 +81,10 @@ public class CamelRoute extends RouteBuilder { from("timer:quarkus-mq?repeatCount=1") .to("aws2-mq://test?operation=listBrokers") .to("log:sf?showAll=true"); + + from("timer:quarkus-msk?repeatCount=1") + .to("aws2-msk://cluster?operation=listClusters") + .to("log:sf?showAll=true"); } } diff --git a/integration-tests/aws2/src/main/resources/application.properties b/integration-tests/aws2/src/main/resources/application.properties index bb2731a..f42c753 100644 --- a/integration-tests/aws2/src/main/resources/application.properties +++ b/integration-tests/aws2/src/main/resources/application.properties @@ -62,6 +62,10 @@ camel.component.aws2-kms.access-key={{env:AWS_ACCESS_KEY}} camel.component.aws2-kms.secret-key={{env:AWS_SECRET_KEY}} camel.component.aws2-kms.region={{env:AWS_REGION}} +camel.component.aws2-msk.access-key={{env:AWS_ACCESS_KEY}} +camel.component.aws2-msk.secret-key={{env:AWS_SECRET_KEY}} +camel.component.aws2-msk.region={{env:AWS_REGION}} + camel.component.aws2-mq.access-key={{env:AWS_ACCESS_KEY}} camel.component.aws2-mq.secret-key={{env:AWS_SECRET_KEY}} camel.component.aws2-mq.region={{env:AWS_REGION}}