Author: bdelacretaz
Date: Wed Jun 5 15:27:01 2013
New Revision: 1489913
URL: http://svn.apache.org/r1489913
Log:
document webconsole plugin
Modified:
sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext
Modified:
sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext?rev=1489913&r1=1489912&r2=1489913&view=diff
==============================================================================
---
sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext
(original)
+++
sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext
Wed Jun 5 15:27:01 2013
@@ -11,26 +11,20 @@ Custom rules can be created by supplying
The source code of the hc modules is at
[http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck](http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck).
## How to test the provided demo rules
-The health check tool is currently (April 2013) not included in the default
Sling launchpad, so you need to add
+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:
1. Start a standalone Sling instance from _launchpad/builder_
1. Install the _org.apache.sling.junit.core_ bundle, version 1.0.8 or later.
1. Build the _contrib/extensions/healthcheck_ modules.
-1. From that module, install the _org.apache.sling.hc.core_ ,
_org.apache.sling.hc.rules_ and _org.apache.sling.hc.sling_ bundles.
-1. As admin, open [http://localhost:8080/apps/hc/demo.healthcheck.json][1] to
see the evaluation result of the rules defined at
[http://localhost:8080/apps/hc/demo.tidy.4.json][2]
+1. From that module, install the _org.apache.sling.hc.core_ ,
_org.apache.sling.hc.rules_ , _org.apache.sling.hc.sling_ and
_org.apache.sling.hc.slingdemo_ bundles.
+1. Open the health check webconsole plugin at _/system/console/healthcheck_
and follow the instructions. The _org.apache.sling.hc.slingdemo_ bundle
provides a set of example rules under _/apps/hc_ , you can use that for testing.
-Rules can have a multi-value "tags" property that allows them to be executed
in groups. Try [http://localhost:8080/apps/hc/demo.healthcheck.bundles.json][3]
-and [http://localhost:8080/apps/hc/demo.healthcheck.bundles.sling.json][4] for
example.
+You can also see the raw output of the rules execution servlet (as admin) at
_/apps/hc/demo.healthcheck.json_
+and the example rules content at _/apps/hc/demo.tidy.infinity.json_ .
+
+Rules can have a multi-value _tags_ property that allows them to be executed
in groups. Entering _sling,bundles_ as tags in the webconsole
+plugin form, or using them as selectors (
_/apps/hc/demo.healthcheck.bundles.sling.json_ ) demonstrates this feature.
## Known issues
See [SLING-2822](https://issues.apache.org/jira/browse/SLING-2822) for details.
-
-## TODO for this page
-* Describe the JSON evaluation output
-
-
- [1]: http://localhost:8080/apps/hc/demo.healthcheck.json
- [2]: http://localhost:8080/apps/hc/demo.tidy.4.json
- [3]: http://localhost:8080/apps/hc/demo.healthcheck.bundles.json
- [4]: http://localhost:8080/apps/hc/demo.healthcheck.bundles.sling.json