echonesis opened a new pull request, #10853: URL: https://github.com/apache/ozone/pull/10853
## What changes were proposed in this pull request? Recon directly uses Jersey's internal `InjectionManager` API to obtain the HK2 `ServiceLocator` when initializing the Guice-to-HK2 bridge. Depending on an internal Jersey API makes this integration sensitive to Jersey implementation changes. This PR updates `GuiceResourceConfig` to receive the `ServiceLocator` and `ServletContext` through standard dependency injection. The Guice injector is then bridged to HK2 during resource configuration initialization, without registering a container lifecycle listener or accessing Jersey's internal injection API. The explicit `jersey-common` dependency is also removed because it is no longer required. Generated-by: Codex (GPT-5) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15934 ## How was this patch tested? GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/30013948598 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
