[
https://issues.apache.org/jira/browse/SLING-9516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17134143#comment-17134143
]
Carsten Ziegeler edited comment on SLING-9516 at 6/12/20, 11:41 AM:
--------------------------------------------------------------------
Added support in feature model:
https://github.com/apache/sling-org-apache-sling-feature/commit/db5c93e9782ef6cbd44d1e9e6e041b299853e002
Updated launcher to use the extension if available (commandline can be used to
override)
https://github.com/apache/sling-org-apache-sling-feature-launcher/commit/91f9d8b9a3b9bd9bd9ae4955c97b3ebb2fb3c706
Updated analyser to use the extension if available
https://github.com/apache/sling-org-apache-sling-feature-analyser/commit/a931d04f59a58a817c4913e9e63c76a7d77a1dca
Updated slingfeature-maven-plugin to use latest analyser/feature model:
https://github.com/apache/sling-slingfeature-maven-plugin/commit/2e331d207a00710023e33394a4b4cfc99093e905
was (Author: cziegeler):
Added support in feature model:
https://github.com/apache/sling-org-apache-sling-feature/commit/db5c93e9782ef6cbd44d1e9e6e041b299853e002
Updated launcher to use the extension if available (commandline can be used to
override)
https://github.com/apache/sling-org-apache-sling-feature-launcher/commit/91f9d8b9a3b9bd9bd9ae4955c97b3ebb2fb3c706
Updated slingfeature-maven-plugin to use latest analyser/feature model:
https://github.com/apache/sling-slingfeature-maven-plugin/commit/2e331d207a00710023e33394a4b4cfc99093e905
> 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)