Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 33683 invoked from network); 19 Jun 2008 11:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2008 11:10:36 -0000 Received: (qmail 39038 invoked by uid 500); 19 Jun 2008 11:10:38 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 39000 invoked by uid 500); 19 Jun 2008 11:10:37 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 38989 invoked by uid 99); 19 Jun 2008 11:10:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 04:10:37 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 11:09:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 262C9234C144 for ; Thu, 19 Jun 2008 04:09:45 -0700 (PDT) Message-ID: <822544660.1213873785142.JavaMail.jira@brutus> Date: Thu, 19 Jun 2008 04:09:45 -0700 (PDT) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-566) More RESTful management console URLs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606329#action_12606329 ] Felix Meschberger commented on FELIX-566: ----------------------------------------- Enabled RESTful URLs for component list in Rev. 669450. Together with this enhancement the display of the bundles and components has been unified > More RESTful management console URLs > ------------------------------------ > > Key: FELIX-566 > URL: https://issues.apache.org/jira/browse/FELIX-566 > Project: Felix > Issue Type: Improvement > Components: Web Console > Reporter: Felix Meschberger > Assignee: Felix Meschberger > > Currently the Management Console URLs are not really REST-ful: > > To get a list of bundles you access /system/console/list. This should rather be /system/console/bundles. > > To get bundle details the URL is /system/console/bundledetails with a request property naming the bundle whose details are to be returned. This should rather be /system/console/bundles/x where x is the bundleID or some other identification of the bundle to access > > To start (or stop or uninstall) a bundle a request to /system/console with an action parameter and a bundleId parameter is POSTed to the console. This should rather use the bundle URL - /system/console/bundles/x as above - and an action parameter denoting the action. > > It should be possible to directly access a certain configuration by URL such as /system/console/configurations/ where is the PID of the configuration or access /system/console/configurations to get all configurations. > > etc. > As a corollary to these changes the current interfaces Action and Render should be dropped and replaced by the venerable Servlet interface. This makes implementation of the URLs easier. On the downside, this might create big servlets for the HTML rendering, which might be solved by using helper classes. > The servlets will need to be registered as OSGi services with appropriate service registration properties. The Console will only pick up servlets registered with the correct property settings. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.