You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (Jira)" <se...@james.apache.org> on 2019/08/26 02:10:00 UTC

[jira] [Resolved] (JAMES-2871) ConfigurationProvider cannot load env variable as list of Strings

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

Tellier Benoit resolved JAMES-2871.
-----------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

https://github.com/linagora/james-project/pull/2622 fixed this by overriding lib behaviour

> ConfigurationProvider cannot load env variable as list of Strings
> -----------------------------------------------------------------
>
>                 Key: JAMES-2871
>                 URL: https://issues.apache.org/jira/browse/JAMES-2871
>             Project: James Server
>          Issue Type: Wish
>            Reporter: Trần Tiến Đức
>            Priority: Major
>             Fix For: 3.4.0
>
>
> for example there is one item in the properties file:
> {code:java}
> cassandra.nodes=${env:CASSANDRA_NODES}{code}
> The configuration.getArrayString("cassandra.nodes") is supposed to return a list but acutally return a string incase passing list value into CASSANDRA_NODES env



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org