[
https://issues.apache.org/jira/browse/ARIES-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032149#comment-15032149
]
David Bosschaert commented on ARIES-1461:
-----------------------------------------
Hi [~arunasujith], I have made an implementation of this in the following
commit: http://svn.apache.org/viewvc?view=revision&revision=1717300
It supports adding any of the relevant headers, either SPI Fly specific ones or
the Require-Capability/Provide-Capability ones, to be provided to bundles via
fragments. I also added some new examples that exercise this:
spi-fly-example-provider3-bundle - a provider bundle without any SPI Fly headers
spi-fly-example-provider3-fragment - a fragment to add the SPI Fly headers to
spi-fly-example-provider3-bundle
spi-fly-example-client3-bundle - a consumer bundle without any SPI Fly headers
spi-fly-example-client3-fragment - a fragment to add the SPI Fly headers to
spi-fly-example-client3-bundle
Could you please check that this addresses the issue for you?
> Adding SPI-Consumer headers for fragment bundles
> ------------------------------------------------
>
> Key: ARIES-1461
> URL: https://issues.apache.org/jira/browse/ARIES-1461
> Project: Aries
> Issue Type: Bug
> Components: SPI Fly
> Affects Versions: spifly-1.0.4
> Environment: ubuntu 14.04 with JDK 1.8.0_20
> Reporter: Aruna Karunarathna
> Assignee: David Bosschaert
>
> I have a host bundle and I can't modify the content of the host bundle, So I
> created a fragment bundle and add the following header,
> <SPI-Consumer>javax.ws.rs.ext.RuntimeDelegate#findDelegate</SPI-Consumer>
> After adding this header to the fragment bundle and using it, the service is
> not working accordingly, Is this a limitation of SPI-Fly?..
> Please note that if I edit and add the above header to the host bundle, it
> works accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)