echonesis opened a new pull request, #10839: URL: https://github.com/apache/ozone/pull/10839
## What changes were proposed in this pull request? `TestVirtualHostStyleFilter` used Jersey's internal `ContainerRequest` implementation to construct requests for testing. This introduced an unnecessary dependency on Jersey implementation details. This PR: - replaces `ContainerRequest` with mocked standard JAX-RS `ContainerRequestContext` and `UriInfo` interfaces; - verifies request URI updates through `ContainerRequestContext#setRequestUri`; - preserves query parameter coverage without relying on query parameter ordering; and - removes the unused direct `jersey-common` dependency from `ozone-s3gateway`. The dependency remains available transitively through `jersey-server`. Generated-by: Codex (GPT-5) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15933 ## How was this patch tested? Local Test ``` mvn -pl :ozone-s3gateway test \ -Dtest=TestVirtualHostStyleFilter \ -DskipShade -DskipRecon -DskipDocs ``` GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/29900380211 -- 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]
