Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2871

ConfigurationProvider cannot load env variable as list of Strings

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None

      Description

      for example there is one item in the properties file:

      cassandra.nodes=${env:CASSANDRA_NODES}

      The configuration.getArrayString("cassandra.nodes") is supposed to return a list but acutally return a string incase passing list value into CASSANDRA_NODES env

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trantienduchn Trần Tiến Đức

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment