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] Commented: (CHUKWA-515) REST API for Agent
Date Tue, 07 Sep 2010 05:40:32 GMT

    [ https://issues.apache.org/jira/browse/CHUKWA-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906677#action_12906677
] 

Bill Graham commented on CHUKWA-515:
------------------------------------

The current patch has

/rest/v1/adaptor

for a list of all adaptors with the metadata and stats for each

and

/rest/v1/adaptor/[adaptor_id]

for a single adaptor's metadata and stats. Is this what you're looking for? (The stats are
few so I rolled them up into the base /adaptor resource.
It seemed like overkill to have both /adaptor and /adaptorStats or /adaptor/stats.)

Are you requesting we change the URI of the resources, or changing what's returned for each
of the two being discussed?

> REST API for Agent
> ------------------
>
>                 Key: CHUKWA-515
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-515
>             Project: Chukwa
>          Issue Type: Sub-task
>          Components: data collection
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>         Attachments: CHUKWA-515-1.patch
>
>
> Develop a REST interface for the Agent to expose Adaptor CRUD operations.
> * Request URI:
> {noformat}
> GET /rest/v1/adaptor HTTP/1.0
> {noformat}
> * For now I'm shooting for the XML and plain text response, but ultimately we can support
optional params:
> {noformat}
> viewType=[json|xml|text] (default is XML?)
> {noformat}
> 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.

-- 
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