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 2015/08/12 16:16:42 UTC

svn commit: r961626 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/sling-health-check-tool.html

Author: buildbot
Date: Wed Aug 12 14:16:42 2015
New Revision: 961626

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 Aug 12 14:16:42 2015
@@ -1 +1 @@
-1695530
+1695532

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 Aug 12 14:16:42 2015
@@ -259,10 +259,13 @@ domain <code>org.apache.sling.healthchec
 <p>Starting with version 1.2.4 of the <code>org.apache.sling.hc.core</code> bundle, a flexible Health Checks execution servlet is available. It provides
 similar features to the Web Console plugin described above, with output in HTML, JSON, JSONP and TXT formats.</p>
 <p>The Health Checks Servlet is disabled by default, to enable it create an OSGi configuration like</p>
-<p>PID = org.apache.sling.hc.core.impl.servlet.HealthCheckExecutorServlet
-  servletPath = /system/health</p>
+<div class="codehilite"><pre><span class="n">PID</span> <span class="p">=</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">sling</span><span class="p">.</span><span class="n">hc</span><span class="p">.</span><span class="n">core</span><span class="p">.</span><span class="n">impl</span><span class="p">.</span><span class="n">servlet</span><span class="p">.</span><span class="n">HealthCheckExecutorServlet</span>
+<span class="n">servletPath</span> <span class="p">=</span> <span class="o">/</span><span class="n">system</span><span class="o">/</span><span class="n">health</span>
+</pre></div>
+
+
 <p>which specifies the servlet's base path. That URL then returns an HTML page, by default with the results of all active health checks and
-with instructions at the end of the page about which URL parameters can be used to select specific Health Checks and control their execution
+with instructions at the end of the page about URL parameters which can be used to select specific Health Checks and control their execution
 and output format.</p>
 <p>Note that <em>the Health Checks Servlet doesn't do any access control by itself</em>, so make sure the configured path is secure before enabling it.</p>
 <h2 id="health-checks-as-server-side-junit-tests">Health Checks as server-side JUnit tests<a class="headerlink" href="#health-checks-as-server-side-junit-tests" title="Permanent link">&para;</a></h2>
@@ -277,7 +280,7 @@ to run the corresponding Health Checks.<
 <p>To run the Health Check tests at build time, see the <a href="http://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests">testing/samples/integration-tests</a>
 sample module.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1695530 by bdelacretaz on Wed, 12 Aug 2015 14:15:07 +0000
+        Rev. 1695532 by bdelacretaz on Wed, 12 Aug 2015 14:16:33 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project