sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Lietz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-7546) Take requirements for services into account
Date Sun, 18 Mar 2018 12:25:00 GMT

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

Oliver Lietz commented on SLING-7546:
-------------------------------------

[~bosschaert], [~cziegeler] I guess proper meta data for capabilities is also required or
at least useful for Sling's features.

> Take requirements for services into account
> -------------------------------------------
>
>                 Key: SLING-7546
>                 URL: https://issues.apache.org/jira/browse/SLING-7546
>             Project: Sling
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Major
>             Fix For: Karaf Features 0.2.0, Karaf Integration Tests 0.2.0, Karaf Distribution
0.2.0
>
>
> Karaf takes requirements for services into account by default when resolving features
({{serviceRequirements}} in {{etc/org.apache.karaf.features.cfg}}).
> This feature has to be disabled for Sling as not all bundles (Sling and Jackrabbit/Oak)
provide proper meta data for capabilities.
> The meta data for missing capabilities can be added to Sling's Karaf features but should
be added to the bundles themselves.
> Proper meta data allows running Sling on Karaf without adjusting Karaf's configuration.
> * [Feature and resolver|https://karaf.apache.org/manual/latest/provisioning#_feature_and_resolver]
> * [KARAF-3520 FeatureService fails to install feature in case of missing capability|KARAF-3520]
> * [KARAF-4980 OSGi framework capabilities: add all services|KARAF-4980]
> * [OSGi Contracts (wonkish)|http://blog.osgi.org/2013/08/osgi-contracts-wonkish.html]
> * [Using Requirements and Capabilities|http://blog.osgi.org/2015/12/using-requirements-and-capabilities.html]
> * [RFP-167 Manifest Annotations|https://github.com/osgi/design/blob/master/rfps/rfp-0167-Manifest-Annotations.pdf]
> * [RFC 220 Bundle Annotations|https://github.com/osgi/design/blob/master/rfcs/rfc0220/rfc-0220-Bundle-Annotations.pdf]
> * [bnd Manifest Annotations|http://bnd.bndtools.org/chapters/230-manifest-annotations.html]
> * [Add support for new OSGi Bundle Annotations (RFC 220)|https://github.com/bndtools/bnd/issues/1343]



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

Mime
View raw message