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

   ## What changes were proposed in this pull request?
   
   This PR refactors the `BucketEndpoint.get()` method to improve code 
maintainability and readability. 
   The original method was nearly 200 lines long and contained multiple 
unrelated logic blocks, making it difficult to understand, test, and maintain.
   
   Changes in this PRr
   - Extracted 5 methods from the `get()` method
   - add `BucketListingContext` class to encapsulate parameters
   - added test coverage (unit, integration, performance)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13532
   
   ## How was this patch tested?
   - Unit tests: `TestBucketEndpointRefactoredSimple.java`
   - Integration tests: `TestBucketEndpointIntegration.java`
   - Performance tests: `TestBucketEndpointPerformance.java`


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