[ 
https://issues.apache.org/jira/browse/HDDS-15452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-15452:
----------------------------------
    Labels: pull-request-available  (was: )

> Split DataNodeMetricsServiceResponse response into state-specific DTOs
> ----------------------------------------------------------------------
>
>                 Key: HDDS-15452
>                 URL: https://issues.apache.org/jira/browse/HDDS-15452
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Recon
>            Reporter: Priyesh K
>            Assignee: Priyesh K
>            Priority: Major
>              Labels: pull-request-available
>
> *Problem:* The {{/storageDistribution/download}} API exposes messy {{null}} 
> metric arrays while background collection is still {{{}IN_PROGRESS{}}}.
> *Solution:* Split the response DTO into a clean inheritance hierarchy to 
> decouple processing states:
>  * *Progress Subclass:* Show only status and message.
>  * *Complete Subclass:* Appends metric data and query parameters only upon 
> success.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to