File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ To run the example, you can simply run it with WildFly:
77[source,bash]
88----
99$ mvn wildfly:run
10-
1110----
1211
1312After server started, we can access the server and get the tracing info:
1413
1514[source,bash]
1615----
1716$ curl -i http://localhost:8080/tracing-example/level
18-
1917----
2018
2119And here is the sample output:
Original file line number Diff line number Diff line change 3737 <version .org.jboss.resteasy>6.2.3.Final</version .org.jboss.resteasy>
3838 <version .org.jboss.resteasy.extensions>2.0.0.Final</version .org.jboss.resteasy.extensions>
3939 <version .org.junit>5.9.2</version .org.junit>
40- <version .org.wildfly>27.0.1.Final</version .org.wildfly>
4140 <version .org.wildfly.arquillian>5.0.0.Alpha6</version .org.wildfly.arquillian>
42-
4341 <version .wildfly-maven-plugin>4.1.0.Beta5</version .wildfly-maven-plugin>
44-
42+ <version .org.wildfly>28.0.0.Beta1</version .org.wildfly>
43+ <dep .tracing.scope>provided</dep .tracing.scope>
4544 <!-- Test properties -->
4645 <jboss .home>${project.build.directory}${file.separator} wildfly</jboss .home>
4746 <debug .port>8787</debug .port>
4847 <debugJvmArgs />
4948 </properties >
5049
50+ <profiles >
51+ <profile >
52+ <id >wildfly27</id >
53+ <properties >
54+ <version .org.wildfly>27.0.1.Final</version .org.wildfly>
55+ <dep .tracing.scope>compile</dep .tracing.scope>
56+ </properties >
57+ </profile >
58+ </profiles >
59+
5160 <dependencyManagement >
5261 <dependencies >
5362 <dependency >
111120 <groupId >org.jboss.resteasy</groupId >
112121 <artifactId >resteasy-tracing-api</artifactId >
113122 <version >${version.org.jboss.resteasy.extensions} </version >
123+ <scope >${dep.tracing.scope} </scope >
114124 </dependency >
115-
116125 <!-- Test Dependencies -->
117126 <dependency >
118127 <groupId >org.junit.jupiter</groupId >
You can’t perform that action at this time.
0 commit comments