[ 
https://issues.apache.org/jira/browse/JAMES-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lan Khuat updated JAMES-3459:
-----------------------------
    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 
MailboxChangeRepository. First we will implement a memory version of it.
h1. How
 * Define MailboxChange model.

 * Define a contract for the MailboxChangeRepository.

 * Implement MemoryMailboxChangeRepository APIs (save, getSinceState) base on 
the contract.

h1. DoD

Write unit tests to show that MemoryMailboxChangesRepository is functioning 
properly.

  was:
>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 
MailboxChangeStore. First we will implement a memory version of it.
h1. How
 * Define MailboxChange model.


 * Define a contract for the MailboxChangeStore.


 * Implement MemoryMailboxChangeStore APIs (save, getFromState,...) base on the 
contract.

h1. DoD

Write unit tests to show that MemoryMailboxChangesStore is functioning properly.

        Summary: Implement a MailboxChangeRepository  (was: Implement a 
MailboxChangeStore)

> Implement a MailboxChangeRepository
> -----------------------------------
>
>                 Key: JAMES-3459
>                 URL: https://issues.apache.org/jira/browse/JAMES-3459
>             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 
> MailboxChangeRepository. First we will implement a memory version of it.
> h1. How
>  * Define MailboxChange model.
>  * Define a contract for the MailboxChangeRepository.
>  * Implement MemoryMailboxChangeRepository APIs (save, getSinceState) base on 
> the contract.
> h1. DoD
> Write unit tests to show that MemoryMailboxChangesRepository 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

Reply via email to