[ 
https://issues.apache.org/jira/browse/SLING-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Georg Henzler updated SLING-4862:
---------------------------------
    Attachment: SLING-4862-HealthCheckExecutorServlet.patch

Attached a patch for a servlet that lives at /sling/health. The following 
request parameters can be used:

- tags: The health check tags to take into account (comma-separated list)
- format: html|json|jsonp<br/>
- includeDebug: If true, debug messages from result log are included
- callback: For jsonp, the JS callback function name (defaults to 
"processHealthCheckResults")
- onCriticalHttp503: Will send Http code 503 "Service Unavailable" if overall 
status is critical (useful in combination with load balancers)


> Sling Health Checks Servlet
> ---------------------------
>
>                 Key: SLING-4862
>                 URL: https://issues.apache.org/jira/browse/SLING-4862
>             Project: Sling
>          Issue Type: Improvement
>          Components: Health Check
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: SLING-4862-HealthCheckExecutorServlet.patch
>
>
> A Servlet that can execute health checks would be useful.
> It can take as input the tags of the HCs to execute, and output their results 
> in JSON format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to