Namespace: synergy/health
Last updated: 22.8.2017
Application health info provides details about the application’s availability and state for the system administrators.
Interested parties (e.g. Chemaxon Cloud) will request application health information by sending HTTP GET request to configured URL.
Example
GET http://localhost:8102/services/health
{
"status": "UP",
"description": "Service is running."
}
status
- REQUIRED - application status:
"UP"
: This should be returned by the service if the application is running and providing health endpoint."SHUTTING_DOWN"
: This should be returned by the service if the application is running, a providing health endpoint but marked to shut down."ERROR"
: This should be returned by the service if the application is running, providing health endpoint but emitting error status.description
- OPTIONAL - application status descriptionApplication info uses synergy/health
namespace and single url
attribute.
{
"namespace": "synergy/health",
"attributes": {
"url": "http://localhost:8102/services/health"
}
}