Package org.opennms.web.rest.v1
Class HeatMapRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.HeatMapRestService
-
@Component("heatMapRestService") @Path("heatmap") public class HeatMapRestService extends OnmsRestService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description HeatMapRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
alarmsByCategories()
javax.ws.rs.core.Response
alarmsByForeignsources()
javax.ws.rs.core.Response
alarmsByServices()
javax.ws.rs.core.Response
alarmsOfNodesByCategory(String category)
javax.ws.rs.core.Response
alarmsOfNodesByForeignSource(String foreignSource)
javax.ws.rs.core.Response
alarmsOfNodesByService(String monitoredService)
javax.ws.rs.core.Response
outagesByCategories()
javax.ws.rs.core.Response
outagesByForeignsources()
javax.ws.rs.core.Response
outagesByServices()
javax.ws.rs.core.Response
outagesOfNodesByCategory(String category)
javax.ws.rs.core.Response
outagesOfNodesByForeignSource(String foreignSource)
javax.ws.rs.core.Response
outagesOfNodesByService(String monitoredService)
-
Methods inherited from class org.opennms.web.rest.v1.OnmsRestService
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
-
-
-
-
Method Detail
-
outagesByCategories
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("outages/categories") public javax.ws.rs.core.Response outagesByCategories() throws IOException
- Throws:
IOException
-
outagesByForeignsources
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("outages/foreignSources") public javax.ws.rs.core.Response outagesByForeignsources() throws IOException
- Throws:
IOException
-
outagesByServices
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("outages/monitoredServices") public javax.ws.rs.core.Response outagesByServices() throws IOException
- Throws:
IOException
-
outagesOfNodesByCategory
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("outages/nodesByCategory/{category}") public javax.ws.rs.core.Response outagesOfNodesByCategory(@PathParam("category") String category) throws IOException
- Throws:
IOException
-
outagesOfNodesByForeignSource
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("outages/nodesByForeignSource/{foreignSource}") public javax.ws.rs.core.Response outagesOfNodesByForeignSource(@PathParam("foreignSource") String foreignSource) throws IOException
- Throws:
IOException
-
outagesOfNodesByService
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("outages/nodesByMonitoredService/{monitoredService}") public javax.ws.rs.core.Response outagesOfNodesByService(@PathParam("monitoredService") String monitoredService) throws IOException
- Throws:
IOException
-
alarmsByCategories
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("alarms/categories") public javax.ws.rs.core.Response alarmsByCategories() throws IOException
- Throws:
IOException
-
alarmsByForeignsources
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("alarms/foreignSources") public javax.ws.rs.core.Response alarmsByForeignsources() throws IOException
- Throws:
IOException
-
alarmsByServices
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("alarms/monitoredServices") public javax.ws.rs.core.Response alarmsByServices() throws IOException
- Throws:
IOException
-
alarmsOfNodesByCategory
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("alarms/nodesByCategory/{category}") public javax.ws.rs.core.Response alarmsOfNodesByCategory(@PathParam("category") String category) throws IOException
- Throws:
IOException
-
alarmsOfNodesByForeignSource
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("alarms/nodesByForeignSource/{foreignSource}") public javax.ws.rs.core.Response alarmsOfNodesByForeignSource(@PathParam("foreignSource") String foreignSource) throws IOException
- Throws:
IOException
-
alarmsOfNodesByService
@GET @Produces({"application/xml","application/json"}) @Transactional @Path("alarms/nodesByMonitoredService/{monitoredService}") public javax.ws.rs.core.Response alarmsOfNodesByService(@PathParam("monitoredService") String monitoredService) throws IOException
- Throws:
IOException
-
-