[ 
https://issues.apache.org/jira/browse/JAMES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997786#comment-16997786
 ] 

Benoit Tellier commented on JAMES-2993:
---------------------------------------

As we are working with task, we are writing a lot of tests regarding 
serialization.

Thus we proposed a fluent test util to challenge JSON serialization: 
https://github.com/linagora/james-project/pull/3007 (merged)

 - Our work regarding projection rebuilding needs to rely on it.
 - We need to extend it's usage in the code base.

> Rebuild MessagePreviewStore content
> -----------------------------------
>
>                 Key: JAMES-2993
>                 URL: https://issues.apache.org/jira/browse/JAMES-2993
>             Project: James Server
>          Issue Type: Sub-task
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> Proposal of API:
> {code:java}
> POST /jmap/messages/:messageId?action=recomputeJmapPreview
> POST /jmap?action=recomputeJmapPreview
> POST /jmap?action=recomputeJmapPreview&user=btellier
> {code}
> Will return a taskId.
> Write routes & tasks.
> DOD: Write a unit test showing we are able to recompute missing previews 
> (using a memory implementation specific delete method of 
> MemoryMessagePreviewStore to create the inconsistency). Use a 
> MemoryMailboxManager.



--
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