Skip to content
New issue

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

feat(storage): multi bucket download data #5599

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

Equartey
Copy link
Contributor

Description of changes:

  • Updates StorageDownloadDataOptions to have a optional bucket param to specify target for operation
  • Updates S3 impl to use bucket param
  • Adds E2E tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Equartey Equartey requested a review from a team as a code owner October 24, 2024 17:30
path: StoragePath.fromIdentityId(
(identityId) => 'private/$identityId/$identityName',
),
options: StorageDownloadDataOptions(bucket: mainBucket),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: should this be tested on the secondary bucket instead? otherwise this test targets the same bucket as the previous ones since they default to the main bucket with no bucket specified

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, let me include a to-do to add the secondary bucket after upload file/data is merged. Right now there's no way to upload to the secondary bucket.

@Equartey Equartey merged commit bf1ed9b into multi-bucket Oct 28, 2024
154 of 155 checks passed
@Equartey Equartey deleted the feat/multi-bucket-download-data branch October 28, 2024 19:21
NikaHsn pushed a commit that referenced this pull request Nov 20, 2024
NikaHsn pushed a commit that referenced this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants