|
RestApiSpecification
This page defines the REST API for all the services
Featured OverviewThe Hackystat Service Manager has an Agent , wich is a SOA service, for each Hackystat Service. These Agents are implemented in RESTlet and are presented here with their REST API specification. The Hackystat Service Manager is not a SOA service itself, it just communicates with the Agents. As the Agents are services they are intended to by very light by providing service to the HSM that implement just simple functions. The complex business logic is held in the Hackystat Service Manager itself. These functions are limits to two types: monitoring functions and execution functions. For example: Monitoring the excessive heapsize of a service is a monitoring function and reconfiguring a configuration file of a service is an execution function. Restarting the service after reconfiguration should be another execution function. AgentsSensorbase Agent
DPD Agent
Telemetry Agent
Projectbrowser Agent
Tickertape Agent
DetailsAs you can see all agents are following the same structure in the REST API, this is because the services should provide the same functionality for the HSM in order to apply monitoring and solutions service independent. This allows a growing knowledge for all services where solution for one service can be applied to any other service. Here the REST API methods in detail: All calls should follow a certain convention in order to let them operate with the HSM independently: /startReturns a String Representation "started" if successful /stopReturns a String Representation "stopped" if successful /pingReturns a String Representation "successful" if successful, otherwise the REST error from the previous call to the Hackystat service or "error" if the calls fails at all. /heapsize
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||