This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 265a97233340489117545f32870dae9abd6408bc
Author: Tran Tien Duc <[email protected]>
AuthorDate: Wed Jun 26 15:30:24 2019 +0700

    JAMES-2806 BlobStore is in charge of providing default bucket name
    
    Otherwise we have to write a new component to provide the default bucket 
name, then it will be injected every where whe use BlobStore. That way is more 
complex, requires coupling between BlobStore and the component provide default 
name
---
 .../blob-api/src/main/java/org/apache/james/blob/api/BlobStore.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/server/blob/blob-api/src/main/java/org/apache/james/blob/api/BlobStore.java 
b/server/blob/blob-api/src/main/java/org/apache/james/blob/api/BlobStore.java
index 3302203..0d1414d 100644
--- 
a/server/blob/blob-api/src/main/java/org/apache/james/blob/api/BlobStore.java
+++ 
b/server/blob/blob-api/src/main/java/org/apache/james/blob/api/BlobStore.java
@@ -37,5 +37,7 @@ public interface BlobStore {
         return save(bucketName, data.getBytes(StandardCharsets.UTF_8));
     }
 
+    BucketName getDefaultBucketName();
+
     Mono<Void> deleteBucket(BucketName bucketName);
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to