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 8f0c332 JAMES-3151 HasMimeType matchers fails on empty charset new da779b5 JAMES-3138 Move CurrentQuotas to mailbox-api new 4a7dfcb JAMES-3138 Add getCurrentQuotas in CurrentQuotaManager new 273129e JAMES-3138 Allow resetting current quotas new d254050 JAMES-3138 Add resetting current quotas service new f4312b6 JAMES-3138 Move increase and decrease to CurrentQuotaManager to have a allow a neutral RecomputeCurrentQuotasServiceContract new 9850fab JAMES-3138 Move resetQuotas to CurrentQuotaManager to allow StoreCurrentQuotaManager removal new 98c0630 JAMES-3138 Move RecomputeQuotaService to a mailbox-tools-quota-recompute module new dfbfcad JAMES-3138 Rename resetCurrentQuotas to setCurrentQuotas new 14bba3e JAMES-3138 Change CurrentQuotaManagerTest into CurrentQuotaManagerContract new 79cb3d1 JAMES-3138 InMemoryCurrentQuotaManagerTest should implement CurrentQuotaManagerContract The 10 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: .../{QuotaOperation.java => CurrentQuotas.java} | 52 ++++-- .../apache/james/mailbox/model/QuotaOperation.java | 8 +- .../james/mailbox/quota/CurrentQuotaManager.java | 10 + .../james/mailbox/model/CurrentQuotasTest.java | 6 +- .../james/mailbox/model/QuotaOperationTest.java | 13 +- mailbox/cassandra/pom.xml | 16 ++ .../quota/CassandraCurrentQuotaManager.java | 62 +++++-- .../CassandraMessageIdManagerTestSystem.java | 3 +- .../cassandra/CassandraTestSystemFixture.java | 8 +- ...CassandraRecomputeCurrentQuotasServiceTest.java | 160 ++++++++++++++++ .../quota/CassandraCurrentQuotaManagerTest.java | 8 +- mailbox/jpa/pom.xml | 16 ++ .../mailbox/jpa/quota/JpaCurrentQuotaManager.java | 26 ++- .../task/JPARecomputeCurrentQuotasServiceTest.java | 132 +++++++++++++ .../jpa/quota/JPACurrentQuotaManagerTest.java | 8 +- mailbox/memory/pom.xml | 16 ++ .../quota/InMemoryCurrentQuotaManager.java | 24 ++- .../MemoryRecomputeCurrentQuotasServiceTest.java | 83 +++++++++ .../manager/InMemoryIntegrationResources.java | 13 +- ...ava => InMemoryCurrentQuotaCalculatorTest.java} | 24 ++- .../quota/InMemoryCurrentQuotaManagerTest.java | 59 +----- mailbox/pom.xml | 1 + .../store/quota/CurrentQuotaCalculator.java | 32 +--- .../store/quota/ListeningCurrentQuotaUpdater.java | 13 +- .../store/quota/StoreCurrentQuotaManager.java | 33 ---- .../store/quota/CurrentQuotaManagerContract.java | 135 ++++++++++++++ .../quota/ListeningCurrentQuotaUpdaterTest.java | 5 +- .../store/quota/StoreCurrentQuotaManagerTest.java | 77 -------- .../{maildir-utils => quota-recompute}/pom.xml | 11 +- .../quota/task/RecomputeCurrentQuotasService.java | 170 +++++++++++++++++ .../RecomputeCurrentQuotasServiceContract.java | 205 +++++++++++++++++++++ pom.xml | 11 ++ .../modules/mailbox/CassandraQuotaModule.java | 2 - .../james/modules/mailbox/JpaQuotaModule.java | 2 - .../james/modules/mailbox/MemoryQuotaModule.java | 2 - 35 files changed, 1165 insertions(+), 281 deletions(-) copy mailbox/api/src/main/java/org/apache/james/mailbox/model/{QuotaOperation.java => CurrentQuotas.java} (55%) copy server/protocols/jmap/src/test/java/org/apache/james/jmap/VersionTest.java => mailbox/api/src/test/java/org/apache/james/mailbox/model/CurrentQuotasTest.java (91%) create mode 100644 mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/CassandraRecomputeCurrentQuotasServiceTest.java create mode 100644 mailbox/jpa/src/test/java/org/apache/james/mailbox/jpa/mail/task/JPARecomputeCurrentQuotasServiceTest.java create mode 100644 mailbox/memory/src/test/java/org/apache/james/mailbox/inmemory/mail/task/MemoryRecomputeCurrentQuotasServiceTest.java copy mailbox/memory/src/test/java/org/apache/james/mailbox/inmemory/quota/{InMemoryCurrentQuotaManagerTest.java => InMemoryCurrentQuotaCalculatorTest.java} (78%) delete mode 100644 mailbox/store/src/main/java/org/apache/james/mailbox/store/quota/StoreCurrentQuotaManager.java create mode 100644 mailbox/store/src/test/java/org/apache/james/mailbox/store/quota/CurrentQuotaManagerContract.java delete mode 100644 mailbox/store/src/test/java/org/apache/james/mailbox/store/quota/StoreCurrentQuotaManagerTest.java copy mailbox/tools/{maildir-utils => quota-recompute}/pom.xml (82%) create mode 100644 mailbox/tools/quota-recompute/src/main/java/org/apache/james/mailbox/quota/task/RecomputeCurrentQuotasService.java create mode 100644 mailbox/tools/quota-recompute/src/test/java/org/apache/james/mailbox/quota/task/RecomputeCurrentQuotasServiceContract.java --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org