You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2017/03/07 22:11:38 UTC

[jira] [Resolved] (SLING-6440) Filesystem Resource Provider: Support "mounting" content resources from JSON files

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

Stefan Seifert resolved SLING-6440.
-----------------------------------
    Resolution: Fixed

rev. 1785892 (2.x)
rev. 1785894 (1.x)

the configuration has changed - there are two parameters
* filesystem layout: INITIAL_CONTENT (default, supports json and jcr.xml files), INITIAL_CONTENT_FILES_FOLDERS (support for fsresource legacy mode only files+folders)
* init. content options: further options from sling-initial-content directive, e.g. overwrite and ignoreImportProviders

i will update the documentation on the sling site as well.

> Filesystem Resource Provider: Support "mounting" content resources from JSON files
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-6440
>                 URL: https://issues.apache.org/jira/browse/SLING-6440
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>             Fix For: File System Resource Provider 1.3.0, File System Resource Provider 2.0.0
>
>
> it would be nice if the filesystem resource provider does not only support serving binary files and folders, but also arbitrary resources stored in .json files in the folder hierarchy which are normally extracted when installing the bundle with sling-initial-content.
> is is necessary to explicitly switch this feature on per configuration, because it may be desired to directly serve the JSON files as binary files in some cases.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)