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

Benoit Tellier closed JAMES-3461.
---------------------------------
    Fix Version/s: 3.6.0
       Resolution: Fixed

https://github.com/linagora/james-project/pull/4106 implemented this

> Implement Mailbox/changes method and related contract tests
> -----------------------------------------------------------
>
>                 Key: JAMES-3461
>                 URL: https://issues.apache.org/jira/browse/JAMES-3461
>             Project: James Server
>          Issue Type: Sub-task
>            Reporter: Lan Khuat
>            Priority: Major
>             Fix For: 3.6.0
>
>
> From the spec: [https://jmap.io/spec-core.html#changes]
> {code:java}
> The Foo/changes method allows a client to efficiently update the state of its 
> Foo cache to match the new state on the server. 
> {code}
> h1. How
> 1. Write a serializer to deserialize/serialize Mailbox/changes 
> request/response.
> 2. Implement Mailbox/changes method + tests.
> h1. Example
> *Request*
> {code:java}
> [[ "Mailbox/changes", {
>  "accountId": 
> "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
>  "sinceState": "000001"
> }, "t0" ]]
> {code}
> *Response*
> {code:java}
> [[ "Mailbox/changes", {
>  "accountId": 
> "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6",
>  "oldState": "000001",
>  "newState": "000002",
>  "hasMoreChanges": false,
>  "created": [ "1", "2" ],
>  "updated": [],
>  "destroyed": []
> }, "t0" ]]
> {code}
> h1. DoD
> Write integration tests to show that we can retrieve the changes to 
> mailbox(es) from a particular state.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to