You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/08/16 14:34:20 UTC

[jira] [Created] (SLING-5969) Support multiple model/raw sources in jcr.repoinit.RepositoryInitializer configuration

Bertrand Delacretaz created SLING-5969:
------------------------------------------

             Summary: Support multiple model/raw sources in jcr.repoinit.RepositoryInitializer configuration
                 Key: SLING-5969
                 URL: https://issues.apache.org/jira/browse/SLING-5969
             Project: Sling
          Issue Type: Improvement
          Components: Repoinit
    Affects Versions: Repoinit JCR 1.0.0
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor
             Fix For: Repoinit JCR 1.0.2


As suggested by [~olli] it is convenient to use multiple URI-like references to define where the {{RepositoryInitializer}} gets its repoinit statements, something like

{code}
model@section:context:/resources/provisioning/model.txt
raw:classpath://com.example.sling.repoinit/repoinit.txt
{code}

Dropping the existing configuration parameters is not backwards compatible with V1.0.0 of this module, but that looks reasonable as the new format is much more convenient and we've had little feedback about usage of this module so far. I'll add warnings in case the old parameters are still used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)