priyeshkaratha opened a new pull request, #9754: URL: https://github.com/apache/ozone/pull/9754
## What changes were proposed in this pull request? `DatanodeStorageReport` has recently been updated to include several additional fields. Some of these fields, such as `hostName` and `datanodeUuid`, are specific to individual datanodes and are not applicable to the `clusterState` storage report. To address this, in this PR I have separated the models: * `DatanodeStorageReport` is now used specifically for datanode-level reporting. * A new `ClusterStorageReport` class has been introduced for the cluster state storage report, containing only the relevant cluster-level fields. Additionally, the Recon OpenAPI specification was not fully aligned with the recent changes. This PR also includes updates to the OpenAPI spec to ensure it is consistent with the current API models. Also added few clean up in ClusterStateEndpoint ## What is the link to the Apache JIRA HDDS-14621 ## How was this patch tested? Tested using unit testing. -- 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]
