You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Georg Henzler (JIRA)" <ji...@apache.org> on 2018/12/19 21:35:00 UTC

[jira] [Created] (FELIX-6004) Create a health check annotation based on OSGi R7 component property types

Georg Henzler created FELIX-6004:
------------------------------------

             Summary: Create a health check annotation based on OSGi R7 component property types
                 Key: FELIX-6004
                 URL: https://issues.apache.org/jira/browse/FELIX-6004
             Project: Felix
          Issue Type: New Feature
          Components: Health Checks
            Reporter: Georg Henzler
            Assignee: Georg Henzler


In the same way as it was possible for Sling HCs [1] (based on felix SCR plugin), there should be a @HealthCheck annotation that sets the SCR properties in a type-safe matter. This seems to be supported since OSGi R7 via component property types [2] and is already used by the http whiteboard [3].

[1] https://sling.apache.org/documentation/bundles/sling-health-check-tool.html#slinghealthcheck-annotation
[2] https://blog.osgi.org/2018/03/osgi-r7-highlights-declarative-services.html
[3] https://blog.osgi.org/2018/05/osgi-r7-highlights-http-whiteboard.html




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)