Class GraphRestService


  • @Component("graphRestService")
    public class GraphRestService
    extends OnmsRestService
    Read-only API for retrieving graph definitions and determining the list of supported graphs on a particular resource.
    Author:
    jwhite
    • Constructor Detail

      • GraphRestService

        public GraphRestService()
    • Method Detail

      • getGraphByName

        @Transactional(readOnly=true)
        public PrefabGraph getGraphByName​(java.lang.String graphName)
      • getGraphNamesForResource

        @Transactional(readOnly=true)
        public GraphNameCollection getGraphNamesForResource​(java.lang.String resourceId)
      • getGraphResourcesForNode

        @Transactional(readOnly=true)
        public GraphRestService.GraphResourceDTO getGraphResourcesForNode​(java.lang.String nodeCriteria,
                                                                          int depth)