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 2019/02/28 13:51:20 UTC

[camel] 10/11: CAMEL-13165 - Added karaf feature ITest

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 c490eeb6b49b5980645d7ef2ef2a6df5d394e2a6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 28 14:24:53 2019 +0100

    CAMEL-13165 - Added karaf feature ITest
---
 .../{CamelAwsTest.java => CamelAwsMskTest.java}    | 23 +++-------------------
 .../org/apache/camel/itest/karaf/CamelAwsTest.java |  1 +
 2 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsMskTest.java
similarity index 51%
copy from tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
copy to tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsMskTest.java
index 3b33692..795ef4c 100644
--- a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsMskTest.java
@@ -21,30 +21,13 @@ import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.junit.PaxExam;
 
 @RunWith(PaxExam.class)
-public class CamelAwsTest extends BaseKarafTest {
+public class CamelAwsMskTest extends BaseKarafTest {
 
-    public static final String COMPONENT = extractName(CamelAwsTest.class);
+    public static final String COMPONENT = extractName(CamelAwsMskTest.class);
 
     @Test
     public void test() throws Exception {
-        testComponent(COMPONENT, "aws-cw");
-        testComponent(COMPONENT, "aws-ddb");
-        testComponent(COMPONENT, "aws-ddbstream");
-        testComponent(COMPONENT, "aws-ec2");
-        testComponent(COMPONENT, "aws-ecs");
-        testComponent(COMPONENT, "aws-eks");
-        testComponent(COMPONENT, "aws-iam");
-        testComponent(COMPONENT, "aws-kinesis");
-        testComponent(COMPONENT, "aws-kinesis-firehose");
-        testComponent(COMPONENT, "aws-kms");
-        testComponent(COMPONENT, "aws-lambda");
-        testComponent(COMPONENT, "aws-mq");
-        testComponent(COMPONENT, "aws-s3");
-        testComponent(COMPONENT, "aws-sdb");
-        testComponent(COMPONENT, "aws-ses");
-        testComponent(COMPONENT, "aws-sns");
-        testComponent(COMPONENT, "aws-sqs");
-        testComponent(COMPONENT, "aws-swf");
+    	testComponent(COMPONENT);
     }
 
 }
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
index 3b33692..71d55f5 100644
--- a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsTest.java
@@ -39,6 +39,7 @@ public class CamelAwsTest extends BaseKarafTest {
         testComponent(COMPONENT, "aws-kms");
         testComponent(COMPONENT, "aws-lambda");
         testComponent(COMPONENT, "aws-mq");
+        testComponent(COMPONENT, "aws-msk");
         testComponent(COMPONENT, "aws-s3");
         testComponent(COMPONENT, "aws-sdb");
         testComponent(COMPONENT, "aws-ses");