Skip to content
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

[WFLY-12829] Quickstart for MP OpenTracing 1.3 #380

Merged
merged 1 commit into from Mar 19, 2020

Conversation

xstefank
Copy link
Member

following content:

NOTE: The new file should be created in
`src/main/java/org/quickstart/microprofile/rest/client/JaxRsApplication.java`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this path intentional? Didn't you mean this one instead? src/main/java/org/wildfly/quickstart/microprofile/opentracing/JaxRsApplication.java

}
----

And rebuild and deploy the application
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import org.eclipse.microprofile.opentracing.Traced; is also required. But maybe it is omitted intentionally, to simplify this? I'm okay with this, just saying...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is intentional. Automatic import resolution should be able to handle the import.


[source,java]
----
@Inject
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import javax.inject.Inject; is also required. But maybe it is omitted intentionally, to simplify this? Alternatively, we could put directly @javax.inject.Inject... Anyway, I can live with this as it is, just saying...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is also intentional. I would expect that the automatic import resolution should be able to handle this. If we receive reports that it is not, I will update it everywhere.

[source,options="nowrap"]
----
mvn archetype:generate \
-DgroupId=org.wildfly.quickstart.microprofile.config \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/org.wildfly.quickstart.microprofile.config/org.wildfly.quickstart.microprofile.opentracing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

* Simple tests for MicroProfile OpenTracing quickstart. Arquillian deploys an JAR archive to the application server, which
* contains several REST endpoint and verifies that they are correctly invoked and the created spans are collected.
*
* @author <a href="mstefank@redhat.com>Martin Stefanko</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing "

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

<version>2.0.2</version>
<scope>provided</scope>
</dependency>
<!-- Import the Jakarta REST API, we use provided scode as the API is included in WildFly -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/scode/scope

@xstefank xstefank force-pushed the WFLY-12829 branch 3 times, most recently from 6abdcd9 to 5e0bae2 Compare March 17, 2020 14:40
@xstefank xstefank changed the title WFLY-12829 Quickstart for MP OpenTracing 1.3 [WFLY-12829] Quickstart for MP OpenTracing 1.3 Mar 17, 2020
@xstefank xstefank force-pushed the WFLY-12829 branch 2 times, most recently from bab0e32 to 755ced0 Compare March 19, 2020 09:40
@emmartins emmartins merged commit 021e833 into wildfly:master Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants