You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2013/09/26 11:44:22 UTC
svn commit: r1526435 -
/sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext
Author: bdelacretaz
Date: Thu Sep 26 09:44:22 2013
New Revision: 1526435
URL: http://svn.apache.org/r1526435
Log:
Mention out of the box JUnitHealthCheck
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=1526435&r1=1526434&r2=1526435&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 Thu Sep 26 09:44:22 2013
@@ -90,12 +90,15 @@ The `org.apache.sling.hc.samples` bundle
* `ScriptableHealthCheck` evaluates an expression written in any scripting language that Sling supports, and provides bindings to access JMX attributes.
* `CompositeHealthCheck` executes a set of `HealthCheck` selected by tags, useful for creating higher-level checks.
-And a few more Sling-specific ones are provided by the `org.apache.sling.hc.support` bundle:
+A few more Sling-specific ones are provided by the `org.apache.sling.hc.support` bundle:
* `SlingRequestStatusHealthCheck` checks the HTTP status of Sling requests.
* `DefaultLoginsHealthCheck` can be used to verify that the default Sling logins fail.
+
+A bridge to server-side OSGi-aware JUnit tests is provided by the `JUnitHealthCheck`, from
+the `org.apache.sling.junit.healthcheck ` bundle.
-Finally, the `org.apache.sling.hc.samples` bundle provides an example `OsgiScriptBindingsProvider` for the default `ScriptableHealthCheck`,
+The `org.apache.sling.hc.samples` bundle provides an example `OsgiScriptBindingsProvider` for the default `ScriptableHealthCheck`,
which provides OSGi-related information to health check script expressions.
## Configuring health checks