xBis7 opened a new pull request, #3746: URL: https://github.com/apache/ozone/pull/3746
## What changes were proposed in this pull request? In the previous PR [HDDS-5504](https://github.com/apache/ozone/pull/3309), we refactored `NSSummaryEndpoint` and `NSSummaryTask` so that we can extract the bucket specific code to new separated classes. So far, Recon has only been supporting FSO buckets. All the existing bucket related code exists in `handlers/FSOBucketHandler` and `tasks/NSSummaryTaskWithFSO`. In order to add support for Legacy buckets, we created two new classes `handlers/LegacyBucketHandler` and `tasks/NSSummaryTaskWithLegacy`. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7121 ## How was this patch tested? This patch was tested with new unit tests. We added two new test classes, `TestNSSummaryEndpointWithLegacy` and `TestNSSummaryTaskWithLegacy`. These two classes are as similar as possible to the corresponding FSO classes. We tried to keep the setups exactly the same with `TestNSSummaryEndpointWithFSO` and `TestNSSummaryTaskWithFSO` as if they were handling FSO related code. -- 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]
