You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2014/12/02 11:27:53 UTC
camel git commit: CAMEL-8090: Add karaf feature for camel-splunk
Repository: camel
Updated Branches:
refs/heads/master 01056c16e -> 4b3343dcc
CAMEL-8090: Add karaf feature for camel-splunk
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4b3343dc
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4b3343dc
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4b3343dc
Branch: refs/heads/master
Commit: 4b3343dcc3219651c2a2a0563264a8548bb7dab9
Parents: 01056c1
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Dec 2 11:27:42 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Dec 2 11:27:42 2014 +0100
----------------------------------------------------------------------
.../features/src/main/resources/features.xml | 6 +++
.../camel/itest/karaf/CamelChunkTest.java | 40 ++++++++++++++++++++
2 files changed, 46 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/4b3343dc/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 f1f1255..e665774 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -228,6 +228,12 @@
<bundle>mvn:org.apache.camel/camel-cdi/${project.version}</bundle>
</feature>
-->
+ <feature name='camel-chunk' version='${project.version}' resolver='(obr)' start-level='50'>
+ <feature version='${project.version}'>camel-core</feature>
+ <bundle dependency='true'>mvn:commons-io/commons-io/${commons-io-version}</bundle>
+ <bundle dependency='true'>wrap:mvn:com.x5dev/chunk-templates/${chunk-templates-version}</bundle>
+ <bundle>mvn:org.apache.camel/camel-chunk/${project.version}</bundle>
+ </feature>
<feature name='camel-cmis' version='${project.version}' resolver='(obr)' start-level='50'>
<feature version='${project.version}'>camel-core</feature>
<feature version='${cxf-version-range}'>cxf-specs</feature>
http://git-wip-us.apache.org/repos/asf/camel/blob/4b3343dc/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChunkTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChunkTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChunkTest.java
new file mode 100644
index 0000000..827181e
--- /dev/null
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelChunkTest.java
@@ -0,0 +1,40 @@
+/**
+ * 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.Configuration;
+import org.ops4j.pax.exam.Option;
+import org.ops4j.pax.exam.junit.PaxExam;
+
+@RunWith(PaxExam.class)
+public class CamelChunkTest extends AbstractFeatureTest {
+
+ public static final String COMPONENT = extractName(CamelChunkTest.class);
+
+ @Test
+ public void test() throws Exception {
+ testComponent(COMPONENT);
+ }
+
+ @Configuration
+ public static Option[] configure() {
+ return configure(COMPONENT);
+ }
+
+}
\ No newline at end of file