james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [1/7] james-project git commit: JAMES-2441 Explicitly set list delimiter in ElasticSearch configuration
Date Wed, 04 Jul 2018 02:37:28 GMT
Repository: james-project
Updated Branches:
  refs/heads/master 8992243e9 -> 3f8423860


JAMES-2441 Explicitly set list delimiter in ElasticSearch configuration


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c09ed3bb
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c09ed3bb
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c09ed3bb

Branch: refs/heads/master
Commit: c09ed3bbdf0a2349bcf4750517e356540c25bacc
Parents: 4b18ba7
Author: benwa <btellier@linagora.com>
Authored: Mon Jul 2 16:49:58 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Jul 4 09:31:24 2018 +0700

----------------------------------------------------------------------
 .../apache/james/modules/mailbox/ElasticSearchConfiguration.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c09ed3bb/server/container/guice/cassandra-guice/src/main/java/org/apache/james/modules/mailbox/ElasticSearchConfiguration.java
----------------------------------------------------------------------
diff --git a/server/container/guice/cassandra-guice/src/main/java/org/apache/james/modules/mailbox/ElasticSearchConfiguration.java
b/server/container/guice/cassandra-guice/src/main/java/org/apache/james/modules/mailbox/ElasticSearchConfiguration.java
index d8589fa..b15b4d7 100644
--- a/server/container/guice/cassandra-guice/src/main/java/org/apache/james/modules/mailbox/ElasticSearchConfiguration.java
+++ b/server/container/guice/cassandra-guice/src/main/java/org/apache/james/modules/mailbox/ElasticSearchConfiguration.java
@@ -280,6 +280,7 @@ public class ElasticSearchConfiguration {
     }
 
     private static ImmutableList<Host> getHosts(PropertiesConfiguration propertiesReader)
throws ConfigurationException {
+        propertiesReader.setListDelimiter(',');
         Optional<String> masterHost = Optional.ofNullable(
             propertiesReader.getString(ELASTICSEARCH_MASTER_HOST, null));
         Optional<Integer> masterPort = Optional.ofNullable(


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


Mime
View raw message