@Path(value="/applications/{application}/entities/{entity}/policies")
@Produces(value="application/json")
@Consumes(value="application/json")
@Deprecated
public interface PolicyApi
Modifier and Type | Method and Description |
---|---|
PolicySummary |
addPolicy(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyTypeName,
java.util.Map<java.lang.String,java.lang.String> config)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
batchConfigRead(java.lang.String application,
java.lang.String entityToken)
Deprecated.
|
javax.ws.rs.core.Response |
destroy(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyToken)
Deprecated.
|
Status |
getStatus(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyId)
Deprecated.
|
java.util.List<PolicySummary> |
list(java.lang.String application,
java.lang.String entityToken)
Deprecated.
|
javax.ws.rs.core.Response |
start(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyId)
Deprecated.
|
javax.ws.rs.core.Response |
stop(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyId)
Deprecated.
|
@GET java.util.List<PolicySummary> list(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken)
@GET @Path(value="/current-state") java.util.Map<java.lang.String,java.lang.Boolean> batchConfigRead(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken)
@POST PolicySummary addPolicy(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken, @QueryParam(value="type") java.lang.String policyTypeName, java.util.Map<java.lang.String,java.lang.String> config)
@GET @Path(value="/{policy}") Status getStatus(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken, @PathParam(value="policy") java.lang.String policyId)
@POST @Path(value="/{policy}/start") javax.ws.rs.core.Response start(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken, @PathParam(value="policy") java.lang.String policyId)
@POST @Path(value="/{policy}/stop") javax.ws.rs.core.Response stop(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken, @PathParam(value="policy") java.lang.String policyId)
@POST @Path(value="/{policy}/destroy") javax.ws.rs.core.Response destroy(@PathParam(value="application") java.lang.String application, @PathParam(value="entity") java.lang.String entityToken, @PathParam(value="policy") java.lang.String policyToken)