This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 987c8c2 CAMEL-12054 - Camel-AWS Xray: Create the related Karaf feature
987c8c2 is described below
commit 987c8c2833e1fdd385f213176eb5b9a42ad76e75
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Dec 5 10:31:45 2017 +0100
CAMEL-12054 - Camel-AWS Xray: Create the related Karaf feature
---
.../karaf/features/src/main/resources/features.xml | 10 +++++++
.../apache/camel/itest/karaf/CamelAwsXrayTest.java | 33 ++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/platforms/karaf/features/src/main/resources/features.xml
b/platforms/karaf/features/src/main/resources/features.xml
index e5a01e2..9415ca1 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -186,6 +186,16 @@
<bundle
dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk/${aws-java-sdk-bundle-version}</bundle>
<bundle>mvn:org.apache.camel/camel-aws/${project.version}</bundle>
</feature>
+ <feature name='camel-aws-xray' version='${project.version}' resolver='(obr)'
start-level='50'>
+ <feature version='${project.version}'>camel-core</feature>
+ <bundle
dependency='true'>wrap:mvn:com.amazonaws/aws-xray-recorder-sdk-core/${aws-xray-version}</bundle>
+ <bundle
dependency='true'>wrap:mvn:com.amazonaws/aws-xray-recorder-sdk-apache-http/${aws-xray-version}</bundle>
+ <bundle
dependency='true'>wrap:mvn:com.amazonaws/aws-xray-recorder-sdk-aws-sdk/${aws-xray-version}</bundle>
+ <bundle
dependency='true'>wrap:mvn:com.amazonaws/aws-xray-recorder-sdk-aws-sdk-instrumentor/${aws-xray-version}</bundle>
+ <bundle
dependency='true'>wrap:mvn:com.amazonaws/aws-xray-recorder-sdk-sql-postgres/${aws-xray-version}</bundle>
+ <bundle
dependency='true'>wrap:mvn:com.amazonaws/aws-xray-recorder-sdk-sql-mysql/${aws-xray-version}</bundle>
+ <bundle>mvn:org.apache.camel/camel-aws-xray/${project.version}</bundle>
+ </feature>
<feature name='camel-azure' version='${project.version}' resolver='(obr)'
start-level='50'>
<feature version='${project.version}'>camel-azure</feature>
<bundle
dependency='true'>mvn:com.fasterxml.jackson.core/jackson-core/${jackson2-version}</bundle>
diff --git
a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsXrayTest.java
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsXrayTest.java
new file mode 100644
index 0000000..cb22dfe
--- /dev/null
+++
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAwsXrayTest.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 CamelAwsXrayTest extends BaseKarafTest {
+
+ public static final String COMPONENT = extractName(CamelAwsXrayTest.class);
+
+ @Test
+ public void test() throws Exception {
+ installCamelFeature(COMPONENT);
+ }
+
+}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].