karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-4346) Support array of values with etc/*.config files
Date Thu, 08 Sep 2016 08:38:21 GMT

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

Guillaume Nodet updated KARAF-4346:
-----------------------------------
    Summary: Support array of values with etc/*.config files  (was: Karaf 3.0.0 Configuration
Admin with array of values)

> Support array of values with etc/*.config files
> -----------------------------------------------
>
>                 Key: KARAF-4346
>                 URL: https://issues.apache.org/jira/browse/KARAF-4346
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-config
>            Reporter: Boban Petkovic
>            Assignee: Guillaume Nodet
>
> 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)

Mime
View raw message