Skip to content

OpenTracing on Websphere liberty #10

Description

@doychin

In order to activate open tracing on WebSphere liberty microprofile an additional feature must be installed before final JAR is packaged.
For that this section is required in the maven file:

<plugin>
   <groupId>com.googlecode.maven-download-plugin</groupId>
   <artifactId>download-maven-plugin</artifactId>
   <version>1.4.0</version>
   <executions>
     <execution>
       <id>install-tracer</id>
       <phase>prepare-package</phase>
       <goals>
         <goal>wget</goal>
       </goals>
       <configuration>
         <url>https://github.com/WASdev/sample.opentracing.zipkintracer/releases/download/1.0/liberty-opentracing-zipkintracer-1.0-sample.zip</url>
         <unpack>true</unpack>
         <outputDirectory>${project.build.directory}/liberty/wlp/usr</outputDirectory>
       </configuration>
     </execution>
   </executions>
  </plugin>

There is a newer version of zipkin feature (1.1) which can also be used.

The problem is in the packaging part of WebSphere liberty maven plugin. It does not include the downloaded extension fold in the final JAR file.

Maven plugin actually calls WebSphere server to do the packaging.

A fix from IBM is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions