Class AvailabilityRestService


  • @Component("availabilityRestService")
    @Path("availability")
    @Transactional
    @Produces({"application/xml","application/json","application/atom+xml"})
    public class AvailabilityRestService
    extends OnmsRestService
    Basic Web Service using REST for Availability/RTC information.
    Since:
    15.0.2
    Author:
    Benjamin Reed
    • Constructor Detail

      • AvailabilityRestService

        public AvailabilityRestService()
    • Method Detail

      • getNodeAvailability

        @GET
        public org.opennms.web.rest.v1.AvailabilityRestService.AvailabilityData getNodeAvailability()
      • getCategory

        @GET
        @Path("/categories/{category}")
        public Category getCategory​(@PathParam("category")
                                    String categoryName)
      • getCategoryNodes

        @GET
        @Path("/categories/{category}/nodes")
        public NodeList getCategoryNodes​(@PathParam("category")
                                         String categoryName)
      • getCategoryNode

        @GET
        @Path("/categories/{category}/nodes/{nodeId}")
        public AvailabilityNode getCategoryNode​(@PathParam("category")
                                                String categoryName,
                                                @PathParam("nodeId")
                                                Long nodeId)