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/07/30 12:31:49 UTC

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

Gilles Knobloch created SLING-2986:
--------------------------------------

             Summary: 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 /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

--
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