Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1328

Application subsystem does not import service capabilities

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        1. use-bundle-1.0.0-SNAPSHOT.jar
          5 kB
          David Bosschaert
        2. svc-bundle2-1.0.0-SNAPSHOT.jar
          4 kB
          David Bosschaert
        3. application-subsystem-nosvc-ubrc.esa
          6 kB
          David Bosschaert
        4. application-subsystem-nosvc-rc.esa
          6 kB
          David Bosschaert
        5. application-subsystem-nosvc-1.0.0-SNAPSHOT.esa
          5 kB
          David Bosschaert
        6. api-bundle-1.0.0-SNAPSHOT.jar
          3 kB
          David Bosschaert

        Issue Links

          Activity

            People

              jwross@us.ibm.com John Ross
              bosschaert David Bosschaert
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: