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/10/23 12:04:25 UTC

[camel] branch master updated (a226eea -> 5f4b5b7)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from a226eea  Upgrade Box Java to version 2.39.0
     new 6713b7d  CAMEL-14102 - Create a Camel-graphql Karaf feature
     new f597188  CAMEL-14103 - Camel-Graphql: Add Karaf and Spring Boot integration test, karaf itest
     new 5f4b5b7  CAMEL-14103 - Camel-Graphql: Add Karaf and Spring Boot integration test, Spring Boot itest

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 platforms/karaf/features/src/main/resources/features.xml           | 6 ++++++
 .../itest/karaf/{CamelGrapeTest.java => CamelGraphqlTest.java}     | 7 ++++---
 .../springboot/{CamelCouchdbTest.java => CamelGraphqlTest.java}    | 4 ++--
 3 files changed, 12 insertions(+), 5 deletions(-)
 copy tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/{CamelGrapeTest.java => CamelGraphqlTest.java} (93%)
 copy tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/{CamelCouchdbTest.java => CamelGraphqlTest.java} (92%)


[camel] 01/03: CAMEL-14102 - Create a Camel-graphql Karaf feature

Posted by ac...@apache.org.
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 6713b7d891e65cae275bfb3b2b1dfff81c39e066
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 23 14:00:05 2019 +0200

    CAMEL-14102 - Create a Camel-graphql Karaf feature
---
 platforms/karaf/features/src/main/resources/features.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index 1c57f0c..3bf8747 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -1167,6 +1167,12 @@
     <bundle dependency='true'>mvn:org.apache.commons/commons-lang3/${commons-lang3-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-grape/${project.version}</bundle>
   </feature>
+  <feature name='camel-graphql' version='${project.version}' start-level='50'>
+    <feature version='${project.version}'>camel-core</feature>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle>
+    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient4-version}</bundle>
+    <bundle>mvn:org.apache.camel/camel-graphql/${project.version}</bundle>
+  </feature>
   <feature name='camel-groovy' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/${ant-bundle-version}</bundle>


[camel] 02/03: CAMEL-14103 - Camel-Graphql: Add Karaf and Spring Boot integration test, karaf itest

Posted by ac...@apache.org.
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 f597188ffb88ef0bc18d53dd9e325c6d7ba949e6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 23 14:02:48 2019 +0200

    CAMEL-14103 - Camel-Graphql: Add Karaf and Spring Boot integration test, karaf itest
---
 .../apache/camel/itest/karaf/CamelGraphqlTest.java | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGraphqlTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGraphqlTest.java
new file mode 100644
index 0000000..445cef3
--- /dev/null
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGraphqlTest.java
@@ -0,0 +1,34 @@
+/*
+ * 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.
+ */
+package org.apache.camel.itest.karaf;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.junit.PaxExam;
+
+@RunWith(PaxExam.class)
+public class CamelGraphqlTest extends BaseKarafTest {
+
+    public static final String COMPONENT = extractName(CamelGraphqlTest.class);
+
+    @Test
+    public void test() throws Exception {
+        testComponent(COMPONENT);
+    }
+
+
+}


[camel] 03/03: CAMEL-14103 - Camel-Graphql: Add Karaf and Spring Boot integration test, Spring Boot itest

Posted by ac...@apache.org.
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 5f4b5b73427841d805b3bbc7933fbf8aa2c94be1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 23 14:03:22 2019 +0200

    CAMEL-14103 - Camel-Graphql: Add Karaf and Spring Boot integration test, Spring Boot itest
---
 .../camel/itest/springboot/CamelGraphqlTest.java   | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGraphqlTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGraphqlTest.java
new file mode 100644
index 0000000..c74a784
--- /dev/null
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGraphqlTest.java
@@ -0,0 +1,48 @@
+/*
+ * 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.
+ */
+package org.apache.camel.itest.springboot;
+
+import org.apache.camel.itest.springboot.util.ArquillianPackager;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.shrinkwrap.api.Archive;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+
+@RunWith(Arquillian.class)
+public class CamelGraphqlTest extends AbstractSpringBootTestSupport {
+
+    @Deployment
+    public static Archive<?> createSpringBootPackage() throws Exception {
+        return ArquillianPackager.springBootPackage(createTestConfig());
+    }
+
+    public static ITestConfig createTestConfig() {
+        return new ITestConfigBuilder()
+                .module(inferModuleName(CamelGraphqlTest.class))
+                .build();
+    }
+
+    @Test
+    public void componentTests() throws Exception {
+        this.runComponentTest(config);
+        this.runModuleUnitTestsIfEnabled(config);
+    }
+
+
+}