echonesis opened a new pull request, #9516:
URL: https://github.com/apache/ozone/pull/9516

   ## What changes were proposed in this pull request?
   Refactored the BucketEndpoint#put method by extracting ACL handling logic 
into dedicated handler classes, improving code modularity and maintainability 
through the Strategy pattern.
   
   ### Changes
   - Created `AclHandler` class to handle bucket ACL PUT operations
   - Added `BucketOperationHandler` interface for pluggable operation handlers
   - Implemented `BucketOperationHandlerFactory` to route requests to 
appropriate handlers
   - Introduced `BucketEndpointContext` to provide handler access to 
bucket/volume operations
   - Refactored `BucketEndpoint#put()` to delegate ACL operations to 
`AclHandler`
   
   ### Testing
   - Added `TestAclHandler` 
   - Added `TestBucketEndpointContext`
   - Added `TestBucketOperationHandlerFactory` 
   - Updated existing `TestBucketAcl` tests
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-14123
   
   ## How was this patch tested?
   
   GitHub Actions CI: 
https://github.com/echonesis/ozone/actions/runs/20292867020
   


-- 
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]

Reply via email to