Repository: camel Updated Branches: refs/heads/master e5a1e9a46 -> 2c826fe40
CAMEL-11790: add camel-headersmap to karaf features Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2c826fe4 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2c826fe4 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2c826fe4 Branch: refs/heads/master Commit: 2c826fe40696bbcd1e4e01d9e74847b576258764 Parents: e5a1e9a Author: Claus Ibsen <davscl...@apache.org> Authored: Wed Sep 27 09:42:10 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Wed Sep 27 09:42:10 2017 +0200 ---------------------------------------------------------------------- .../features/src/main/resources/features.xml | 5 +++ .../camel/itest/karaf/CamelHeadersmapTest.java | 33 ++++++++++++++++++++ 2 files changed, 38 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/2c826fe4/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 ca37e39..59f648c 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -908,6 +908,11 @@ <bundle>mvn:org.apache.camel/camel-hdfs2/${project.version}</bundle> <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hadoop-client/${hadoop2-bundle-version}</bundle> </feature> + <feature name='camel-headersmap' version='${project.version}' resolver='(obr)' start-level='50'> + <feature version='${project.version}'>camel-core</feature> + <bundle dependency='true'>wrap:mvn:com.cedarsoftware/java-util/${java-util-version}</bundle> + <bundle>mvn:org.apache.camel/camel-headersmap/${project.version}</bundle> + </feature> <feature name='camel-hipchat' version='${project.version}' resolver='(obr)' start-level='50'> <feature version='${project.version}'>camel-core</feature> <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle> http://git-wip-us.apache.org/repos/asf/camel/blob/2c826fe4/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelHeadersmapTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelHeadersmapTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelHeadersmapTest.java new file mode 100644 index 0000000..7602286 --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelHeadersmapTest.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 CamelHeadersmapTest extends BaseKarafTest { + + public static final String COMPONENT = extractName(CamelHeadersmapTest.class); + + @Test + public void test() throws Exception { + installCamelFeature(COMPONENT); + } + +}