linagora / tmail-backend

GNU Affero General Public License v3.0
37 stars 19 forks source link

[Postgres] JMAP memory binding for TMail app #918

Closed quantranhong1999 closed 6 months ago

quantranhong1999 commented 7 months ago

Why

The goal is to have a JMAP server backed by memory for TMail postgres-app. Then we can replace one by one with real Postgres implementation.

How

Do it similarly to https://github.com/linagora/james-project/issues/5022 (Must admit I did not look in detail into the TMail modules yet...)

DoD

TMailPostgresJmapServerTest passes the contract test JmapJamesServerContract.

Arsnael commented 7 months ago

Maybe couple with this? https://github.com/linagora/tmail-backend/issues/919

I think can probably put in place the IT tests even when pg-app on top of memeory jmap and when we imlement step by step pg jmap features, it should still stay green..?

hungphan227 commented 6 months ago

pr https://github.com/linagora/tmail-backend/pull/957