chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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:

http://mail-archives.apache.org/mod_mbox/hadoop-chukwa-dev/201008.mbox/%3CAANLkTimC8N0ZGCrAt6MiftOJQar+uLXY5KekOrqTE5Tk@mail.gmail.com%3E

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

* Add Adaptor:

{noformat}
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 ...] }
{noformat}

Returns: adaptor metadata including id

* Get Adaptor by id:

{noformat}
GET /rest/v1/adaptor/[id] HTTP/1.0
{noformat}

* Remove Adaptor by id:

{noformat}
DELETE /rest/v1/adaptor/[id] HTTP/1.0
{noformat}

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

* Help
{noformat}
GET /rest/v1/help HTTP/1.0
{noformat}

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

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

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


Mime
View raw message