Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Aries, osgi
    • Security Level: public (Regular issues)
    • Labels:
      None

      Activity

      Hide
      Rex Wang added a comment -

      I think this has been resolved.

      Show
      Rex Wang added a comment - I think this has been resolved.
      Hide
      Rick McGuire added a comment -

      What's the state of this item? I suspect we might want to close this major task and open additional Jiras if there are still problems that need resolving.

      Show
      Rick McGuire added a comment - What's the state of this item? I suspect we might want to close this major task and open additional Jiras if there are still problems that need resolving.
      Hide
      Jarek Gawor added a comment -

      There are issues with the current implementation that need to be addressed:

      1) When installed the application contents are replicated in two places.

      2) Cannot restart the application in the same session. I think that's because of Geronimo & OSGi lifecycle model mismatch.

      3) obr:addUrl operation is not persistent. We might need a solution that saves that information. Maybe using the GeronimoOBRGBean.

      Show
      Jarek Gawor added a comment - There are issues with the current implementation that need to be addressed: 1) When installed the application contents are replicated in two places. 2) Cannot restart the application in the same session. I think that's because of Geronimo & OSGi lifecycle model mismatch. 3) obr:addUrl operation is not persistent. We might need a solution that saves that information. Maybe using the GeronimoOBRGBean.
      Hide
      Jarek Gawor added a comment -

      Committed initial OBR support in revision 923794.

      Show
      Jarek Gawor added a comment - Committed initial OBR support in revision 923794.
      Hide
      Jarek Gawor added a comment -

      Committed in revision 922153 much improved Aries application support along with Karaf shell commands for installing/uninstalling/starting/stopping/listing applications.

      Show
      Jarek Gawor added a comment - Committed in revision 922153 much improved Aries application support along with Karaf shell commands for installing/uninstalling/starting/stopping/listing applications.
      Hide
      David Jencks added a comment -

      rev 910793 adds Jareks repository.xml manipulation code, slightly modifed, and makes the car-maven-plugin add a repository.xml to each plugin, and makes the dependencyManager register each one of these with a bundle repository instance we run. Also builds the aries plugin by default. Meanwhile the obr adapter is avaliable at aries.... this might be close to working.

      Show
      David Jencks added a comment - rev 910793 adds Jareks repository.xml manipulation code, slightly modifed, and makes the car-maven-plugin add a repository.xml to each plugin, and makes the dependencyManager register each one of these with a bundle repository instance we run. Also builds the aries plugin by default. Meanwhile the obr adapter is avaliable at aries.... this might be close to working.
      Hide
      David Jencks added a comment -

      First draft of AriesResolver <> OBR. WIll probably commit at aries soon...

      Show
      David Jencks added a comment - First draft of AriesResolver <> OBR. WIll probably commit at aries soon...
      Hide
      David Jencks added a comment -

      Two more pieces of this:

      1. Implement AriesApplicationResolver backed by OBR. This is probably best done at aries. I'm working on a simple implementation. We might host it if it seems too simpleminded for aries.

      2. Fill up the obr with stuff we know about. Jarek sent me some code that exposes the geronimo repo as an obr repo. In addition I think we want each geronimo plugin to include a repository.xml for the dependencies currently mentioned in the geronimo-plugin.xml. Possibly then our dependency manager can this obr to figure out what dependencies to actually use based on the suggestions in the plugin rather than relying entirely on the plugin dependencies.

      Show
      David Jencks added a comment - Two more pieces of this: 1. Implement AriesApplicationResolver backed by OBR. This is probably best done at aries. I'm working on a simple implementation. We might host it if it seems too simpleminded for aries. 2. Fill up the obr with stuff we know about. Jarek sent me some code that exposes the geronimo repo as an obr repo. In addition I think we want each geronimo plugin to include a repository.xml for the dependencies currently mentioned in the geronimo-plugin.xml. Possibly then our dependency manager can this obr to figure out what dependencies to actually use based on the suggestions in the plugin rather than relying entirely on the plugin dependencies.
      Hide
      David Jencks added a comment -

      I'm confused. I would expect an aries deployer to be a ConfigBuilder rather than a ModuleBuilder. I certainly wouldn't expect a bundle to go through the ear deployer and come out as something useable or closely related to what we started with. Maybe some discussion on the dev list about how aries apps relate to our ideas about javaee apps would be appropriate.

      Show
      David Jencks added a comment - I'm confused. I would expect an aries deployer to be a ConfigBuilder rather than a ModuleBuilder. I certainly wouldn't expect a bundle to go through the ear deployer and come out as something useable or closely related to what we started with. Maybe some discussion on the dev list about how aries apps relate to our ideas about javaee apps would be appropriate.
      Hide
      Jarek Gawor added a comment -

      In revision 887267 I added a plugin for Aries applications. So far it only contains basic code that represents a deployer for Aries applications. It communicates with Aries' ApplicationMetadataManager service to parse the application manifest.

      Show
      Jarek Gawor added a comment - In revision 887267 I added a plugin for Aries applications. So far it only contains basic code that represents a deployer for Aries applications. It communicates with Aries' ApplicationMetadataManager service to parse the application manifest.
      Hide
      Lin Sun added a comment -

      FYI - The org.apache.aries.application.ApplicationMetadataManager that is published by blueprint as an OSGi service can be used to parse Application.mf file.

      Show
      Lin Sun added a comment - FYI - The org.apache.aries.application.ApplicationMetadataManager that is published by blueprint as an OSGi service can be used to parse Application.mf file.

        People

        • Assignee:
          Jarek Gawor
          Reporter:
          Jarek Gawor
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development