You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Gilles Knobloch (JIRA)" <ji...@apache.org> on 2013/09/24 16:38:12 UTC

[jira] [Updated] (SLING-2986) Virtual Resource Provider

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

Gilles Knobloch updated SLING-2986:
-----------------------------------

    Description: 
As exchanged once with Felix Meschberger, the idea is to implement a custom resource provider, with ability to merge multiple resources based on your search paths.

For instance, if your search paths are
/apps
/libs

Hitting /merge/my/resource/is/here will check
/apps/my/resource/is/here
/libs/my/resource/is/here

There are some options like:
- add/override property
- delete a property of the resource under /libs
- reorder nodes if available

I intend to submit this patch as soon as possible.
Code is currently located at https://github.com/gknob/sling-resourcemerger

  was:
As exchanged once with Felix Meschberger, the idea is to implement a custom resource provider, with ability to merge multiple resources based on your search paths.

For instance, if your search paths are
/apps
/libs

Hitting /virtual/my/resource/is/here will check
/apps/my/resource/is/here
/libs/my/resource/is/here

There are some options like:
- add/override property
- delete a property of the resource under /libs
- reorder nodes if available

I intend to submit this patch as soon as possible.
Code is currently located at https://github.com/gknob/sling-resourcemerger

    
> Virtual Resource Provider
> -------------------------
>
>                 Key: SLING-2986
>                 URL: https://issues.apache.org/jira/browse/SLING-2986
>             Project: Sling
>          Issue Type: New Feature
>          Components: ResourceResolver
>            Reporter: Gilles Knobloch
>
> As exchanged once with Felix Meschberger, the idea is to implement a custom resource provider, with ability to merge multiple resources based on your search paths.
> For instance, if your search paths are
> /apps
> /libs
> Hitting /merge/my/resource/is/here will check
> /apps/my/resource/is/here
> /libs/my/resource/is/here
> There are some options like:
> - add/override property
> - delete a property of the resource under /libs
> - reorder nodes if available
> I intend to submit this patch as soon as possible.
> Code is currently located at https://github.com/gknob/sling-resourcemerger

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira