Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: Data Collection
    • Labels:
      None
    • Release Note:
      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.

      1. CHUKWA-515-1.patch
        51 kB
        Bill Graham
      2. CHUKWA-515-2.patch
        52 kB
        Bill Graham
      3. CHUKWA-515-3.patch
        53 kB
        Bill Graham
      4. CHUKWA-515-4.patch
        49 kB
        Bill Graham

        Activity

          People

          • Assignee:
            Bill Graham
            Reporter:
            Bill Graham
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development