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 9b9a07f JAMES-3201 Vavr Either adoption new 0769fee JAMES-3150 Add ScalaCheck for the garbadge collector new 58a8c25 JAMES-3150 Add the first garbadge collection properties new d2d2e86 JAMES-3194 Rely on DTOConverter in TaskRoute new 7c1adec JAMES-3194 Inject DTOConverter for every product new 4d529f7 JAMES-3194 Remove Jackson annotations from AdditionalInformation new 76ffc21 JAMES-3194 Leverage named injection to uncouple storage and presentation DTOs for additional tasks new 48baa23 JAMES-3194 Add missing licenses new e6ae7eb JAMES-3194 Homogeneous naming for Additional Information serialization modules new c9b0a70 JAMES-3194 Rename SingleMailboxReindexingTask TYPE new 24e6833 JAMES-3201 Add missign tests for ReIndexing tasks mailboxFailures new 36fcc9f JAMES-3201 Document mailboxFailures for ReIndexing tasks new a4625e1 JAMES-3204 additionalInformation.failures should be renamed to messageFailures new 8f86732 JAMES-3182 Detail filter visit algorithm in method name new c4b95da JAMES-3204 Allow recording executed Cassandra statements new 3781196 JAMES-3204 Demonstrate CassandraMessageMapper partially applies limit new 4c093a4 JAMES-3204 Flatten reactive calls in CassandraMailboxMapper::findInMailboxReactive new db80c6c JAMES-3204 Push limit to Cassandra backend when reading messages The 17 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: .../MigrationTaskAdditionalInformationDTO.java | 2 +- .../james/backends/cassandra/CassandraCluster.java | 4 +- .../cassandra/CassandraClusterExtension.java | 2 +- .../backends/cassandra/StatementRecorder.java | 30 +- .../james/backends/cassandra/TestingSession.java | 23 + .../backends/cassandra/TestingSessionTest.java | 42 ++ .../migration/MigrationTaskSerializationTest.java | 2 +- .../mailbox/cassandra/DeleteMessageListener.java | 3 +- .../cassandra/mail/CassandraMessageIdDAO.java | 95 +++-- .../cassandra/mail/CassandraMessageMapper.java | 13 +- ...MailboxMergingTaskAdditionalInformationDTO.java | 6 +- .../mail/task/MailboxMergingTaskRunner.java | 3 +- .../mail/task/RecomputeMailboxCountersService.java | 3 +- .../mail/task/RecomputeMailboxCountersTask.java | 3 - ...ailboxCountersTaskAdditionalInformationDTO.java | 6 +- .../mail/task/SolveMailboxInconsistenciesTask.java | 6 - ...nconsistenciesTaskAdditionalInformationDTO.java | 7 +- .../mail/task/SolveMessageInconsistenciesTask.java | 9 - ...nconsistenciesTaskAdditionalInformationDTO.java | 6 +- .../cassandra/CassandraMailboxManagerTest.java | 15 +- .../cassandra/mail/CassandraMessageIdDAOTest.java | 111 ++++- .../mail/CassandraMessageIdMapperTest.java | 9 +- .../cassandra/mail/CassandraMessageMapperTest.java | 51 ++- .../mail/task/MailboxMergingTaskTest.java | 2 +- ...omputeMailboxCountersTaskSerializationTest.java | 2 +- ...ailboxInconsistenciesTaskSerializationTest.java | 2 +- ...essageInconsistenciesTaskSerializationTest.java | 4 +- ...bageCollectionTaskAdditionalInformationDTO.java | 9 + ...aultGarbageCollectionTaskSerializationTest.java | 2 +- ...geIdReindexingTaskAdditionalInformationDTO.java | 2 +- .../indexer/ReprocessingContextInformation.java | 9 - .../indexer/ReprocessingContextInformationDTO.java | 11 +- .../tools/indexer/SingleMailboxReindexingTask.java | 9 +- ...lboxReindexingTaskAdditionalInformationDTO.java | 4 +- .../indexer/SingleMailboxReindexingTaskDTO.java | 2 +- ...sageReindexingTaskAdditionalInformationDTO.java | 2 +- .../mailbox/tools/indexer/UserReindexingTask.java | 5 +- ...UserReindexingTaskAdditionalInformationDTO.java | 2 +- ...rorRecoveryIndexationTaskSerializationTest.java | 4 +- .../FullReindexingTaskSerializationTest.java | 4 +- .../MessageIdReindexingTaskSerializationTest.java | 2 +- ...ngleMailboxReindexingTaskSerializationTest.java | 4 +- ...ngleMessageReindexingTaskSerializationTest.java | 2 +- .../UserReindexingTaskSerializationTest.java | 4 +- .../quota/task/RecomputeCurrentQuotasTask.java | 3 - ...eCurrentQuotasTaskAdditionalInformationDTO.java | 6 +- ...ecomputeCurrentQuotasTaskSerializationTest.java | 4 +- pom.xml | 10 + .../blob/blob-deduplicating/doc/gc-properties.adoc | 23 + .../blob-deduplicating}/pom.xml | 59 ++- .../james/server/blob/deduplication/GC.scala | 187 ++++++++ .../blob/deduplication/GCPropertiesTest.scala | 228 ++++++++++ .../james/server/blob/deduplication/State.scala} | 39 +- server/blob/pom.xml | 1 + .../org/apache/james/CassandraJamesServerMain.java | 4 + ...assandraConsistencyTaskSerializationModule.java | 149 +++++++ .../james/CassandraRabbitMQJamesServerMain.java | 4 +- .../modules/DistributedTaskManagerModule.java | 3 + .../DistributedTaskSerializationModule.java | 107 +++++ .../james/modules/TaskSerializationModule.java | 475 --------------------- server/container/guice/guice-common/pom.xml | 4 + .../james/modules/server/TaskManagerModule.java | 2 + .../modules/server/TaskSerializationModule.java} | 36 +- .../java/org/apache/james/JPAJamesServerMain.java | 4 +- .../modules/mailbox/LuceneSearchMailboxModule.java | 2 + .../modules/vault/DeletedMessageVaultModule.java | 1 + .../vault/VaultTaskSerializationModule.java | 110 +++++ server/container/guice/mailbox/pom.xml | 4 + .../mailbox/ReIndexingTaskSerializationModule.java | 110 +++++ .../server/JmapTaskSerializationModule.java | 70 +++ .../james/modules/server/JmapTasksModule.java | 2 + .../james/modules/server/MailboxRoutesModule.java | 2 + .../server/MailboxesExportRoutesModule.java | 1 + .../WebAdminReIndexingTaskSerializationModule.java | 73 ++++ ...badminMailboxExportTaskSerializationModule.java | 52 +++ .../WebadminMailboxTaskSerializationModule.java | 105 +++++ .../modules/server/MailQueueRoutesModule.java | 2 + .../server/MailQueueTaskSerializationModule.java | 72 ++++ .../server/MailRepositoriesRoutesModule.java | 2 + .../MailRepositoryTaskSerializationModule.java | 92 ++++ .../james/modules/server/TaskRoutesModule.java | 19 + .../java/org/apache/james/util/streams/Limit.java | 4 + ...urcesMigrationTaskAdditionalInformationDTO.java | 2 +- ...pingsSourcesMigrationTaskSerializationTest.java | 2 +- .../jmap/draft/methods/GetMessageListMethod.java | 2 +- .../org/apache/james/jmap/draft/model/Filter.java | 8 +- .../apache/james/jmap/draft/model/FilterTest.java | 44 +- ...dminServerTaskSerializationIntegrationTest.java | 8 +- .../routes/CassandraMappingsRoutesTest.java | 5 +- .../protocols/webadmin/webadmin-cassandra/pom.xml | 11 + ...AdminMigrationTaskAdditionalInformationDTO.java | 27 +- .../WebAdminMigrationTaskSerializationTest.java} | 28 +- .../routes/CassandraMigrationRoutesTest.java | 5 +- ...lveMessageInconsistenciesRequestToTaskTest.java | 4 +- server/protocols/webadmin/webadmin-core/pom.xml | 4 + .../james/webadmin/dto/DTOModuleInjections.java} | 17 +- .../james/webadmin/dto/ExecutionDetailsDto.java | 24 +- .../apache/james/webadmin/routes/TasksRoutes.java | 16 +- .../james/webadmin/routes/TasksRoutesTest.java | 6 +- ...uteAllFastViewTaskAdditionalInformationDTO.java | 5 +- ...teUserFastViewTaskAdditionalInformationDTO.java | 5 +- ...llFastViewProjectionItemsRequestToTaskTest.java | 4 +- ...ctionItemsTaskAdditionalInformationDTOTest.java | 4 +- ...erFastViewProjectionItemsRequestToTaskTest.java | 4 +- ...ctionItemsTaskAdditionalInformationDTOTest.java | 4 +- ...gesVaultDeleteTaskAdditionalInformationDTO.java | 2 +- ...gesVaultExportTaskAdditionalInformationDTO.java | 6 +- ...esVaultRestoreTaskAdditionalInformationDTO.java | 6 +- ...esVaultDeleteTaskAdditionalInformationDTO.java} | 34 +- ...sVaultRestoreTaskAdditionalInformationDTO.java} | 38 +- ...edMessagesVaultDeleteTaskSerializationTest.java | 2 +- ...edMessagesVaultExportTaskSerializationTest.java | 4 +- ...dMessagesVaultRestoreTaskSerializationTest.java | 2 +- .../routes/DeletedMessagesVaultRoutesTest.java | 9 +- ...dMessagesVaultDeleteTaskSerializationTest.java} | 28 +- ...MessagesVaultRestoreTaskSerializationTest.java} | 36 +- server/protocols/webadmin/webadmin-mailbox/pom.xml | 1 - .../SerializableReIndexingExecutionFailures.java | 2 +- .../WebAdminReprocessingContextInformationDTO.java | 129 ++++++ ...lboxReindexingTaskAdditionalInformationDTO.java | 96 +++++ ...UserReindexingTaskAdditionalInformationDTO.java | 98 +++++ ...LettersRedeliveryTaskAdditionalInformation.java | 4 - ...tersRedeliveryTaskAdditionalInformationDTO.java | 17 +- ...erializableReIndexingExecutionFailuresTest.java | 2 +- ...AdminReprocessingContextInformationDTOTest.java | 124 ++++++ .../WebAdminSingleMailboxReprocessingDTOTest.java | 90 ++++ .../dto/WebAdminUserReprocessingDTOTest.java | 90 ++++ .../routes/EventDeadLettersRoutesTest.java | 9 +- .../routes/MailboxesRoutesNoTasksTest.java | 3 +- .../james/webadmin/routes/MailboxesRoutesTest.java | 105 ++++- .../james/webadmin/routes/MessageRoutesTest.java | 6 +- .../UserMailboxesRoutesNoIndexationTest.java | 3 +- .../webadmin/routes/UserMailboxesRoutesTest.java | 44 +- .../routes/WebAdminQuotaSearchTestSystem.java | 5 +- .../service/EventDeadLettersRedeliverTaskTest.java | 6 +- .../service/MailboxesExportRequestToTaskTest.java | 4 +- ...ClearMailQueueTaskAdditionalInformationDTO.java | 8 +- ...sFromMailQueueTaskAdditionalInformationDTO.java | 26 +- .../service/DeleteMailsFromMailQueueTaskDTO.java | 19 + ...sFromMailQueueTaskAdditionalInformationDTO.java | 128 ++++++ .../james/webadmin/routes/MailQueueRoutesTest.java | 7 +- .../webadmin/service/ClearMailQueueTaskTest.java | 2 +- .../service/DeleteMailsFromMailQueueTaskTest.java | 5 +- ...mMailQueueTaskAdditionalInformationDTOTest.java | 51 +++ ...MailRepositoryTaskAdditionalInformationDTO.java | 9 +- ...essingAllMailsTaskAdditionalInformationDTO.java | 9 +- ...cessingOneMailTaskAdditionalInformationDTO.java | 9 +- ...ailRepositoryTaskAdditionalInformationDTO.java} | 35 +- .../routes/MailRepositoriesRoutesTest.java | 9 +- .../service/ClearMailRepositoryTaskTest.java | 2 +- .../service/ReprocessingAllMailsTaskTest.java | 2 +- .../service/ReprocessingOneMailTaskTest.java | 2 +- ...=> WebAdminClearMailRepositoryTaskDTOTest.java} | 34 +- src/site/markdown/server/manage-webadmin.md | 55 +-- 154 files changed, 3254 insertions(+), 1011 deletions(-) copy server/container/guice/protocols/webadmin/src/main/java/org/apache/james/modules/server/TaskRoutesModule.java => backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/StatementRecorder.java (67%) create mode 100644 server/blob/blob-deduplicating/doc/gc-properties.adoc copy server/{protocols/webadmin/webadmin-cassandra => blob/blob-deduplicating}/pom.xml (59%) create mode 100644 server/blob/blob-deduplicating/src/main/scala/org/apache/james/server/blob/deduplication/GC.scala create mode 100644 server/blob/blob-deduplicating/src/test/scala/org/apache/james/server/blob/deduplication/GCPropertiesTest.scala copy server/{container/guice/mailbox-plugin-deleted-messages-vault-guice/src/main/java/org/apache/james/modules/vault/DeletedMessageVaultModule.java => blob/blob-deduplicating/src/test/scala/org/apache/james/server/blob/deduplication/State.scala} (56%) create mode 100644 server/container/guice/cassandra-guice/src/main/java/org/apache/james/modules/CassandraConsistencyTaskSerializationModule.java create mode 100644 server/container/guice/cassandra-rabbitmq-guice/src/main/java/org/apache/james/modules/DistributedTaskSerializationModule.java delete mode 100644 server/container/guice/cassandra-rabbitmq-guice/src/main/java/org/apache/james/modules/TaskSerializationModule.java copy server/container/guice/{protocols/webadmin-jmap/src/main/java/org/apache/james/modules/server/JmapTasksModule.java => guice-common/src/main/java/org/apache/james/modules/server/TaskSerializationModule.java} (53%) create mode 100644 server/container/guice/mailbox-plugin-deleted-messages-vault-guice/src/main/java/org/apache/james/modules/vault/VaultTaskSerializationModule.java create mode 100644 server/container/guice/mailbox/src/main/java/org/apache/james/modules/mailbox/ReIndexingTaskSerializationModule.java create mode 100644 server/container/guice/protocols/webadmin-jmap/src/main/java/org/apache/james/modules/server/JmapTaskSerializationModule.java create mode 100644 server/container/guice/protocols/webadmin-mailbox/src/main/java/org/apache/james/modules/server/WebAdminReIndexingTaskSerializationModule.java create mode 100644 server/container/guice/protocols/webadmin-mailbox/src/main/java/org/apache/james/modules/server/WebadminMailboxExportTaskSerializationModule.java create mode 100644 server/container/guice/protocols/webadmin-mailbox/src/main/java/org/apache/james/modules/server/WebadminMailboxTaskSerializationModule.java create mode 100644 server/container/guice/protocols/webadmin-mailqueue/src/main/java/org/apache/james/modules/server/MailQueueTaskSerializationModule.java create mode 100644 server/container/guice/protocols/webadmin-mailrepository/src/main/java/org/apache/james/modules/server/MailRepositoryTaskSerializationModule.java copy backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/migration/MigrationTaskAdditionalInformationDTO.java => server/protocols/webadmin/webadmin-cassandra/src/main/java/org/apache/james/webadmin/dto/WebAdminMigrationTaskAdditionalInformationDTO.java (68%) copy server/{container/guice/guice-common/src/main/java/org/apache/james/modules/server/TaskManagerModule.java => protocols/webadmin/webadmin-cassandra/src/test/java/org/apache/james/webadmin/dto/WebAdminMigrationTaskSerializationTest.java} (56%) copy server/{container/guice/guice-common/src/main/java/org/apache/james/modules/server/TaskManagerModule.java => protocols/webadmin/webadmin-core/src/main/java/org/apache/james/webadmin/dto/DTOModuleInjections.java} (71%) copy server/protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/{DeletedMessagesVaultDeleteTaskAdditionalInformationDTO.java => WebAdminDeletedMessagesVaultDeleteTaskAdditionalInformationDTO.java} (66%) copy server/protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/main/java/org/apache/james/webadmin/vault/routes/{DeletedMessagesVaultRestoreTaskAdditionalInformationDTO.java => WebAdminDeletedMessagesVaultRestoreTaskAdditionalInformationDTO.java} (67%) copy server/protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/test/java/org/apache/james/webadmin/vault/routes/{DeletedMessagesVaultDeleteTaskSerializationTest.java => WebAdminDeletedMessagesVaultDeleteTaskSerializationTest.java} (61%) copy server/{data/data-cassandra/src/test/java/org/apache/james/rrt/cassandra/migration/MappingsSourcesMigrationTaskSerializationTest.java => protocols/webadmin/webadmin-mailbox-deleted-message-vault/src/test/java/org/apache/james/webadmin/vault/routes/WebAdminDeletedMessagesVaultRestoreTaskSerializationTest.java} (51%) rename {mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer => server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/dto}/SerializableReIndexingExecutionFailures.java (98%) create mode 100644 server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/dto/WebAdminReprocessingContextInformationDTO.java create mode 100644 server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/dto/WebAdminSingleMailboxReindexingTaskAdditionalInformationDTO.java create mode 100644 server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/dto/WebAdminUserReindexingTaskAdditionalInformationDTO.java rename {mailbox/tools/indexer/src/test/java/org/apache/mailbox/tools/indexer => server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/dto}/SerializableReIndexingExecutionFailuresTest.java (98%) create mode 100644 server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/dto/WebAdminReprocessingContextInformationDTOTest.java create mode 100644 server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/dto/WebAdminSingleMailboxReprocessingDTOTest.java create mode 100644 server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/dto/WebAdminUserReprocessingDTOTest.java create mode 100644 server/protocols/webadmin/webadmin-mailqueue/src/main/java/org/apache/james/webadmin/service/WebAdminDeleteMailsFromMailQueueTaskAdditionalInformationDTO.java create mode 100644 server/protocols/webadmin/webadmin-mailqueue/src/test/java/org/apache/james/webadmin/service/WebAdminDeleteMailsFromMailQueueTaskAdditionalInformationDTOTest.java copy server/protocols/webadmin/webadmin-mailrepository/src/main/java/org/apache/james/webadmin/service/{ClearMailRepositoryTaskAdditionalInformationDTO.java => WebAdminClearMailRepositoryTaskAdditionalInformationDTO.java} (65%) copy server/protocols/webadmin/webadmin-mailrepository/src/test/java/org/apache/james/webadmin/service/{ClearMailRepositoryTaskTest.java => WebAdminClearMailRepositoryTaskDTOTest.java} (53%) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org