Russole opened a new pull request, #9710: URL: https://github.com/apache/ozone/pull/9710
## What changes were proposed in this pull request? Continue [HDDS-14398](https://issues.apache.org/jira/browse/HDDS-14398) by refactoring GET and DELETE handlers in ObjectEndpoint to use ObjectOperationHandler. * Move `deleteObjectTagging` and `getObjectTagging` into `ObjectTaggingHandler` and implement `handleDeleteRequest` and `handleGetRequest` in `ObjectTaggingHandler` using these methods. * Override `handleDeleteRequest` and `handleGetRequest` in `ObjectEndpoint`, moving existing logic from get and delete, but keep `OMException` handling in the original method, and drop: * S3 owner check * logic related to object tagging * logic related to audit logging * Change get and delete to delegate to handler. * Updated `EndpointTestUtils` to set the mocked request method for GET/PUT/DELETE calls, preventing null context/method failures when routing through the handler chain. * Updated related tests to align with the refactored handler-based execution flow ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14534 ## How was this patch tested? All CI checks passed. - https://github.com/Russole/ozone/actions/runs/21631400554 -- 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]
