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/02/13 09:15:00 UTC

[jira] [Assigned] (SLING-8855) Add support to cpConverter to process repoinit configurations

     [ https://issues.apache.org/jira/browse/SLING-8855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-8855:
---------------------------------------

    Assignee: Simone Tripodi

> 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üß
>            Assignee: Simone Tripodi
>            Priority: Major
>             Fix For: Content-Package to Feature Model Converter 1.0.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)