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

Simone Tripodi updated SLING-7017:
----------------------------------
    Attachment: SLING-7017.3.patch

Hi [~teofili],
according to what you suggested, I am providing a less-intrusive third patch.

It relies on the {{FileVaultContentSerializer}} only, which takes care to 
write/read mappings from {{META-INF}} properties, paths mapping configuration 
is defined in {{VaultDistributionPackageBuilderFactory}}

WDYT?

> 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
>
>         Attachments: SLING-7017.1.patch, SLING-7017.2.patch, 
> SLING-7017.3.patch
>
>
> 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