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 "Trần Tiến Đức (JIRA)" <se...@james.apache.org> on 2019/03/13 04:09:00 UTC
[jira] [Created] (JAMES-2684) [BlobSharingMechanism] API + simple
file implementation
Trần Tiến Đức created JAMES-2684:
------------------------------------
Summary: [BlobSharingMechanism] API + simple file implementation
Key: JAMES-2684
URL: https://issues.apache.org/jira/browse/JAMES-2684
Project: James Server
Issue Type: New Feature
Reporter: Trần Tiến Đức
We want to abstract the action of sharing an archive with a user or the admin, be it a superTrash tarBall or a mailbox export.
We propose the following API in the blob-api:
{code:java}
interface BlobSharingMechanism {
Publisher<Void> share(BlobId, MailAddress, ExplanationText);
}{code}
Implement a naïve version of it:
- Creating a random file in a specific folder of the file-system
- Then email the filepath to the given mailAddress
Write unit tests for this simple mechanism.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org