camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: Add camel-master karaf feature
Date Thu, 28 Sep 2017 07:10:49 GMT
Repository: camel
Updated Branches:
  refs/heads/master dec7238a6 -> 20de42cfa


Add camel-master karaf feature


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

Branch: refs/heads/master
Commit: ad670ec5cd7ace3085600bdc2c884c9c8cb602be
Parents: dec7238
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Sep 28 09:07:51 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Sep 28 09:07:51 2017 +0200

----------------------------------------------------------------------
 .../features/src/main/resources/features.xml    |  4 +++
 .../camel/itest/karaf/CamelMasterTest.java      | 33 ++++++++++++++++++++
 2 files changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ad670ec5/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 2748419..d7ecb20 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -1402,6 +1402,10 @@
     <bundle dependency='true'>mvn:com.sun.mail/javax.mail/${javax-mail-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-mail/${project.version}</bundle>
   </feature>
+  <feature name='camel-master' version='${project.version}' resolver='(obr)' start-level='50'>
+    <feature version='${project.version}'>camel-core</feature>
+    <bundle>mvn:org.apache.camel/camel-master/${project.version}</bundle>
+  </feature>
   <feature name='camel-metrics' version='${project.version}' resolver='(obr)' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <bundle dependency='true'>mvn:io.dropwizard.metrics/metrics-core/${metrics-version}</bundle>

http://git-wip-us.apache.org/repos/asf/camel/blob/ad670ec5/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMasterTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMasterTest.java
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMasterTest.java
new file mode 100644
index 0000000..af427a2
--- /dev/null
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMasterTest.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 CamelMasterTest extends BaseKarafTest {
+
+    public static final String COMPONENT = extractName(CamelMasterTest.class);
+
+    @Test
+    public void test() throws Exception {
+        testComponent(COMPONENT);
+    }
+
+}


Mime
View raw message