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 2020/06/10 09:30:21 UTC
[camel-quarkus] 02/02: AWS2-ECS extensions: Regen and fixed CS
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch aws2-ecs
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit c29ca08d8eeb1487049bea0a7e295fdf10545391
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jun 10 11:29:17 2020 +0200
AWS2-ECS extensions: Regen and fixed CS
---
.../runtime/src/main/resources/META-INF/quarkus-extension.yaml | 2 --
.../main/java/org/apache/camel/quarkus/component/aws2/CamelRoute.java | 4 ++++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/extensions/aws2-ecs/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions/aws2-ecs/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index d5b2e9c..31dba43 100644
--- a/extensions/aws2-ecs/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/extensions/aws2-ecs/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -24,8 +24,6 @@
name: "Camel AWS 2 ECS"
description: "Manage AWS ECS cluster instances using AWS SDK version 2.x"
metadata:
- unlisted: true
guide: "https://camel.apache.org/camel-quarkus/latest/extensions/aws2-ecs.html"
categories:
- "integration"
- status: "preview"
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 6e44158..555dfb5 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
@@ -60,6 +60,10 @@ public class CamelRoute extends RouteBuilder {
.setBody(constant("Ciao"))
.to("aws2-translate://cluster?operation=translateText")
.log("Translation: ${body}");
+
+ from("timer:quarkus-ecs?repeatCount=1")
+ .to("aws2-ecs://cluster?operation=listClusters")
+ .to("log:sf?showAll=true");
}
}