Return-Path: X-Original-To: apmail-felix-commits-archive@www.apache.org Delivered-To: apmail-felix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54605E609 for ; Tue, 29 Jan 2013 15:27:24 +0000 (UTC) Received: (qmail 35893 invoked by uid 500); 29 Jan 2013 15:27:23 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 35840 invoked by uid 500); 29 Jan 2013 15:27:23 -0000 Mailing-List: contact commits-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 commits@felix.apache.org Received: (qmail 35738 invoked by uid 99); 29 Jan 2013 15:27:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 15:27:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 15:27:21 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5743A2388A3D; Tue, 29 Jan 2013 15:27:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1439932 - /felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext Date: Tue, 29 Jan 2013 15:27:01 -0000 To: commits@felix.apache.org From: fmeschbe@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130129152701.5743A2388A3D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fmeschbe Date: Tue Jan 29 15:26:47 2013 New Revision: 1439932 URL: http://svn.apache.org/viewvc?rev=1439932&view=rev Log: CMS commit to felix by fmeschbe Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext?rev=1439932&r1=1439931&r2=1439932&view=diff ============================================================================== --- felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext (original) +++ felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext Tue Jan 29 15:26:47 2013 @@ -247,21 +247,13 @@ This URL returns detailed information of To update the bundles the `action` request parameter is used to indicate the action: -| Action | Requires a Bundle | Description | -|--|--|--| - -`refreshPackages` -: Calls `PackageAdmin.refreshPackages(Bundle[]({{ refs..path }}))` with a `null` - argument -- refreshing all pending bundles. This action does not require a bundle - in the URL and just ignores if one is provided. - `install` : Installs (or updates) and optionally starts one or more bundles. Parameters: * `bundlestart` -- whether to start newly installed bundles or not. Has no influence on updated bundles. * `bundlestartlevel` -- the start level to set on newly installed bundles. Has no influence on updated bundles. * `bundlefile` -- one or more uploaded files being the bundles to install or update. The manifests in the bundles are inspected to see whether any bundle is an update or new install. - * `refreshPackages` -- whether to call `PackageAdmin.refreshPackages(Bundle[]({{ refs..path }}))` with the installed/updated bundles after installation/update. + * `refreshPackages` -- whether to call `PackageAdmin.refreshPackages(Bundle[])` with the installed/updated bundles after installation/update. `start` : Starts the bundle addressed by the request URL. @@ -270,7 +262,7 @@ To update the bundles the `action` reque : Stops the bundle addressed by the request URL. `refresh` -: Calls `PackageAdmin.refreshPackages(Bundle[]({{ refs..path }}))` with the +: Calls `PackageAdmin.refreshPackages(Bundle[])` with the bundle as its sole argument thus forcing the bundle to be rewired. The bundle is required to be addressed by the request URL. @@ -282,6 +274,11 @@ To update the bundles the `action` reque : Calls `Bundle.uninstall()` on the bundle addressed by the request URL. After the installation the framework must be refreshed (see `refreshPackages` above). +`refreshPackages` +: Calls `PackageAdmin.refreshPackages(Bundle[])` with a `null` + argument thus refreshing all pending bundles. This action does not require a bundle + in the URL and just ignores if one is provided. + The response on those actions requiring a bundle is a simple JSON response: