[
https://issues.apache.org/jira/browse/ARIES-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237607#comment-15237607
]
John Ross commented on ARIES-1523:
----------------------------------
After flushing out the issue a bit more with a test case, it's evident there
are slightly different manifestations depending on the value of the
apache-aries-provision-dependencies directive.
For apache-aries-provision-dependencies:=install, the host bundle will appear
in the content repository as a FelixResourceAdapter. The adapter does return an
osgi.wiring.host capability when calling getCapabilities(null).
For apache-aries-provision-dependencies:=resolve, the same thing applies.
Additionally, because the content resources have already been installed, a
matching capability is found in the system repository during dependency
resolution as the subsystem starts. The capability is considered invalid,
however, because the validation algorithm does not take into account that both
the provider and requirer are in the same region.
> Application with fragment in archive and host in OBR will fail to resolve.
> --------------------------------------------------------------------------
>
> Key: ARIES-1523
> URL: https://issues.apache.org/jira/browse/ARIES-1523
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Affects Versions: subsystem-2.0.8
> Reporter: John Ross
> Assignee: John Ross
>
> An application containing a fragment and host bundle as content but with the
> fragment packaged in the archive and host in an OBR repository will fail to
> resolve.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)