[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352211#comment-16352211 ] Robert Munteanu commented on SLING-6878: Thanks [~cziegeler] > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler >Priority: Major > Labels: Sling-10-ReleaseNotes > Fix For: Bundle Resource 2.3.0 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351930#comment-16351930 ] Carsten Ziegeler commented on SLING-6878: - [~rombert] Done, i'v also added info about the other things never documented before > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler >Priority: Major > Labels: Sling-10-ReleaseNotes > Fix For: Bundle Resource 2.3.0 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351539#comment-16351539 ] Robert Munteanu commented on SLING-6878: [~cziegeler] - can you add some basic information about this to the web site as well? It's quite easy to miss, being documented only in the Jira issue. > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler >Priority: Major > Labels: Sling-10-ReleaseNotes > Fix For: Bundle Resource 2.3.0 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158131#comment-16158131 ] Carsten Ziegeler commented on SLING-6878: - [~andrei.dulvac] I'll add some info in SLING-6868 > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Bundle Resource 2.2.2 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157239#comment-16157239 ] Andrei Dulvac commented on SLING-6878: -- [~cziegeler], could you provide an example of using this? What I'm interested in is the structure of a json that defines multiple nodes (not a file) and properties like the resource types for those nodes. What happens is that the json is just provided as a json. How can I add the {{propsJSON=json}} directive? "what is "json" referencing there? > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Bundle Resource 2.2.2 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143094#comment-16143094 ] Carsten Ziegeler commented on SLING-6878: - The feature can be enabled by adding a directive to the header entry: propsJSON:=EXTENSION, e.g. propsJSON=json All files having the configured extension will be treat as JSON files containing properties for the resources. It is possible to have a file and a JSON file for the same resource, like /libs/system/myscript.txt /libs/system/myscript.txt.json The json file will then contain properties (value map) for the resource, this includes defining the resource type Such a json file can also contain a deep tree of objects like {noformat} { "name" : "myscript", "child" : { "foo" : "bar"; } } If added some basic tests (previously this module did not have any test at all) verifying the basic functionality {noformat} > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Bundle Resource 2.2.2 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141758#comment-16141758 ] Carsten Ziegeler commented on SLING-6878: - Started implementation for supporting JSON files on a per resource level - deep nested JSON is not supported Added initial tests > Bundle resource provider: support mounting of JSON files > > > Key: SLING-6878 > URL: https://issues.apache.org/jira/browse/SLING-6878 > Project: Sling > Issue Type: Improvement > Components: Extensions >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Bundle Resource 2.2.2 > > > I think similar to SLING-6440 we should support mounting of JSON files > through the bundle resource provider (we don't need to support other file > formats as xml or vault) -- This message was sent by Atlassian JIRA (v6.4.14#64029)