@Path(value="/") @Produces(value="application/json") @Consumes(value="application/json") public class RestResourcesMetrics extends RestResources
| Constructor and Description |
|---|
RestResourcesMetrics() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
associateMetrics(String environmentId,
String resourcePath,
Collection<String> metricPaths) |
javax.ws.rs.core.Response |
associateMetrics(String environmentId,
String feedId,
String resourcePath,
Collection<String> metricPaths) |
javax.ws.rs.core.Response |
disassociateMetric(String environmentId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
disassociateMetric(String environmentId,
String feedId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetric(String environmentId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetric(String environmentId,
String feedId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetrics(String environmentId,
String feedId,
String resourcePath,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssociatedMetrics(String environmentID,
String resourcePath,
javax.ws.rs.core.UriInfo uriInfo) |
addFeedResource, addFeedResource, addResource, addResource, associateChildren, associateChildren, composeCanonicalPath, deleteResource, deleteResource, disassociateChild, disassociateChild, getChildren, getChildren, getParent, getParent, getParents, getParents, getRecursiveChildren, getRecursiveChildren, getResource, getResource, getResources, getResources, update, updategetTenantId@POST
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response associateMetrics(@PathParam(value="environmentId")
String environmentId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
Collection<String> metricPaths)
@POST
@Path(value="/{environmentId}/{feedId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response associateMetrics(@PathParam(value="environmentId")
String environmentId,
@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
Collection<String> metricPaths)
@GET
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response getAssociatedMetrics(@PathParam(value="environmentId")
String environmentID,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/{environmentId}/{feedId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response getAssociatedMetrics(@PathParam(value="environmentId")
String environmentId,
@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response getAssociatedMetric(@PathParam(value="environmentId")
String environmentId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@GET
@Path(value="/{environmentId}/{feedId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response getAssociatedMetric(@PathParam(value="environmentId")
String environmentId,
@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@DELETE
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response disassociateMetric(@PathParam(value="environmentId")
String environmentId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@DELETE
@Path(value="/{environmentId}/{feedId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response disassociateMetric(@PathParam(value="environmentId")
String environmentId,
@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
Copyright © 2015 Red Hat, Inc.. All rights reserved.