Repository: camel
Updated Branches:
  refs/heads/master f0376e360 -> d51b48dd3


CAMEL-11849: camel-crypto-cms karaf feature


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

Branch: refs/heads/master
Commit: d51b48dd3bba0f021001cdd2d7feb0f235222a31
Parents: f0376e3
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Sep 27 13:25:23 2017 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Sep 27 13:25:23 2017 +0200

----------------------------------------------------------------------
 .../features/src/main/resources/features.xml    |  8 +++++
 .../camel/itest/karaf/CamelCryptoCmsTest.java   | 33 ++++++++++++++++++++
 2 files changed, 41 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d51b48dd/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 59f648c..ed50226 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -437,6 +437,14 @@
     <bundle 
dependency='true'>mvn:org.bouncycastle/bcprov-jdk15on/${bouncycastle-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-crypto/${project.version}</bundle>
   </feature>
+  <feature name='camel-crypto-cms' version='${project.version}' 
resolver='(obr)' start-level='50'>
+    <feature version='${project.version}'>camel-core</feature>
+    <bundle 
dependency='true'>mvn:commons-codec/commons-codec/${commons-codec-version}</bundle>
+    <bundle 
dependency='true'>mvn:commons-io/commons-io/${commons-io-version}</bundle>
+    <bundle 
dependency='true'>mvn:org.bouncycastle/bcpkix-jdk15on/${bouncycastle-version}</bundle>
+    <bundle 
dependency='true'>mvn:org.bouncycastle/bcprov-jdk15on/${bouncycastle-version}</bundle>
+    <bundle>mvn:org.apache.camel/camel-crypto-cms/${project.version}</bundle>
+  </feature>
   <feature name='camel-csv' version='${project.version}' resolver='(obr)' 
start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <bundle 
dependency='true'>mvn:org.apache.commons/commons-csv/${commons-csv-version}</bundle>

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

Reply via email to