devabhishekpal opened a new pull request, #7472: URL: https://github.com/apache/ozone/pull/7472
## What changes were proposed in this pull request? HDDS-11781. Add last task status information to Recon UI. In the current code, Recon doesn't have a marker to store if the last task run was completed successfully or not. As a part of this PR we are targeting two main things: - Have a record of the last task status i.e successful or failed - Display that information in the UI The current code already calls the `/task/status` API endpoint to fetch the Om sync last updated timestamp. We are adding an extra column to the RECON_TASK_STATUS table to store the last run success, and returning that as a part of the API response to use in the UI. The last task status stores values as true, false or null where: - true: The last task was completed successfully - Display green check in UI - false: The last task failed. - Display red check in UI - null: The last task didn't take place (first time task run). - Display yellow check in UI ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11781 ## How was this patch tested? Manually <img width="1724" alt="Screenshot 2024-11-23 at 02 06 08" src="https://github.com/user-attachments/assets/7950e5da-0302-4fc4-bb68-a4282c5464e6"> <img width="1726" alt="Screenshot 2024-11-23 at 02 06 24" src="https://github.com/user-attachments/assets/7715a39a-4bc6-4e96-97ec-3c1291f51fb1"> -- 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]
