[ 
https://issues.apache.org/jira/browse/SLING-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624573#comment-14624573
 ] 

Georg Henzler commented on SLING-4862:
--------------------------------------

[~npeltier] for testing purposes, I think an easy dummy HC that can be 
configured via OSGi to return WARN/CRITICAL is probably the easiest and 
cleanest solution. 

Regarding decoupling: our solution provides decoupled renderers for Json and 
Html, txt could easily be added. Also it is possible to send Http 503 (useful 
for load balancers) or 200 (default for html response to browser) for 
WARN/CRITICAL controlled by request Params. I will create a patch once I'm back 
in the office.



> 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
>
> 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