[
https://issues.apache.org/jira/browse/SLING-3624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-3624.
----------------------------------------
Resolution: Fixed
Fix Version/s: Health Check samples 1.0.6
Health Check integration tests 1.0.6
Thanks [~henzlerg], I have applied this new patch in
http://svn.apache.org/r1614826
Also added some tests in http://svn.apache.org/r1614829 and
http://svn.apache.org/r1614840
With this I think we can mark this issue as fixed, thanks for your
contributions!
> Add SlingHealthCheck annotation
> -------------------------------
>
> Key: SLING-3624
> URL: https://issues.apache.org/jira/browse/SLING-3624
> Project: Sling
> Issue Type: Improvement
> Components: Health Check
> Affects Versions: Health Check Core 1.1.0
> Reporter: Bjoern Weide
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Health Check Core 1.1.2, Health Check integration tests
> 1.0.6, Health Check samples 1.0.6
>
> Attachments:
> SLING-3624-HC-annotation-with-additional-properties.patch,
> slinghealthcheck_annotation.txt
>
>
> Add a SlingHealthCheck annotation (similar to SlingServlet). The metatype
> property should set to true per default since its probably common to
> configure healthchecks. Usage examples:
> {code:title=Examples|borderStyle=solid}
> @SlingHealthCheck(name = BundlesStartedCheck.HC_NAME, label = "Apache Sling
> Health Check - " + BundlesStartedCheck.HC_NAME, description = "Checks whether
> all bundles are started.", tags = "osgi")
> @SlingHealthCheck(name = DiskSpaceCheck.HC_NAME, label = "Apache Sling Health
> Check - " + DiskSpaceCheck.HC_NAME,
> description = "Checks whether enough disk space is available.", tags
> = "resources", configurationFactory = true,
> configurationPolicy = ConfigurationPolicy.REQUIRE)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)