sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SLING-7787) Support official JSON format for configurations
Date Sat, 11 Aug 2018 12:56:00 GMT

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

Carsten Ziegeler edited comment on SLING-7787 at 8/11/18 12:55 PM:
-------------------------------------------------------------------

Added support to installer.core in rev 7de23e8 and a523b93 and 93cf920

A single configuration file can now contain JSON according to the Configurator spec, the JSON
must be an object with the properties, like
{noformat}
{
    "service.ranking:Integer" : 20,
    "astring" : "hello world"
}
{noformat}

The file must use the ending ".cfg.json" - I think just checking all ".json" files is not
a good idea therefore the double extension.


was (Author: cziegeler):
Added support to installer.core in rev 7de23e8 and a523b93

A single configuration file can now contain JSON according to the Configurator spec, the JSON
must be an object with the properties, like
{noformat}
{
    "service.ranking:Integer" : 20,
    "astring" : "hello world"
}
{noformat}


> Support official JSON format for configurations
> -----------------------------------------------
>
>                 Key: SLING-7787
>                 URL: https://issues.apache.org/jira/browse/SLING-7787
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Installer Configuration Factory 1.2.0, Installer Core 3.8.14
>
>
> The OSGi R7 configurator specification defines a JSON format for configurations which
is an official format to represent an OSGi configuration as text.
> We should support this format



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message