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 2020/03/02 07:09:00 UTC

[jira] [Closed] (FELIX-6225) Support splitting up value into array

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

Carsten Ziegeler closed FELIX-6225.
-----------------------------------

> Support splitting up value into array
> -------------------------------------
>
>                 Key: FELIX-6225
>                 URL: https://issues.apache.org/jira/browse/FELIX-6225
>             Project: Felix
>          Issue Type: New Feature
>          Components: Configuration Admin
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: configadmin-interpolation-plugin-1.1.0
>
>
> While a placeholder can specify an array type, the value provided will always just generate an array with a single value. There is no way to split up the value to create an array of values.
> We can support this with an additional directive (delimiter) like this:
> $[env:foo;type=String[];delimiter=,]
> when a value like "a,b,c" is provided, it will be split up into an array of "a", "b", "c"



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