You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/09/01 20:28:20 UTC
[jira] [Created] (SLING-6029) Context-Aware Config: Adapt
defaulting strategy
Stefan Seifert created SLING-6029:
-------------------------------------
Summary: Context-Aware Config: Adapt defaulting strategy
Key: SLING-6029
URL: https://issues.apache.org/jira/browse/SLING-6029
Project: Sling
Issue Type: Improvement
Components: Extensions
Reporter: Stefan Seifert
Assignee: Stefan Seifert
as discusesd in mail thread http://apache-sling.73963.n3.nabble.com/contextaware-config-Default-configuration-and-naming-td4064399.html we should change:
* default folder name to /conf
* rename the {{sling:config}} property name to {{sling:config-ref}}
* and change the way default configuration is detected by following the example below
for a content structure like this
{noformat}
/content
/tenant1 - context path /content/tenant1
/region1 - context path /content/tenant1/region1
/site1 - context path /content/tenant1/region1/site1
/page1
{noformat}
the configuration is looked up at this paths (in this order)
{noformat}
/conf/tenant1/region1/site1
/conf/tenant1/region1
/conf/tenant1
/conf/default
/apps/conf
/libs/conf
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)