Return-Path: Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: (qmail 12434 invoked from network); 3 Sep 2010 06:32:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 06:32:56 -0000 Received: (qmail 94679 invoked by uid 500); 3 Sep 2010 06:32:56 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 94608 invoked by uid 500); 3 Sep 2010 06:32:54 -0000 Mailing-List: contact chukwa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@incubator.apache.org Delivered-To: mailing list chukwa-dev@incubator.apache.org Received: (qmail 94599 invoked by uid 99); 3 Sep 2010 06:32:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 06:32:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 06:32:52 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o836WWcF015199 for ; Fri, 3 Sep 2010 06:32:32 GMT Message-ID: <2558212.7091283495552458.JavaMail.jira@thor> Date: Fri, 3 Sep 2010 02:32:32 -0400 (EDT) From: "Ari Rabkin (JIRA)" To: chukwa-dev@incubator.apache.org Subject: [jira] Commented: (CHUKWA-515) REST API for Agent In-Reply-To: <13775783.9101282844393269.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CHUKWA-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905811#action_12905811 ] Ari Rabkin commented on CHUKWA-515: ----------------------------------- Uhm. There isn't a clean way to do that. The original vision was that "cluster" was more general than machine and would be not only agent-wide but cluster-wide. There's a second problem, which is that right now, Chunk tags can only be added, not updated. This is a Bad Thing, I think. Middling annoying to fix. How badly do you need this feature, and why? > 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.