@Path(value="/agent")
public interface IAgent
| Modifier and Type | Method and Description |
|---|---|
AgentOption |
heartBeat(java.lang.String template,
java.lang.String host,
java.lang.String agent,
java.lang.String uuidString) |
PackageStateChanges |
notifyPackageState(java.lang.String template,
java.lang.String host,
PackageState rpmState,
java.lang.String uuid) |
ServiceStatesChanges |
notifyServiceState(java.lang.String template,
java.lang.String host,
ServiceStates serviceState,
java.lang.String uuid) |
@PUT
@Path(value="/{template}/{host}/{uuid}/package")
@Consumes(value="application/json;charset=UTF-8")
@Produces(value="application/json;charset=UTF-8")
@RolesAllowed(value="USE_AGENT_API")
PackageStateChanges notifyPackageState(@PathParam(value="template")
java.lang.String template,
@PathParam(value="host")
java.lang.String host,
PackageState rpmState,
@PathParam(value="uuid")
java.lang.String uuid)
template - the template namehost - the host namerpmState - the rpm stateuuid - the UUID of the agent@PUT
@Path(value="/{template}/{host}/{uuid}/service")
@Consumes(value="application/json;charset=UTF-8")
@Produces(value="application/json;charset=UTF-8")
@RolesAllowed(value="USE_AGENT_API")
ServiceStatesChanges notifyServiceState(@PathParam(value="template")
java.lang.String template,
@PathParam(value="host")
java.lang.String host,
ServiceStates serviceState,
@PathParam(value="uuid")
java.lang.String uuid)
template - the template namehost - the host nameserviceState - the service stateuuid - the UUID of the agent@GET
@Path(value="/{template}/{host}/{agent}/{uuid}/heartbeat")
@Produces(value="application/json;charset=UTF-8")
@RolesAllowed(value="USE_AGENT_API")
AgentOption heartBeat(@PathParam(value="template")
java.lang.String template,
@PathParam(value="host")
java.lang.String host,
@PathParam(value="agent")
java.lang.String agent,
@PathParam(value="uuid")
java.lang.String uuidString)
template - the template namehost - the host nameagent - the agent nameuuidString - the UUID of the agentCopyright © 2017-2019 Cinovo AG. All Rights Reserved.