Carsten Ziegeler created SLING-6229:
---------------------------------------

             Summary: Allow configuration of fallback properties in 
DefaultContextPathStrategy
                 Key: SLING-6229
                 URL: https://issues.apache.org/jira/browse/SLING-6229
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Context-Aware Configuration Impl 1.0.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Context-Aware Configuration Impl 1.0.2


Currently the DefaultContextPathStrategy only looks for the property 
sling:configRef.
If other properties should be looked for, e.g. for migration from Adobe's 
confmgr, this can be done with an additional ContextPathStrategy - but this has 
a performance drawback.
We should allow to define additional property names which are used in the order 
of appearance. Once a value for such a property is found, its value is used and 
the others are not queried anymore. The  sling:configRef property is always the 
first one used and does not need to be configured - which also means it is not 
possible to deviate from this rule.



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

Reply via email to