Package org.opennms.web.rest.v2.status
Class StatusRestService
- java.lang.Object
-
- org.opennms.web.rest.v2.status.StatusRestService
-
@Component("statusRestService") @Path("status") @Produces({"application/xml","application/json"}) public class StatusRestService extends Object
-
-
Constructor Summary
Constructors Constructor Description StatusRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getApplications(javax.ws.rs.core.UriInfo uriInfo)
List<Object[]>
getApplicationStatus()
javax.ws.rs.core.Response
getBusinessServices(javax.ws.rs.core.UriInfo uriInfo)
List<Object[]>
getBusinessServiceStatus()
javax.ws.rs.core.Response
getNodes(javax.ws.rs.core.UriInfo uriInfo, String type)
javax.ws.rs.core.Response
getNodeStatus(String type)
-
-
-
Method Detail
-
getNodeStatus
@GET @Path("/summary/nodes/{type}") public javax.ws.rs.core.Response getNodeStatus(@PathParam("type") String type)
-
getApplicationStatus
@GET @Path("/summary/applications") public List<Object[]> getApplicationStatus()
-
getBusinessServiceStatus
@GET @Path("/summary/business-services") public List<Object[]> getBusinessServiceStatus()
-
getApplications
@GET @Path("/applications") public javax.ws.rs.core.Response getApplications(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getBusinessServices
@GET @Path("/business-services") public javax.ws.rs.core.Response getBusinessServices(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getNodes
@GET @Path("/nodes/{type}") public javax.ws.rs.core.Response getNodes(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam("type") String type)
-
-