You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2013/06/06 16:52:52 UTC
svn commit: r864672 - in /websites/staging/sling/trunk/content: ./
documentation/bundles/sling-hc-plugin.jpg
documentation/bundles/sling-health-check-tool.html
Author: buildbot
Date: Thu Jun 6 14:52:52 2013
New Revision: 864672
Log:
Staging update by buildbot for sling
Added:
websites/staging/sling/trunk/content/documentation/bundles/sling-hc-plugin.jpg (with props)
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 Thu Jun 6 14:52:52 2013
@@ -1 +1 @@
-1489916
+1490312
Added: websites/staging/sling/trunk/content/documentation/bundles/sling-hc-plugin.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/sling/trunk/content/documentation/bundles/sling-hc-plugin.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
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 Thu Jun 6 14:52:52 2013
@@ -102,16 +102,21 @@ the required bundles to a Sling trunk in
<li>Optionally install the <em>org.apache.sling.junit.core</em> bundle, version 1.0.8 or later, if you want to enable JUnit-based rules.</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> , <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>
+<li>Open the health check webconsole 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>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="webconsole-plugin">Webconsole plugin</h2>
+<p>As mentioned above, a webconsole plugin at <em>/system/console/healthcheck</em> allows for executing health check rules, optionally selected based on their
+tags and optionally showing only results from rules that have something to report (as in "no news is good news").</p>
+<p>The screenshot below shows an example, as of svn revision 1490286.</p>
+<p><img alt="" src="sling-hc-plugin.jpg" /></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>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1489916 by bdelacretaz on Wed, 5 Jun 2013 15:28:36 +0000
+ Rev. 1490312 by bdelacretaz on Thu, 6 Jun 2013 14:52:41 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project