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

Justin Edelson commented on SLING-7017:
---------------------------------------

[~simone.tripodi] I've never done this myself (and, to be honest, I'm not 
really familiar with the SCD code) but what I would expect is that the target 
prefix is either determined on the target system (e.g. based on a user -> 
tenant mapping) or passed outside of the package as part of the HTTP request. 
In that case, I'd suggest doing the mapping on installation on using 
{{ImportOptions}}.

> 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