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/%[email protected]%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.