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

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

Cool, thanks Ari. I'm close to having a patch with all CRUD operations. The one 
snag I've hit that you might be able to help with though, is how to add a new 
adaptor bound to a given "Cluster"? Currently the cluster tag is configured on 
the Agent for all adaptors, but I can't seem to figure out how to override the 
default Cluster on a per-adaptor basis.

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

Reply via email to