We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epic: #5263
Create a new class: MemoryMultiTenancyByBucketBlobStoreDAO implements BlobStoreDAO
MemoryMultiTenancyByBucketBlobStoreDAO implements BlobStoreDAO
We will decorate the BucketName based on the Bucket object The code would look like this:
BucketName
Bucket
public BucketName decoratedBucketname(Bucket bucket) { return bucket.tenant() .map(tenant -> bucket.bucketName().asString() +"-" + tenant.asString()) .map(BucketName::of) .orElse(bucket.bucketName()); }
Then, the method implementation will be:
@Override public InputStream read(Bucket bucket, BlobId blobId) { BucketName decoratedBucketName = decoratedBucketname(bucket); return memoryBlobStoreDAO.read(decoratedBucketName, blobId); }
The text was updated successfully, but these errors were encountered:
Should refactor MemoryBlobStoreDAO and not create an other DAO for this
Sorry, something went wrong.
Memory always using multitenancy for different domains? Or need some conf to denable/disable it?
Should have a special contract test for multitenancy
No branches or pull requests
Epic: #5263
How
Create a new class:
MemoryMultiTenancyByBucketBlobStoreDAO implements BlobStoreDAO
We will decorate the
BucketName
based on theBucket
objectThe code would look like this:
Then, the method implementation will be:
Dod
The text was updated successfully, but these errors were encountered: