[ https://issues.apache.org/jira/browse/JAMES-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lan Khuat updated JAMES-3469: ----------------------------- Description: >From the spec: [https://jmap.io/spec-core.html#changes] ``` When the state of the set of Foo records in an account changes on the server (whether due to creation, updates, or deletion), the state property of the Foo/get response will change. ``` We need to store all the changes made to mailbox objects in a table name EmailChangeRepository. First we will implement a memory version of it. h1. How 1. Define EmailChange model with these fields: - accountId - state - created - updated - destroyed - date Implement APIs to interact with MemoryEmailChangeRepository (save, getFromState) h1. DoD Write unit tests to show that MemoryEmailChangeRepository is functioning properly. was: h1. Objective >From the spec: https://jmap.io/spec-core.html#changes ``` When the state of the set of Foo records in an account changes on the server (whether due to creation, updates, or deletion), the state property of the Foo/get response will change. ``` We need to store all the changes made to mailbox objects in a table name EmailChangeRepository. First we will implement a memory version of it. h1. How 1. Define EmailChange model with these fields: - accountId - state - created - updated - destroyed - date 2. Implement APIs to interact with MemoryEmailChangeRepository (save, getFromState) h1. DoD Write unit tests to show that MemoryEmailChangeRepository is functioning properly. > Implement MemoryEmailChangeRepository > ------------------------------------- > > Key: JAMES-3469 > URL: https://issues.apache.org/jira/browse/JAMES-3469 > Project: James Server > Issue Type: Sub-task > Reporter: Lan Khuat > Priority: Major > > From the spec: [https://jmap.io/spec-core.html#changes] > ``` > When the state of the set of Foo records in an account changes on the server > (whether due to creation, updates, or deletion), the state property of the > Foo/get response will change. > ``` > We need to store all the changes made to mailbox objects in a table name > EmailChangeRepository. First we will implement a memory version of it. > h1. How > 1. Define EmailChange model with these fields: > - accountId > - state > - created > - updated > - destroyed > - date > Implement APIs to interact with MemoryEmailChangeRepository (save, > getFromState) > h1. DoD > Write unit tests to show that MemoryEmailChangeRepository is functioning > properly. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org