You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2019/11/25 02:31:00 UTC
[jira] [Commented] (JAMES-2989) MessagePreviewStore API + contract
+ memory
[ https://issues.apache.org/jira/browse/JAMES-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981254#comment-16981254 ]
René Cordier commented on JAMES-2989:
-------------------------------------
https://github.com/linagora/james-project/pull/2910 did contribute to MessagePreviewStore API, contract and memory implementation
> MessagePreviewStore API + contract + memory
> -------------------------------------------
>
> Key: JAMES-2989
> URL: https://issues.apache.org/jira/browse/JAMES-2989
> Project: James Server
> Issue Type: Sub-task
> Reporter: Trần Tiến Đức
> Priority: Major
>
> Follow the ADR in [https://github.com/apache/james-project/pull/170]
>
> We need an API to store messages preview.
> Implement MessagePreviewStore API + contract + memory in data-jmap.
>
> {code:java}
> interface MessagePreviewStore {
> Publisher<Void> store(MessageId messageId, Preview preview);
> Publisher<Preview> retrieve(MessageId messageId);
> Publisher<Void> delete(MessageId messageId);
> }
> {code}
> Note: Preview needs strong typing and business rule enforcement (max 256 character)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org