linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

[PGSQL] Adapt `QuotaThresholdChangedEventDTO` for Postgresql #5144

Closed vttranlina closed 3 months ago

vttranlina commented 3 months ago

Currently EventDTOModule<QuotaThresholdChangedEvent, QuotaThresholdChangedEventDTO> is not installed in Postgres app. The converting dto->event has location in james-server-guice-cassandra

We should relocate it to common and can re-use for postgres

Dod

Write the jmap integration test for it Similar to : https://github.com/linagora/tmail-backend/blob/e102ebdb555a8f09ae2feda2eb53792415f407b1/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/scala/com/linagora/tmail/james/common/TeamMailboxesQuotaExtensionsContract.scala#L128

vttranlina commented 3 months ago

Same issue with

ACLUpdatedDTO

vttranlina commented 3 months ago

QuotaThresholdChangedEventDTO -> pr https://github.com/apache/james-project/pull/2162

vttranlina commented 3 months ago

Same issue with

ACLUpdatedDTO

Pr: