Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Data Collection
    • None
    • REST API for the Agent. Supports CRUD operations for Adaptors, as well as Adaptor data flow statistics.

    Description

      Develop a REST interface for the Agent to expose Adaptor CRUD operations.

      • Request URI:
        GET /rest/v1/adaptor HTTP/1.0
        
      • For now I'm shooting for the XML and plain text response, but ultimately we can support optional params:
        viewType=[json|xml|text] (default is XML?)
        

      I'm planning on using Jetty similar to how the collector does. We could have some common code that delegates requests to different handlers based on the URI. The current telnet interface will remain as-is.

      Attachments

        1. CHUKWA-515-4.patch
          49 kB
          William W. Graham Jr
        2. CHUKWA-515-3.patch
          53 kB
          William W. Graham Jr
        3. CHUKWA-515-2.patch
          52 kB
          William W. Graham Jr
        4. CHUKWA-515-1.patch
          51 kB
          William W. Graham Jr

        Activity

          People

            billgraham William W. Graham Jr
            billgraham William W. Graham Jr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: