You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/02/18 06:26:18 UTC

[jira] [Commented] (KARAF-4346) Karaf 3.0.0 Configuration Admin with array of values

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

Jean-Baptiste Onofré commented on KARAF-4346:
---------------------------------------------

You are right, the filter has to be extended (but I don't like it and it should work in cfg file as well). I remember I did something long time ago in a PoC. Let me take a look.

> Karaf 3.0.0 Configuration Admin with array of values
> ----------------------------------------------------
>
>                 Key: KARAF-4346
>                 URL: https://issues.apache.org/jira/browse/KARAF-4346
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-config
>            Reporter: Boban Petkovic
>
> Need support to use array of values property in configuratuon file (*.cfg)
> When trying to use configuration file to persist OSGi configuration in Karaf 3.0.0, there is an issue when using property with array of values. My configuration file is placed in /etc folder and looks something like this:
> property = ["value1","value2"]
> The problem is that array does not get interpreted properly, so in Web Console I see one string value instead of array of values. I figure out that if I use .config as extension for the configuration file, the array gets interpreted properly, but I experience another issue then, like for example that my config file gets overwritten. It seems there is no support for arrays in configration file with file extension .cfg



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)