-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tracing feature example to use WildFly 28. #122
Conversation
@jamezp Whiling I'm writing the blog post for Tracing feature usage in WildFly, I need to upgrade this example to refer to it in the blog post. |
I need to think about this @liweinan. If we do this, that means this example doesn't work with WildFly 27. Maybe that's not a bad thing, but it's something to consider. |
ecefacc
to
954bc6a
Compare
@jamezp This PR is ready for review, could you please help to review it again when you have time? Thanks! |
2fa7ba6
to
47cf1bb
Compare
tracing-example/pom.xml
Outdated
<dependency> | ||
<groupId>org.jboss.resteasy</groupId> | ||
<artifactId>resteasy-tracing-api</artifactId> | ||
<version>${version.org.jboss.resteasy.extensions}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a <scope>runtime</scope>
I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes sir!
tracing-example/pom.xml
Outdated
@@ -38,7 +38,8 @@ | |||
<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.arquillian>5.0.0.Alpha6</version.org.wildfly.arquillian> | |||
<version.wildfly-maven-plugin>4.1.0.Beta5</version.wildfly-maven-plugin> | |||
<!-- <version.wildfly-maven-plugin>4.1.0.Beta5</version.wildfly-maven-plugin>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamezp If I use 4.1.0.Beta5
of wildfly-maven-plugin
I got this error:
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:4.1.0.Beta5:run (default-cli) on project tracing-example: The server failed to start: Cannot invoke "java.io.File.toPath()" because "this.targetDir" is null -> [Help 1]
I guess this is a bug in 4.1.0.Beta5
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be. We shouldn't block this because of that though. I'll look at the bug. It should work though with wildfly:dev
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -52,31 +53,8 @@ | |||
<id>wildfly27</id> | |||
<properties> | |||
<version.org.wildfly>27.0.1.Final</version.org.wildfly> | |||
<dep.tracing.scope>compile</dep.tracing.scope> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamezp I have to use compile
scope instead of runtime
for wildfly27 or the project won't compile.
5ce7539
to
8d46a3f
Compare
@jamezp All the changes are done! :D |
tracing-example/pom.xml
Outdated
<version.org.wildfly.arquillian>5.0.0.Alpha6</version.org.wildfly.arquillian> | ||
|
||
<!-- There is bug in the plugin that prevent from `mvn wildfly:run` currently, please use the command `mvn wildfly:dev` instead. --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can leave this off as we'll probably forget to remove it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes sir!
add different profiles for wildfly 27
8d46a3f
to
d34609a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge this, but I think I'm going to follow up with a PR. Really these changes aren't needed at all because we overlay the resteasy-galleon-pack which includes tracing.
Looking forward to learn about its usage! :D |
No description provided.