You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bu...@apache.org on 2013/01/29 16:27:09 UTC

svn commit: r848434 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-web-console/web-console-restful-api.html

Author: buildbot
Date: Tue Jan 29 15:27:09 2013
New Revision: 848434

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jan 29 15:27:09 2013
@@ -1 +1 @@
-1439922
+1439934

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html Tue Jan 29 15:27:09 2013
@@ -318,13 +318,7 @@ Due to a bug <a href="https://issues.apa
 
 <h3 id="post-requests">POST Requests</h3>
 <p>To update the bundles the <code>action</code> request parameter is used to indicate the action:</p>
-<p>| Action | Requires a Bundle | Description |
-|--|--|--|</p>
 <dl>
-<dt><code>refreshPackages</code></dt>
-<dd>Calls <code>PackageAdmin.refreshPackages(Bundle[]())</code> with a <code>null</code>
-argument -- refreshing all pending bundles. This action does not require a bundle
-in the URL and just ignores if one is provided.</dd>
 <dt><code>install</code></dt>
 <dd>
 <p>Installs (or updates) and optionally starts one or more bundles. Parameters:</p>
@@ -332,7 +326,7 @@ in the URL and just ignores if one is pr
 <li><code>bundlestart</code> -- whether to start newly installed bundles or not. Has no influence on updated bundles.</li>
 <li><code>bundlestartlevel</code> -- the start level to set on newly installed bundles. Has no influence on updated bundles.</li>
 <li><code>bundlefile</code> -- 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.</li>
-<li><code>refreshPackages</code> -- whether to call <code>PackageAdmin.refreshPackages(Bundle[]())</code> with the installed/updated bundles after installation/update.</li>
+<li><code>refreshPackages</code> -- whether to call <code>PackageAdmin.refreshPackages(Bundle[])</code> with the installed/updated bundles after installation/update.</li>
 </ul>
 </dd>
 <dt><code>start</code></dt>
@@ -345,7 +339,7 @@ in the URL and just ignores if one is pr
 </dd>
 <dt><code>refresh</code></dt>
 <dd>
-<p>Calls <code>PackageAdmin.refreshPackages(Bundle[]())</code> with the
+<p>Calls <code>PackageAdmin.refreshPackages(Bundle[])</code> 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.</p>
 </dd>
@@ -359,6 +353,12 @@ to update the bundle through the OBR.</p
 <p>Calls <code>Bundle.uninstall()</code> on the bundle addressed by the request URL. After the
 installation the framework must be refreshed (see <code>refreshPackages</code> above).</p>
 </dd>
+<dt><code>refreshPackages</code></dt>
+<dd>
+<p>Calls <code>PackageAdmin.refreshPackages(Bundle[])</code> with a <code>null</code>
+argument thus refreshing all pending bundles. This action does not require a bundle
+in the URL and just ignores if one is provided.</p>
+</dd>
 </dl>
 <p>The response on those actions requiring a bundle is a simple JSON response:</p>
 <div class="codehilite"><pre><span class="p">{</span>
@@ -375,7 +375,7 @@ installation the framework must be refre
 <h2 id="configuration-admin-plugin">Configuration Admin Plugin</h2>
 <p>TBD</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1439922 by fmeschbe on Tue, 29 Jan 2013 15:15:43 +0000
+        Rev. 1439932 by fmeschbe on Tue, 29 Jan 2013 15:26:47 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project