This is an automated email from the ASF dual-hosted git repository.
btellier pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git.
from 3d21b8b JAMES-2936 reject path with empty names in the hierachy when
renaming mailbox and sanitize new name
new 0fff261 JAMES-2917 Make To sort testing less context-dependent
new 5b6427a JAMES-2917 Rely on ElasticSearch routing key
new 6129d92 JAMES-2917 Require ElasticSearch routing upon index
new 0d72783 JAMES-2917 Solve some RequestOptions related deprecation
warnings
new 4172365 JAMES-2917 Document breaking changes in changelog + upgrade
instructions
new 70fb5d1 JAMES-2917 Factorize RoutingKey generation logic
The 6 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:
CHANGELOG.md | 5 ++
.../james/backends/es/DeleteByQueryPerformer.java | 20 +++--
.../org/apache/james/backends/es/DocumentId.java | 29 +++----
.../james/backends/es/ElasticSearchIndexer.java | 39 ++++++----
.../james/backends/es/NodeMappingFactory.java | 2 +
.../org/apache/james/backends/es/RoutingKey.java | 38 ++++-----
.../james/backends/es/UpdatedRepresentation.java | 8 +-
.../james/backends/es/search/ScrolledSearch.java | 8 +-
.../apache/james/backends/es/DocumentIdTest.java | 24 ++----
.../backends/es/ElasticSearchIndexerTest.java | 90 ++++++++++++----------
.../apache/james/backends/es/RoutingKeyTest.java | 24 ++----
.../elasticsearch/MailboxIdRoutingKeyFactory.java} | 12 +--
.../elasticsearch/MailboxMappingFactory.java | 6 ++
.../ElasticSearchListeningMessageSearchIndex.java | 41 ++++++----
.../search/ElasticSearchSearcher.java | 19 ++++-
.../ElasticSearchIntegrationTest.java | 5 +-
.../MailboxIdRoutingKeyFactoryTest.java} | 15 ++--
...asticSearchListeningMessageSearchIndexTest.java | 8 +-
.../elasticsearch/QuotaRatioMappingFactory.java | 6 ++
.../elasticsearch/UserRoutingKeyFactory.java} | 13 ++--
.../events/ElasticSearchQuotaMailboxListener.java | 21 +++--
...lasticSearchQuotaSearchTestSystemExtension.java | 3 +-
.../elasticsearch/UserRoutingKeyFactoryTest.java} | 15 ++--
.../ElasticSearchQuotaMailboxListenerTest.java | 4 +-
.../search/AbstractMessageSearchIndexTest.java | 6 +-
mailbox/store/src/test/resources/eml/mail1.eml | 2 +-
mailbox/store/src/test/resources/eml/mail2.eml | 2 +-
mailbox/store/src/test/resources/eml/mail3.eml | 2 +-
mailbox/store/src/test/resources/eml/mail4.eml | 2 +-
.../host/ElasticSearchHostSystem.java | 6 +-
.../mailbox/ElasticSearchMailboxModule.java | 10 ++-
.../mailbox/ElasticSearchQuotaSearcherModule.java | 4 +-
.../routes/ElasticSearchQuotaSearchExtension.java | 4 +-
upgrade-instructions.md | 23 ++++++
34 files changed, 311 insertions(+), 205 deletions(-)
copy
server/data/data-api/src/main/java/org/apache/james/sieverepository/api/ScriptName.java
=>
backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/DocumentId.java
(75%)
copy
server/data/data-api/src/main/java/org/apache/james/sieverepository/api/ScriptContent.java
=>
backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/RoutingKey.java
(73%)
copy
server/blob/blob-api/src/test/java/org/apache/james/blob/api/BucketNameTest.java
=>
backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/DocumentIdTest.java
(74%)
copy
server/blob/blob-api/src/test/java/org/apache/james/blob/api/BucketNameTest.java
=>
backends-common/elasticsearch/src/test/java/org/apache/james/backends/es/RoutingKeyTest.java
(74%)
copy
mailbox/{store/src/main/java/org/apache/james/mailbox/store/mail/model/MailboxIdDeserializer.java
=>
elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/MailboxIdRoutingKeyFactory.java}
(80%)
copy
mailbox/{backup/src/test/java/org/apache/james/mailbox/backup/DirectoryTest.java
=>
elasticsearch/src/test/java/org/apache/james/mailbox/elasticsearch/MailboxIdRoutingKeyFactoryTest.java}
(78%)
copy
mailbox/plugin/{quota-search/src/main/java/org/apache/james/quota/search/QuotaSearcher.java
=>
quota-search-elasticsearch/src/main/java/org/apache/james/quota/search/elasticsearch/UserRoutingKeyFactory.java}
(81%)
copy
mailbox/{backup/src/test/java/org/apache/james/mailbox/backup/DirectoryTest.java
=>
plugin/quota-search-elasticsearch/src/test/java/org/apache/james/quota/search/elasticsearch/UserRoutingKeyFactoryTest.java}
(79%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]