You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/06/12 10:07:00 UTC
[jira] [Updated] (SLING-9516) Allow to specify execution
environment as part of the feature model
[ https://issues.apache.org/jira/browse/SLING-9516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-9516:
------------------------------------
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:
{noformat}
"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“]
}
}
{noformat}
We could start with a first implementation, just supporting the "framework" property - and then enhance over time
was:
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
> Allow to specify execution environment as part of the feature model
> -------------------------------------------------------------------
>
> Key: SLING-9516
> URL: https://issues.apache.org/jira/browse/SLING-9516
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Feature Model Launcher 1.1.4, Feature Model Analyser 1.2.8, Feature Model 1.2.2, slingfeature-maven-plugin 1.3.6
>
>
> 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:
> {noformat}
> "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“]
> }
> }
> {noformat}
> We could start with a first implementation, just supporting the "framework" property - and then enhance over time
--
This message was sent by Atlassian Jira
(v8.3.4#803005)