Dominik Süß created SLING-8855:
----------------------------------
Summary: Add support to cpConverter to process repoinit
configurations
Key: SLING-8855
URL: https://issues.apache.org/jira/browse/SLING-8855
Project: Sling
Issue Type: New Feature
Components: Content-Package to Feature Model Converter
Reporter: Dominik Süß
The Feature Launcher has a repoinit extention that handles merging of
configurations following the model layering and eventually registering as osgi
configuration.
If a package embedds a direct factory configuration for repoinit this
configuration is currently not converted but directly registered - as the
registration of native configurations happens ahead of the extension processing
these configurations will be processed ahead of the ones provided in the model,
breaking with the intended feature layering.
To guarantee a clean processing the cpconverter must convert the scripts
registered via osgi factory configuration into repoinit blocks that will then
be processed according to the feature model merging rules and therefore enable
technical dependencies of custom repoinit scripts on some provided by feature
models (e.g. parent structures, nodetypes or privileges)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)