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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to