Author: buildbot
Date: Wed Jun 5 15:27:20 2013
New Revision: 864543
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 5 15:27:20 2013
@@ -1 +1 @@
-1489487
+1489913
Modified:
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
(original)
+++
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Wed Jun 5 15:27:20 2013
@@ -95,25 +95,23 @@ accounts, JUnit tests results and the ou
<p>Custom rules can be created by supplying <em>RuleBuilder</em> OSGi
services, see the <em>hc-sling</em> and <em>sling-demo</em> modules for
examples.</p>
<p>The source code of the hc modules is at <a
href="http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck">http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck</a>.</p>
<h2 id="how-to-test-the-provided-demo-rules">How to test the provided demo
rules</h2>
-<p>The health check tool is currently (April 2013) not included in the default
Sling launchpad, so you need to add
+<p>The health check tool is currently (June 2013) not included in the default
Sling launchpad, so you need to add
the required bundles to a Sling trunk instance to run the demo, as follows:</p>
<ol>
<li>Start a standalone Sling instance from <em>launchpad/builder</em></li>
<li>Install the <em>org.apache.sling.junit.core</em> bundle, version 1.0.8 or
later.</li>
<li>Build the <em>contrib/extensions/healthcheck</em> modules.</li>
-<li>From that module, install the <em>org.apache.sling.hc.core</em> ,
<em>org.apache.sling.hc.rules</em> and <em>org.apache.sling.hc.sling</em>
bundles.</li>
-<li>As admin, open <a
href="http://localhost:8080/apps/hc/demo.healthcheck.json">http://localhost:8080/apps/hc/demo.healthcheck.json</a>
to see the evaluation result of the rules defined at <a
href="http://localhost:8080/apps/hc/demo.tidy.4.json">http://localhost:8080/apps/hc/demo.tidy.4.json</a></li>
+<li>From that module, install the <em>org.apache.sling.hc.core</em> ,
<em>org.apache.sling.hc.rules</em> , <em>org.apache.sling.hc.sling</em> and
<em>org.apache.sling.hc.slingdemo</em> bundles.</li>
+<li>Open the health check webconsole plugin at
<em>/system/console/healthcheck</em> and follow the instructions. The
<em>org.apache.sling.hc.slingdemo</em> bundle provides a set of example rules
under <em>/apps/hc</em> , you can use that for testing.</li>
</ol>
-<p>Rules can have a multi-value "tags" property that allows them to be
executed in groups. Try <a
href="http://localhost:8080/apps/hc/demo.healthcheck.bundles.json">http://localhost:8080/apps/hc/demo.healthcheck.bundles.json</a>
-and <a
href="http://localhost:8080/apps/hc/demo.healthcheck.bundles.sling.json">http://localhost:8080/apps/hc/demo.healthcheck.bundles.sling.json</a>
for example.</p>
+<p>You can also see the raw output of the rules execution servlet (as admin)
at <em>/apps/hc/demo.healthcheck.json</em>
+and the example rules content at <em>/apps/hc/demo.tidy.infinity.json</em>
.</p>
+<p>Rules can have a multi-value <em>tags</em> property that allows them to be
executed in groups. Entering <em>sling,bundles</em> as tags in the webconsole
+plugin form, or using them as selectors (
<em>/apps/hc/demo.healthcheck.bundles.sling.json</em> ) demonstrates this
feature.</p>
<h2 id="known-issues">Known issues</h2>
<p>See <a
href="https://issues.apache.org/jira/browse/SLING-2822">SLING-2822</a> for
details.</p>
-<h2 id="todo-for-this-page">TODO for this page</h2>
-<ul>
-<li>Describe the JSON evaluation output</li>
-</ul>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1489487 by bdelacretaz on Tue, 4 Jun 2013 15:46:20 +0000
+ Rev. 1489913 by bdelacretaz on Wed, 5 Jun 2013 15:27:01 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project