You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/14 17:19:21 UTC
[jira] [Commented] (SLING-4941) JMX-configurable OK/NOK-Check for
testing purposes
[ https://issues.apache.org/jira/browse/SLING-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15490960#comment-15490960 ]
ASF GitHub Bot commented on SLING-4941:
---------------------------------------
Github user ghenzler closed the pull request at:
https://github.com/apache/sling/pull/126
> JMX-configurable OK/NOK-Check for testing purposes
> --------------------------------------------------
>
> Key: SLING-4941
> URL: https://issues.apache.org/jira/browse/SLING-4941
> Project: Sling
> Issue Type: New Feature
> Components: Health Check
> Reporter: Georg Henzler
> Assignee: Carsten Ziegeler
> Fix For: Health Check Core 1.2.4
>
> Attachments: JMX-adjustable-HC-for-testing.png, SLING-4941-JMX-adjustable-HC.patch
>
>
> For testing purposes (infrastructure tests with load balancers etc.) it can be useful to make the result for a given tag(s) fail manually.
> There are two options:
> # provide a check that is configurable via JCR (using metatype configuration).
> # provide a check that can be dynamically added via JMX
> The second options is IMHO nicer, because it's easier to run a JMX operation (compared to adding/changing a configuration in JCR). Also if this feature is not being used, it should not clutter the list of available health checks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)