Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F0FD10A7A for ; Thu, 26 Sep 2013 09:46:38 +0000 (UTC) Received: (qmail 7056 invoked by uid 500); 26 Sep 2013 09:44:56 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 7011 invoked by uid 500); 26 Sep 2013 09:44:51 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 6999 invoked by uid 99); 26 Sep 2013 09:44:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 09:44:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 09:44:44 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id F0C952388900; Thu, 26 Sep 2013 09:44:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1526435 - /sling/site/trunk/content/documentation/bundles/sling-health-check-tool.mdtext Date: Thu, 26 Sep 2013 09:44:22 -0000 To: commits@sling.apache.org From: bdelacretaz@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130926094422.F0C952388900@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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