You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2015/05/22 16:47:17 UTC

[jira] [Created] (ARIES-1328) Application subsystem does not import services

David Bosschaert created ARIES-1328:
---------------------------------------

             Summary: Application subsystem does not import services
                 Key: ARIES-1328
                 URL: https://issues.apache.org/jira/browse/ARIES-1328
             Project: Aries
          Issue Type: Bug
          Components: Subsystem
    Affects Versions: subsystem-core-1.2.0
            Reporter: David Bosschaert


I have an application Subsystem that has a bundle that looks for a service via a service tracker.
This service and its API is provided by pre-existing bundles (api-bundle, svc-bundle2) in the parent subsystem. 
The OSGi enterprise R5 spec states in 134.16.1 (Application Subsystems):
"Any required capabilities that are not satisfied by the application's constituents are automatically shared in (imported) from the parent Subsystem."
However when I install and start the application subsystem (application-subsystem-nosvc), it does not find the services provided in the parent.

I'm attaching the bundles and subsystem to reproduce. The full source code can be found here: https://github.com/coderthoughts/subsystem-examples



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)