Carsten Ziegeler created FELIX-6225:
---------------------------------------

             Summary: 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
             Fix For: configadmin-interpolation-plugin-1.0.2


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)

Reply via email to