Interface FlowRestService

    • Method Detail

      • getFlowCount

        Long getFlowCount​(@Context
                          javax.ws.rs.core.UriInfo uriInfo)
        Retrieves the number of flows persisted in the repository. Supports filtering.
        Parameters:
        uriInfo - JAX-RS context
        Returns:
        number of flows that match the given query
      • getFlowExporters

        List<FlowNodeSummary> getFlowExporters()
        Retrieves a summary of the nodes that have exported flows. Supports filtering.
        Returns:
        node summaries
      • getFlowExporter

        FlowNodeDetails getFlowExporter​(Integer nodeId)
        Retrieved detailed information about a specific node. Supports filtering.
        Parameters:
        nodeId - node id
        Returns:
        node details
      • getDscpValues

        List<Integer> getDscpValues​(@Context
                                    javax.ws.rs.core.UriInfo uriInfo)
      • getDscpSummaries

        FlowSummaryResponse getDscpSummaries​(@Context
                                             javax.ws.rs.core.UriInfo uriInfo)
      • getDscpSeries

        FlowSeriesResponse getDscpSeries​(long step,
                                         @Context
                                         javax.ws.rs.core.UriInfo uriInfo)
      • getApplications

        List<String> getApplications​(String matchingPrefix,
                                     long limit,
                                     @Context
                                     javax.ws.rs.core.UriInfo uriInfo)
        Retrieve the list of applications. Supports filtering.
        Parameters:
        matchingPrefix - a string prefix that can be used to further filter the results
        limit - the maximum number of applications to return
        Returns:
        the list of applications
      • getApplicationSummary

        FlowSummaryResponse getApplicationSummary​(Integer N,
                                                  Set<String> applications,
                                                  boolean includeOther,
                                                  @Context
                                                  javax.ws.rs.core.UriInfo uriInfo)
      • getApplicationSeries

        FlowSeriesResponse getApplicationSeries​(long step,
                                                Integer N,
                                                Set<String> applications,
                                                boolean includeOther,
                                                @Context
                                                javax.ws.rs.core.UriInfo uriInfo)
      • getHosts

        List<String> getHosts​(String regex,
                              long limit,
                              @Context
                              javax.ws.rs.core.UriInfo uriInfo)
        Retrieve the list of hosts. Supports filtering.
        Parameters:
        prefix - a string prefix that can be used to further filter the results
        limit - the maximum number of hosts to return
        Returns:
        the list of hosts
      • getConversations

        List<String> getConversations​(String locationPattern,
                                      String protocolPattern,
                                      String lowerIPPattern,
                                      String upperIPPattern,
                                      String applicationPattern,
                                      long limit,
                                      @Context
                                      javax.ws.rs.core.UriInfo uriInfo)
        Retrieve the list of conversations. Supports filtering.
        Parameters:
        locationPattern - the regex pattern for the location field
        protocolPattern - the regex pattern for the protocol field
        lowerIPPattern - the regex pattern for the lower IP field
        upperIPPattern - the regex pattern for the upper IP field
        applicationPattern - the regex pattern for the application field
        limit - limit for how many conversations to return
        Returns:
        the list of conversations
      • getConversationSummary

        FlowSummaryResponse getConversationSummary​(Integer N,
                                                   Set<String> conversations,
                                                   boolean includeOther,
                                                   @Context
                                                   javax.ws.rs.core.UriInfo uriInfo)
      • getConversationSeries

        FlowSeriesResponse getConversationSeries​(long step,
                                                 Integer N,
                                                 Set<String> conversations,
                                                 boolean includeOther,
                                                 @Context
                                                 javax.ws.rs.core.UriInfo uriInfo)
      • getFlowGraphUrlInfo

        FlowGraphUrlInfo getFlowGraphUrlInfo​(@Context
                                             javax.ws.rs.core.UriInfo uriInfo)