Repository: camel Updated Branches: refs/heads/master c54065a78 -> 79f8ac848
CAMEL-11855: camel-opentracing karaf feature Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/79f8ac84 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/79f8ac84 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/79f8ac84 Branch: refs/heads/master Commit: 79f8ac848d3ff039baf43d988171445e7753df6d Parents: c54065a Author: Claus Ibsen <davscl...@apache.org> Authored: Thu Sep 28 10:02:58 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Thu Sep 28 10:02:58 2017 +0200 ---------------------------------------------------------------------- .../features/src/main/resources/features.xml | 7 +++++ .../camel/itest/karaf/CamelOpentracingTest.java | 33 ++++++++++++++++++++ 2 files changed, 40 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/79f8ac84/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 d7ecb20..ec0468a 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -1614,6 +1614,13 @@ <bundle dependency='true'>mvn:org.pacesys.openstack4j.connectors/openstack4j-okhttp/${openstack4j-version}</bundle> <bundle>mvn:org.apache.camel/camel-openstack/${project.version}</bundle> </feature> + <feature name='camel-opentracing' version='${project.version}' resolver='(obr)' start-level='50'> + <feature version='${project.version}'>camel-core</feature> + <bundle dependency='true'>wrap:mvn:io.opentracing/opentracing-api/${opentracing-version}</bundle> + <bundle dependency='true'>wrap:mvn:io.opentracing/opentracing-noop/${opentracing-version}</bundle> + <bundle dependency='true'>wrap:mvn:io.opentracing.contrib/opentracing-tracerresolver/${opentracing-tracerresolver-version}</bundle> + <bundle>mvn:org.apache.camel/camel-opentracing/${project.version}</bundle> + </feature> <feature name='camel-paho' version='${project.version}' resolver='(obr)' start-level='50'> <feature version='${project.version}'>camel-core</feature> <bundle>mvn:org.eclipse.paho/org.eclipse.paho.client.mqttv3/${paho-version}</bundle> http://git-wip-us.apache.org/repos/asf/camel/blob/79f8ac84/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpentracingTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpentracingTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpentracingTest.java new file mode 100644 index 0000000..8cdaabe --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelOpentracingTest.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 CamelOpentracingTest extends BaseKarafTest { + + public static final String COMPONENT = extractName(CamelOpentracingTest.class); + + @Test + public void test() throws Exception { + installCamelFeature(COMPONENT); + } + +}