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 1a607e7 JAMES-2676 refactor zip header string id to little endian short new c056f4f JAMES-2663 Make Vault components public new 102b8db JAMES-2663 QueryDTO with deserializer and translator new 8174c65 JAMES-2663 Vault route: restore by query new 549fa5d JAMES-2665 Integration test for "vault" queries new 3e97afc MAILBOX-379 Trigger pre-deletion hooks upon mailbox delete new 9506168 MAILBOX-379 Factorize PreDeletionHook execution new 8f8c4c8 JAMES-2665 Re-enable vault integration test about mailbox deletion 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/mailbox/MailboxManagerTest.java | 21 + .../mailbox/cassandra/CassandraMailboxManager.java | 5 +- .../mailbox/cassandra/CassandraMessageManager.java | 5 +- .../CassandraCombinationManagerTestSystem.java | 6 +- .../cassandra/CassandraMailboxManagerProvider.java | 6 +- .../CassandraMailboxManagerStressTest.java | 3 +- .../cassandra/CassandraMailboxManagerTest.java | 3 +- .../CassandraMessageIdManagerTestSystem.java | 5 +- .../cassandra/CassandraTestSystemFixture.java | 5 +- .../CassandraMailboxManagerAttachmentTest.java | 6 +- .../ElasticSearchIntegrationTest.java | 6 +- .../james/mailbox/jpa/JPAMailboxManager.java | 4 +- .../james/mailbox/jpa/JPAMessageManager.java | 4 +- .../search/LuceneMessageSearchIndexTest.java | 6 +- .../resources/META-INF/spring/mailbox-maildir.xml | 2 +- .../maildir/MaildirMailboxManagerProvider.java | 3 +- .../mailbox/inmemory/InMemoryMailboxManager.java | 5 +- .../mailbox/inmemory/InMemoryMessageManager.java | 5 +- .../resources/META-INF/spring/mailbox-memory.xml | 2 +- .../mail/InMemoryMailboxManagerAttachmentTest.java | 6 +- .../manager/InMemoryIntegrationResources.java | 5 +- .../InMemoryMessageIdManagerSideEffectTest.java | 5 +- .../org/apache/james/vault/DeletedMessage.java | 16 +- .../org/apache/james/vault/search/Criterion.java | 6 +- .../james/vault/search/DeletedMessageField.java | 2 +- .../java/org/apache/james/vault/search/Query.java | 4 + .../store/search/SimpleMessageSearchIndexTest.java | 4 +- .../resources/META-INF/spring/spring-mailbox.xml | 4 + .../james/mailbox/store/PreDeletionHooks.java | 38 +- .../james/mailbox/store/StoreMailboxManager.java | 21 +- .../james/mailbox/store/StoreMessageIdManager.java | 8 +- .../james/mailbox/store/StoreMessageManager.java | 11 +- .../james/mailbox/store/PreDeletionHooksTest.java | 156 +++ .../mailbox/store/StoreMailboxManagerTest.java | 3 +- .../tools/indexer/CassandraReIndexerImplTest.java | 4 +- .../cassandra/host/CassandraHostSystem.java | 4 +- .../host/ElasticSearchHostSystem.java | 4 +- .../lucenesearch/host/LuceneSearchHostSystem.java | 3 +- .../maildir/host/MaildirHostSystem.java | 3 +- .../CassandraDeletedMessageVaultTest.java | 13 - .../integration/DeletedMessagesVaultTest.java | 84 +- .../memory/MemoryDeletedMessagesVaultTest.java | 13 - .../rabbitmq/RabbitMQDeletedMessagesVaultTest.java | 14 - .../webadmin-mailbox-deleted-message-vault/pom.xml | 10 + .../routes/DeletedMessagesVaultRestoreTask.java | 7 +- .../vault/routes/DeletedMessagesVaultRoutes.java | 47 +- .../webadmin/vault/routes/RestoreService.java | 4 +- .../webadmin/vault/routes/query/CriterionDTO.java} | 51 +- .../webadmin/vault/routes/query/QueryDTO.java} | 48 +- .../webadmin/vault/routes/query/QueryElement.java} | 9 +- .../routes/query/QueryElementDeserializer.java} | 43 +- .../vault/routes/query/QueryTranslator.java | 238 ++++ .../routes/DeletedMessagesVaultRoutesTest.java | 1270 +++++++++++++++++++- .../routes/query/QueryElementDeserializerTest.java | 89 ++ .../vault/routes/query/QueryElementTest.java} | 14 +- .../vault/routes/query/QueryTranslatorTest.java | 74 ++ src/site/markdown/server/manage-webadmin.md | 101 +- 57 files changed, 2260 insertions(+), 278 deletions(-) copy server/container/util/src/main/java/org/apache/james/util/Runnables.java => mailbox/store/src/main/java/org/apache/james/mailbox/store/PreDeletionHooks.java (65%) create mode 100644 mailbox/store/src/test/java/org/apache/james/mailbox/store/PreDeletionHooksTest.java copy server/{data/data-api/src/main/java/org/apache/james/sieverepository/api/ScriptContent.java => protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/query/CriterionDTO.java} (52%) copy server/protocols/webadmin/{webadmin-cassandra/src/main/java/org/apache/james/webadmin/dto/MailboxMergingRequest.java => webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/query/QueryDTO.java} (55%) copy server/protocols/{jmap/src/main/java/org/apache/james/jmap/model/Filter.java => webadmin/webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/query/QueryElement.java} (85%) copy server/protocols/{jmap/src/main/java/org/apache/james/jmap/json/FilterDeserializer.java => webadmin/webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/query/QueryElementDeserializer.java} (56%) create mode 100644 server/protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/query/QueryTranslator.java create mode 100644 server/protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/test/java/org/apache/james/webadmin/vault/routes/query/QueryElementDeserializerTest.java copy server/{blob/mail-store/src/test/java/org/apache/james/blob/mail/MimeMessagePartsIdTest.java => protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/test/java/org/apache/james/webadmin/vault/routes/query/QueryElementTest.java} (80%) create mode 100644 server/protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/test/java/org/apache/james/webadmin/vault/routes/query/QueryTranslatorTest.java --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org