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 2017/03/19 14:55:41 UTC

[jira] [Resolved] (SLING-6669) Context-Aware Config: More control about resource paths in Configuration Persistence Strategy

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

Stefan Seifert resolved SLING-6669.
-----------------------------------
    Resolution: Fixed

Completed: At revision: 1787626  

because we are still not in Java 8 i had to introduce an new SPI ConfigurationPersistenceStrategy2 and deprecated ConfigurationPersistenceStrategy - we needed a couple of additional methods.

via a bridge and adapter services implementing ConfigurationPersistenceStrategy are still supported the same way as before.

> Context-Aware Config: More control about resource paths in Configuration Persistence Strategy
> ---------------------------------------------------------------------------------------------
>
>                 Key: SLING-6669
>                 URL: https://issues.apache.org/jira/browse/SLING-6669
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>              Labels: contextaware-config
>             Fix For: Context-Aware Configuration SPI 1.3.0, Context-Aware Configuration Impl 1.3.0
>
>
> currently the SPI interface ConfigurationPersistenceStrategy offers two methods (getResource, getResourcePath) to rewrite resource paths when persisting resources - e.g. insert an additional {{jcr:content}} hierarchy.
> but this is a bit limited because it is not known if the resource paths belongs to a singleton resource or resource collection item, or just a config name. and it is not possible to change the parent resource of a configuration collection.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)