Skip to content

Commit 645dd20

Browse files
authored
Merge pull request #28 from tonyreigns/mpOT30
mpOT-3.0
2 parents 71d9b27 + c604863 commit 645dd20

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Tracer Implementation
22

3-
A demo project that shows how to implement a tracer for the Liberty `mpOpentracing-2.0` feature.
3+
A demo project that shows how to implement a tracer for the Liberty `mpOpentracing-3.0` feature.
44
Once implemented as an OSGI bundle, a tracer can be included as a user feature that will automatically
5-
pull the `mpOpentracing-2.0` feature.
5+
pull the `mpOpentracing-3.0` feature.
66

77
Building this project relies on the `bnd-process` plugin to process the `bnd.bnd` file which will generate
88
the `MANIFEST.MF` to be included in the project. Additionally, annotations found in the [OpentracingZipkinTracerFactory.java](src/main/java/com/ibm/ws/opentracing/zipkin/OpentracingZipkinTracerFactory.java)
@@ -15,12 +15,12 @@ To compile and package, run:
1515

1616
mvn package
1717

18-
This will build `target/liberty-opentracing-zipkintracer-2.0-sample.zip`. Copy this file to `${wlp.user.dir}`
18+
This will build `target/liberty-opentracing-zipkintracer-3.0-sample.zip`. Copy this file to `${wlp.user.dir}`
1919
and `unzip` it to install the feature extension:
2020

21-
$ cp target/liberty-opentracing-zipkintracer-2.0-sample.zip ${WLP}/usr/
21+
$ cp target/liberty-opentracing-zipkintracer-3.0-sample.zip ${WLP}/usr/
2222
$ cd ${WLP}/usr/
23-
$ unzip liberty-opentracing-zipkintracer-2.0-sample.zip
23+
$ unzip liberty-opentracing-zipkintracer-3.0-sample.zip
2424
$ ls -R extension/
2525
extension/:
2626
lib

bnd.bnd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Bundle-SymbolicName: com.ibm.ws.opentracing.zipkin
22
Bundle-Name: Opentracing Zipkin
3-
Bundle-Description: Opentracing Zipkin Factory Implemention; version=2.0
3+
Bundle-Description: Opentracing Zipkin Factory Implemention; version=3.0
44
Bundle-ManifestVersion: 2
5-
Bundle-Version: 2.0
5+
Bundle-Version: 3.0
66

77
-dsannotations: com.ibm.ws.opentracing.zipkin.OpentracingZipkinTracerFactory
88

99
Import-Package: io.openliberty.opentracing.spi.tracer;version="[2.0,3)",io.opentracing;version="[0.33,1)", \
1010
io.opentracing.propagation;version="[0.33,1)",io.opentracing.tag;version="0.33.0",javax.net.ssl,javax.net,org.osgi.service.component
11-
Export-Package: com.ibm.ws.opentracing.zipkin;version="2.0.0";uses:="io.openliberty.opentracing.spi.tracer,io.opentracing,io.opentracing.propagation"
11+
Export-Package: com.ibm.ws.opentracing.zipkin;version="3.0.0";uses:="io.openliberty.opentracing.spi.tracer,io.opentracing,io.opentracing.propagation"
1212

1313
Provide-Capability: osgi.service;objectClass:List<String>="io.openliberty.opentracing.spi.tracer.OpentracingTracerFactory"
1414

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>net.wasdev.wlp.tracer</groupId>
55
<artifactId>liberty-opentracing-zipkintracer</artifactId>
6-
<version>2.0.2-SNAPSHOT</version>
6+
<version>3.0-SNAPSHOT</version>
77
<packaging>jar</packaging>
88

99
<name>liberty-zipkin-tracer</name>

src/features/opentracingZipkin-0.33.mf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
IBM-Feature-Version: 2
22
IBM-ShortName: opentracingZipkin-0.33
3-
Subsystem-Content: com.ibm.websphere.appserver.opentracing-2.0; type="osgi.subsystem.feature",
4-
com.ibm.ws.opentracing.zipkin; version="[2.0.0,2.0.200)",
5-
com.ibm.websphere.appserver.jaxrs-2.1; type="osgi.subsystem.feature",
6-
com.ibm.websphere.appserver.cdi-2.0; type="osgi.subsystem.feature"
3+
Subsystem-Content: io.openliberty.mpOpenTracing-3.0; type="osgi.subsystem.feature",
4+
com.ibm.ws.opentracing.zipkin; version="[3.0.0,3.0.200)",
5+
io.openliberty.restfulWS-3.0; type="osgi.subsystem.feature",
6+
io.openliberty.cdi-3.0; type="osgi.subsystem.feature"
77
Subsystem-Description: %description
88
Subsystem-License: https://www.eclipse.org/legal/epl-v10.html
99
Subsystem-Localization: OSGI-INF/l10n/com.ibm.websphere.appserver.opentracingZipkin-0.33

0 commit comments

Comments
 (0)