Skip to content

Commit

Permalink
Merge pull request #122 from liweinan/upgrade_tracing_example
Browse files Browse the repository at this point in the history
Update tracing feature example to use WildFly 28.
  • Loading branch information
jamezp authored Apr 11, 2023
2 parents 5569d15 + d34609a commit c173acd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 0 additions & 2 deletions tracing-example/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ To run the example, you can simply run it with WildFly:
[source,bash]
----
$ mvn wildfly:run
----

After server started, we can access the server and get the tracing info:

[source,bash]
----
$ curl -i http://localhost:8080/tracing-example/level
----

And here is the sample output:
Expand Down
17 changes: 13 additions & 4 deletions tracing-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,26 @@
<version.org.jboss.resteasy>6.2.3.Final</version.org.jboss.resteasy>
<version.org.jboss.resteasy.extensions>2.0.0.Final</version.org.jboss.resteasy.extensions>
<version.org.junit>5.9.2</version.org.junit>
<version.org.wildfly>27.0.1.Final</version.org.wildfly>
<version.org.wildfly.arquillian>5.0.0.Alpha6</version.org.wildfly.arquillian>

<version.wildfly-maven-plugin>4.1.0.Beta5</version.wildfly-maven-plugin>

<version.org.wildfly>28.0.0.Beta1</version.org.wildfly>
<dep.tracing.scope>provided</dep.tracing.scope>
<!-- Test properties -->
<jboss.home>${project.build.directory}${file.separator}wildfly</jboss.home>
<debug.port>8787</debug.port>
<debugJvmArgs/>
</properties>

<profiles>
<profile>
<id>wildfly27</id>
<properties>
<version.org.wildfly>27.0.1.Final</version.org.wildfly>
<dep.tracing.scope>compile</dep.tracing.scope>
</properties>
</profile>
</profiles>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -111,8 +120,8 @@
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-tracing-api</artifactId>
<version>${version.org.jboss.resteasy.extensions}</version>
<scope>${dep.tracing.scope}</scope>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down

0 comments on commit c173acd

Please sign in to comment.