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

   ## What changes were proposed in this pull request?
   HDDS-13542. Separate out the API calls for Overview page
   
   Please describe your PR in detail:
   * Currently the API calls in the Overview page is clubbed together using a 
AllSettled method which waits for all the API calls to resolve before updating 
the results - this blocks the page on the slowest API call.
   * This PR aims to decouple the requests into separate API calls such that we 
update the page as soon as the calls resolve one by one.
   * It also adds error handling in case the API call returns an error or the 
call is not able to be made/
   * Apart from this we introduce a new API hook that can be used to make the 
calls and also convert the AutoReloadHelper into a hook format.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13542
   
   ## How was this patch tested?
   Patch was tested manually.
   
   
https://github.com/user-attachments/assets/8f85ac4e-5380-4782-a48d-f8decd0c0360
   
   
   
https://github.com/user-attachments/assets/54722d59-e824-4f89-8ac1-ac054afa763c
   
   


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