You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2019/11/11 07:42:00 UTC

[jira] [Reopened] (FELIX-6192) Support default values and type conversion

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

Carsten Ziegeler reopened FELIX-6192:
-------------------------------------

It seems converter 1.0.12 is not available in a public maven repo:
http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.converter/

> Support default values and type conversion
> ------------------------------------------
>
>                 Key: FELIX-6192
>                 URL: https://issues.apache.org/jira/browse/FELIX-6192
>             Project: Felix
>          Issue Type: New Feature
>          Components: Configuration Admin
>    Affects Versions: configadmin-interpolation-plugin-0.0.2
>            Reporter: Carsten Ziegeler
>            Assignee: David Bosschaert
>            Priority: Major
>             Fix For: configadmin-interpolation-plugin-0.0.4
>
>
> It would be nice if the interpolation plugin could support default values as well as type conversion, especially supporting arrays.
> The format could be
> [<prefix>:<name>;type=<type>;default=<value>]
> where type and default are optional, type defaulting to String.
> We should support primitive types and arrays of primitive types. The usual separator for values could be a comma (providing to support escaping a comma in a value)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)