Skip to content

Add jersey server jakarta module #1458

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dennyac
Copy link

@dennyac dennyac commented Apr 7, 2025

A copy of jersey-server module to work with jakarta namespace. There are references to javax classes like WebApplicationException in the jersey-server module

@dennyac
Copy link
Author

dennyac commented Apr 7, 2025

@codefromthecrypt - Would appreciate a review. Happy to accommodate any changes or alternative approaches too

Copy link
Member

@codefromthecrypt codefromthecrypt left a comment

Choose a reason for hiding this comment

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

The approach follows others like JMS. Basically @reta and/or I need to second eye review nothing was missed in the find/replace adjustment

<parent>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave-instrumentation-parent</artifactId>
<version>6.1.1-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

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

We need to bump all poms to 6.2.0-SNAPSHOT and verify the since javadoc on public types are since 6.2

@reta
Copy link
Contributor

reta commented Apr 8, 2025

The approach follows others like JMS. Basically @reta and/or I need to second eye review nothing was missed in the find/replace adjustment

The change looks pretty straightforward to me (mirroring brave-instrumentation-jersey-server), thanks @dennyac

Co-authored-by: Andriy Redko <drreta@gmail.com>
### Normal configuration (`TracingApplicationEventListener`)

The `TracingApplicationEventListener` requires an instance of
`HttpTracing` to operate. With that in mind, use [standard means](https://jersey.github.io/apidocs/2.26/jersey/org/glassfish/jersey/server/monitoring/ApplicationEventListener.html)
Copy link
Member

Choose a reason for hiding this comment

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

this link needs an update, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants