[ 
https://issues.apache.org/jira/browse/SLING-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094457#comment-16094457
 ] 

Simone Tripodi commented on SLING-7017:
---------------------------------------

Hi there [~teofili]! :)

That would work, but with a strong limitation: *all* the packages root 
specified in the {{ExportOptions}} have to be mount under the same new root, 
otherwise the trick would not work :(

i.e., if user would mount {{/etc/my/data}} and {{/log/my/data}} under 
{{custom}} root, so having both {{/custom/etc/my/data}} and 
{{/custom/log/my/data}}, works; OTOH, if user would mount {{/etc/my/data}} 
under {{/custom/etc/my/data}} and {{/log/my/data}} under 
{{/OTHER_custom/log/my/data}}, won't...

Would it work? TIA!

> Make it possible to mount packages at different paths
> -----------------------------------------------------
>
>                 Key: SLING-7017
>                 URL: https://issues.apache.org/jira/browse/SLING-7017
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Tommaso Teofili
>            Assignee: Simone Tripodi
>             Fix For: Content Distribution Core 0.2.10
>
>
> In some scenarios (e.g. multi tenant instances) it may be useful to be able 
> to mount packages at configurable paths.
> For example mounting a package for _/foo/bar/_ at _/tenant1/foo/bar_; we can 
> leverage FileVault [configuration 
> options|https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/ExportOptions.java#L126]
>  to support that.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to