Repository: camel Updated Branches: refs/heads/master 6540a69cf -> 9e4cf3952
Fixed Camel-Influxdb Karaf feature and added Karaf Integration test Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9e4cf395 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9e4cf395 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9e4cf395 Branch: refs/heads/master Commit: 9e4cf395222782989fb6dca861024c830b519d20 Parents: 6540a69 Author: Andrea Cosentino <anco...@gmail.com> Authored: Fri Jul 15 09:53:46 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Fri Jul 15 09:54:10 2016 +0200 ---------------------------------------------------------------------- .../features/src/main/resources/features.xml | 4 +-- .../camel/itest/karaf/CamelInfluxdbTest.java | 35 ++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/9e4cf395/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 c960122..f125746 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -810,8 +810,8 @@ </feature> <feature name='camel-influxdb' version='${project.version}' resolver='(obr)' start-level='50'> <details>The camel-influxdb feature requires Java 8</details> - <bundle dependency='true'>mvn:org.influxdb/influxdb-java/${influx-java-driver-version}</bundle> - <feature version='${project.influxdb}'>camel-core</feature> + <bundle dependency='true'>wrap:mvn:org.influxdb/influxdb-java/${influx-java-driver-version}</bundle> + <feature version='${project.version}'>camel-core</feature> <bundle>mvn:org.apache.camel/camel-influxdb/${project.version}</bundle> </feature> <feature name='camel-irc' version='${project.version}' resolver='(obr)' start-level='50'> http://git-wip-us.apache.org/repos/asf/camel/blob/9e4cf395/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelInfluxdbTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelInfluxdbTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelInfluxdbTest.java new file mode 100644 index 0000000..bfb927f --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelInfluxdbTest.java @@ -0,0 +1,35 @@ +/** + * 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 CamelInfluxdbTest extends BaseKarafTest { + + public static final String COMPONENT = "influxdb"; + + @Test + public void test() throws Exception { + testComponent(COMPONENT); + } + + +}