chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <>
Subject [jira] Created: (CHUKWA-514) REST API for agent
Date Thu, 26 Aug 2010 16:55:54 GMT
REST API for agent 

                 Key: CHUKWA-514
             Project: Chukwa
          Issue Type: New Feature
          Components: data collection
            Reporter: Bill Graham

This is a roll-up JIRA to create a REST API for the Agent per this discussion:

Child JIRA's for each REST resource can hang off this one. The following REST access points
have been discussed:

* Add Adaptor:

POST /rest/v1.0/adaptor HTTP/1.0
Accept: text/plain
Content-Type: application/json
{ "RecordType" : "[recordType]", "Cluster": "[clusterName]", [adaptor configs including offset,
other tags ...] }

Returns: adaptor metadata including id

* Get Adaptor by id:

GET /rest/v1/adaptor/[id] HTTP/1.0

* Remove Adaptor by id:

DELETE /rest/v1/adaptor/[id] HTTP/1.0

* List all adaptors:
GET /rest/v1/adaptor HTTP/1.0

* Help
GET /rest/v1/help HTTP/1.0

* Statistics for all adaptors
GET /rest/v1/adaptorStats HTTP/1.0

* Statistics for a single adaptor by id
GET /rest/v1/adaptorStats/[id] HTTP/1.0

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message