[
https://issues.apache.org/jira/browse/JAMES-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
René Cordier resolved JAMES-2156.
---------------------------------
Fix Version/s: 3.9.0
Resolution: Done
Implemented by [https://github.com/apache/james-project/pull/1658] and merged
> JPA Attachment Mapper
> ---------------------
>
> Key: JAMES-2156
> URL: https://issues.apache.org/jira/browse/JAMES-2156
> Project: James Server
> Issue Type: New Feature
> Components: jpa, mailbox
> Affects Versions: master
> Reporter: Benoit Tellier
> Priority: Major
> Labels: newbie
> Fix For: 3.9.0
>
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> Attachments can be stored separately in the mailbox. This allows protocols
> and user defined interfaces to directly interact with attachments.
> Nowadays, the JPA mailbox does not support such storage. Your goal is to add
> it. This is a first step to get JPA support for JMAP.
> To do so :
> - Implement the *AttachmentMapper* interface in *mailbox-jpa* *mail* package.
> - You can easily check your implementation by writing a
> *JPAAttachmentMapperTest*. To do so, extend the *AttachmentMapperTest* and
> allow Attachment mapper creation in *JPAMapperProvider*
> (createAttachmentMapper method as well as add Attachment to supported
> capabilities).
> - You need to store attachment ids on JPA messages. Add the related
> properties in *AbstractJPAMailboxMessage*. Then implement
> *MessageWithAttachmentMapperTest* in *JPAMessageWithAttachmentMapperTest* to
> check your work.
> - *JPAMailboxSessionMapperFactory* should then implement
> *AttachmentMapperFactory*
> - Add the Attachment Message capability as part of *JPAMailboxManager*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]