Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Based on this comment it would be nice if we would use one endpoint to query all the informations on the unhealthy containers.
There are other things that remained in the code that can be changed/removed.
- the db.json does not have really relevant data (there is 0 missing but after there is 2 missing containers added)
- the @Path("/missing") got the deprecated tag, but it is still used
"/containers/missing": "/missingContainers", <-- check the line below, it could be remove "/containers/unhealthy/MISSING": "/containerUnhealthyMissing", "/containers/unhealthy/UNDER_REPLICATED": "/containerUnhealthyUnderReplicated", "/containers/unhealthy/OVER_REPLICATED": "/containerUnhealthyOverReplicated", "/containers/unhealthy/MIS_REPLICATED": "/containerUnhealthyMisReplicated"
- the IMissingContainerResponse and the IMissingContainersResponse are still in the code (but never used)
- title: 'Active/Expected Replica(s)' should be 'Actual/Expected Replica(s)'
- there is still uContainers and other names like this. (but the missing there is missingContainers)
- totalCount is never used in the missingContainers.tsx, but passed in the state
- there is allReplicatedResponse left in the code in the missingContainers.tsx (I think it is left from the ALL_REPLICAS_UNHEALTHY)
Attachments
Issue Links
- is duplicated by
-
HDDS-7247 Recon: Add a container status page
- Resolved
- links to