XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • deletedMessageVault
    • None

    Description

      We need a sub API for storing per Container metadata of Deleted Messages.

      Here is the API:

      class StorageInformation {
          private final BucketName bucketName;
          private final BlobId blobId;
      }
      
      class DeletedMessageWithStorageInformation {
          private final DeletedMessage deletedmessage;
          private final StorageInformation storageInformation;
      }
      
      interface DeletedMessageMetadataVault {
          Publisher<Void> store(BucketName, DeletedMessageWithStorageInformation);
      
          Publisher<Void> removeBucket(BucketName);
      
          Publisher<Void> remove(BucketName, User, MessageId);
      
          Publisher<StorageInformation> retrieveStorageInformation(User, MessageId);
      
          Publisher<DeletedMessageWithStorageInformation> listMessages(BucketName, User);
      
          Publisher<BucketName> listBuckets();
      }
      

      You will provide the API + contract in `mailbox/plugin/deleted-messages-vault`.

      You will provide a memory implementation of it in `mailbox/plugin/deleted-messages-vault-memory`

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: