This is an automated email from the ASF dual-hosted git repository. rouazana pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git.
from 52bf917 [Refactoring] Simplify MailAddressTest by fully using the power of assertj new 1d82a54 JAMES-2905 ElasticSearch authentication configuration new 870798f JAMES-2905 DockerElasticSearch now has two types new 0b50da7 JAMES-2905 Update ClientProvider to configure ES authentication new f8a5fb6 JAMES-2905 Expand ClientProvider tests with Auth ES new e60d88e JAMES-2905 Update documentation new 8b46a4b JAMES-2905 ElasticSearch configuration various improvements new 2e87e12 JAMES-2905 One more option about HostNameVerifier The 7 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apache/james/backends/es/ClientProvider.java | 141 ++++++++-- .../backends/es/ElasticSearchConfiguration.java | 272 +++++++++++++++++- ...iderImplConnectionAuthESIgnoreSSLCheckTest.java | 33 ++- ...mplConnectionAuthESOverrideTrustStoreTest.java} | 56 ++-- ...a => ClientProviderImplConnectionContract.java} | 75 ++--- .../ClientProviderImplConnectionNoAuthESTest.java | 12 +- ....java => DockerAuthElasticSearchSingleton.java} | 4 +- .../james/backends/es/DockerElasticSearch.java | 309 +++++++++++++++++---- .../backends/es/DockerElasticSearchSingleton.java | 2 +- .../backends/es/ElasticSearchClusterExtension.java | 115 ++++++++ .../es/ElasticSearchConfigurationTest.java | 235 ++++++++++++++++ .../src/test/resources/auth-es/NginxDockerfile | 5 + .../src/test/resources/auth-es/README.md | 30 ++ .../src/test/resources/auth-es/default.crt | 19 ++ .../src/test/resources/auth-es/default.key | 27 ++ .../src/test/resources/auth-es/nginx-conf/passwd | 2 + .../auth-es/nginx-conf/reverse_elasticsearch.conf | 12 + .../src/test/resources/auth-es/server.jks | Bin 0 -> 1074 bytes .../destination/conf/elasticsearch.properties | 23 ++ .../destination/conf/elasticsearch.properties | 23 ++ .../destination/conf/elasticsearch.properties | 23 ++ .../destination/conf/elasticsearch.properties | 23 ++ ...esWithNonCompatibleElasticSearchServerTest.java | 2 +- .../apache/james/metric/es/ES2ReporterTest.java | 2 +- .../apache/james/metric/es/ES6ReporterTest.java | 2 +- .../apache/james/util/docker/DockerContainer.java | 11 + src/site/xdoc/server/config-elasticsearch.xml | 84 +++++- 27 files changed, 1351 insertions(+), 191 deletions(-) copy server/container/guice/memory-guice/src/test/java/org/apache/james/LinshareBlobExportMechanismProvidingTest.java => backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/ClientProviderImplConnectionAuthESIgnoreSSLCheckTest.java (54%) copy backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/{ElasticSearchHealthCheckConnectionTest.java => ClientProviderImplConnectionAuthESOverrideTrustStoreTest.java} (51%) rename backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/{ClientProviderImplConnectionTest.java => ClientProviderImplConnectionContract.java} (56%) copy event-sourcing/event-store-cassandra/src/test/java/org/apache/james/eventsourcing/eventstore/cassandra/CassandraEventStoreTest.java => backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/ClientProviderImplConnectionNoAuthESTest.java (74%) copy backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/{DockerElasticSearchSingleton.java => DockerAuthElasticSearchSingleton.java} (95%) create mode 100644 backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/ElasticSearchClusterExtension.java create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/NginxDockerfile create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/README.md create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/default.crt create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/default.key create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/nginx-conf/passwd create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/nginx-conf/reverse_elasticsearch.conf create mode 100644 backends-common/elasticsearch/src/test/resources/auth-es/server.jks --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org