[
https://issues.apache.org/jira/browse/ARIES-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14692791#comment-14692791
]
John Ross commented on ARIES-1368:
----------------------------------
Patches attached.
(1) Assign osgi.identity type of osgi.fragment instead of osgi.bundle to
fragment resources.
(2) Add support for the computation of osgi.wiring.host capabilities and
requirements for bundle and fragment resources.
(3) Add tests.
(4) Point subsystem-core to version 2.0.0-SNAPSHOT of aries-testsupport.
(5) Update licenses on already modified files.
I'll commit as soon as I figure out how to set up my credentials again.
> Fragment resources receive the osgi.identity capability type of osgi.bundle
> but should receive osgi.fragment. Also, osgi.wiring.host capabilities and
> requirements are not computed for bundle or fragment resources.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ARIES-1368
> URL: https://issues.apache.org/jira/browse/ARIES-1368
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Affects Versions: subsystem-core-1.0.0, subsystem-core-1.1.0,
> subsystem-core-1.2.0, subsystem-2.0.1, subsystem-2.0.2
> Reporter: Wouter Bancken
> Assignee: John Ross
> Attachments:
> OsgiIdentityCapability.OsgiIdentityCapability(Resource,BundleManifest)-CallHierarchy.jpg,
> org.apache.aries.subsystem.core.patch,
> org.apache.aries.subsystem.itests.patch,
> test-service-fragment-subsystem-1.0.1-SNAPSHOT.esa
>
>
> The computeOsgiIdentityCapability method of the BundleResource is not able to
> compute capabilities for fragments (only for bundles).
> This is caused by the fact that the BundleResource is hardcoded to always
> assume a type of osgi.bundle without inspecting the manifest.
> Link to mailinglist thread:
> http://mail-archives.apache.org/mod_mbox/aries-user/201508.mbox/%3CCAL5nZgTOVhdAPYYFOmuV%3DPquAz1a4n_D1Rd3RBrTfu2znCSjKA%40mail.gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)