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

Update OBR Application Resolver to use OBR 1.6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2
    • Application
    • None

    Description

      In the initial OBRApplicationResolver we had to do some pretty nasty things to get it to work because of the way OBR works. The two biggest are:

      1. We had to generate a repository.xml for the application by value content to resolve against, this had to be written to disk and then removed to add it to OBR.
      2. We had to add a private repository (the application by value content) as a global repository. This meant that if someone else used OBR they could have ended up with invalid results. Also it meant we could only resolve one application at a time.
      3. The application was resolved against the current framework, and the bundles in the current framework would be excluded from the results. Since the resolution info can be stored in the application in the DEPLOYMENT.MF which could be used in a different JVM with different bundles in the framework you could end up with an app not working in the target framework.

      The latest level of OBR has fixes for these 3 issues, so we should try to update it so it works against OBR 1.6.

      Oh and OBR 1.6 appears to be faster at parsing the repo.xml files, so every performance improvement helps.

      Attachments

        Activity

          People

            not Alasdair Nottingham
            not Alasdair Nottingham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: