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 2016/11/02 12:22:19 UTC

camel git commit: CAMEL-10437 - Add camel-grape Karaf feature

Repository: camel
Updated Branches:
  refs/heads/master b63057a13 -> 7f3c57e2f


CAMEL-10437 - Add camel-grape Karaf feature


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7f3c57e2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7f3c57e2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7f3c57e2

Branch: refs/heads/master
Commit: 7f3c57e2fa1442e76448efd83f451ee846467acc
Parents: b63057a
Author: Andrea Cosentino <an...@gmail.com>
Authored: Wed Nov 2 13:20:43 2016 +0100
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Nov 2 13:20:43 2016 +0100

----------------------------------------------------------------------
 .../features/src/main/resources/features.xml    |  7 +++++
 .../camel/itest/karaf/CamelGrapeTest.java       | 33 ++++++++++++++++++++
 2 files changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7f3c57e2/platforms/karaf/features/src/main/resources/features.xml
----------------------------------------------------------------------
diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index b55017f..d44e6dc 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -648,6 +648,13 @@
     <bundle dependency='true'>wrap:mvn:com.google.oauth-client/google-oauth-client-jetty/${google-api-client-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-google-mail/${project.version}</bundle>
   </feature>
+  <feature name='camel-grape' version='${project.version}' resolver='(obr)' start-level='50'>
+    <feature version='${project.version}'>camel-core</feature>
+    <bundle dependency='true'>mvn:org.codehaus.groovy/groovy-all/${groovy-version}</bundle>
+    <bundle dependency='true'>mvn:commons-io/commons-io/${commons-io-version}</bundle>
+    <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-groovy' version='${project.version}' resolver='(obr)' 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>    

http://git-wip-us.apache.org/repos/asf/camel/blob/7f3c57e2/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGrapeTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGrapeTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGrapeTest.java
new file mode 100644
index 0000000..8112ec2
--- /dev/null
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelGrapeTest.java
@@ -0,0 +1,33 @@
+/**
+ * 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 CamelGrapeTest extends BaseKarafTest {
+
+    public static final String COMPONENT = extractName(CamelGrapeTest.class);
+
+    @Test
+    public void test() throws Exception {
+        testComponent(COMPONENT);
+    }
+
+}
\ No newline at end of file