Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9516

Allow to specify execution environment as part of the feature model

    XMLWordPrintableJSON

    Details

      Description

      It is currently not possible to specify in the feature model which framework is used to launch the application. This results in repeatedly configuring this information - in the launcher, for the analyser, in the slingfeature maven plugin.
      We should add an extension capturing this information - this information can then also be used if the requirements are met at launch time.
      Extension could look like this:

      "execution-environment": {
        "kind": "optional",
        "type": "json",
        "json": {
          "environment-capabilities”: [“osgi.ee(version=1.11)”,”...java packages...”],
          "framework": {
                "id" : "org.osgi:core:6.0.0"
          },
          "provided-bundles": ["org.osgi:logging:1.1“]
        }
      }
      

      We could start with a first implementation, just supporting the "framework" property - and then enhance over time

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              cziegeler Carsten Ziegeler
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: