You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply a similar refactoring as in BlobStore, adapting the API to use the new Bucket class.
Refactor the related class
BlobStore implementations:
CachedBlobStore
DeDuplicationBlobStore
MetricableBlobStore
PassThroughBlobStore
BlobStoreDAO implementations:
AESBlobStoreDAO, CassandraBlobStoreDAO, MemoryBlobStoreDAO: Consider whether to throw new UnsupportException? or try to adapt with current way (Optional[Tenant] = empty) ?
File multitenancy
S3BlobStoreDAO (will do in another ticket)
The text was updated successfully, but these errors were encountered:
AESBlobStoreDAO, CassandraBlobStoreDAO, MemoryBlobStoreDAO: Consider whether to throw new UnsupportException? or try to adapt with current way (Optional[Tenant] = empty) ?
I personally think Optional[Tenant] = empty for now, until we do proper implementation? That should keep the current behavior then correct?
Epic: #5263
How
Before proceeding with the refactor, we need to introduce the following classes:
Tenant
Bucket
For each method in BlobStore, we need to create a new API where the input argument changes from
BucketName
toBucket
.Example:
InputStream read(BucketName bucketName, BlobId blobId);
InputStream read(Bucket bucket, BlobId blobId);
Bucket
class.BlobStore
implementations:BlobStoreDAO
implementations:The text was updated successfully, but these errors were encountered: