The global node status endpoint is GET http://localhost:5173/ligoj/rest/node/status/subscription.
Java implementation: NodeResource#getNodeStatistics()
For each node, return the aggregated amount of UP/DOWN subscriptions
[{"node":"service:id:ldap:local","values":{"total":1,"UP":1}},{"node":"service:prov:aws:enedis","values":{"total":12,"DOWN":2,"UP":10}}]
In the HomeView, in each card representing node, add a progressbar, 3 states : UP, no status, DOWN
Add a button to refresh the state of a node: POST http://localhost:5173/ligoj/rest/node/status/refresh/NODE_ID.
Java implementation: NodeResource#checkNodeStatus(String id)
The global node status endpoint is
GET http://localhost:5173/ligoj/rest/node/status/subscription.Java implementation:
NodeResource#getNodeStatistics()For each node, return the aggregated amount of UP/DOWN subscriptions
[{"node":"service:id:ldap:local","values":{"total":1,"UP":1}},{"node":"service:prov:aws:enedis","values":{"total":12,"DOWN":2,"UP":10}}]In the HomeView, in each card representing node, add a progressbar, 3 states : UP, no status, DOWN
Add a button to refresh the state of a node:
POST http://localhost:5173/ligoj/rest/node/status/refresh/NODE_ID.Java implementation:
NodeResource#checkNodeStatus(String id)