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: use factory to create blob storage according to config #43

Merged
merged 8 commits into from
Oct 20, 2023

Conversation

bestmike007
Copy link
Contributor

@bestmike007 bestmike007 commented Oct 13, 2023

What changed? Why?

Ticket - #45
Make blob storage type configuration, in order to support other platforms like GCP, Azure, local filesystem, etc.

TODO:

  • Add a enum config BlobStorageType

How did you test the change?

make config, make test, make integration, and make server

@leozc
Copy link
Contributor

leozc commented Oct 14, 2023

linked to #45

@bestmike007 bestmike007 force-pushed the feat/configurable-blob-storage branch from 3d62c23 to d7d3125 Compare October 16, 2023 07:34
@bestmike007 bestmike007 marked this pull request as ready for review October 16, 2023 07:37
@bestmike007 bestmike007 requested a review from a team as a code owner October 16, 2023 07:37
internal/config/config.go Outdated Show resolved Hide resolved
internal/storage/blobstorage/blob_storage.go Outdated Show resolved Hide resolved
config_templates/config/base.template.yml Outdated Show resolved Hide resolved
internal/storage/blobstorage/blobstorage.go Outdated Show resolved Hide resolved
internal/storage/blobstorage/blobstorage.go Outdated Show resolved Hide resolved
internal/storage/blobstorage/s3/blob_storage.go Outdated Show resolved Hide resolved
internal/storage/blobstorage/s3/module.go Outdated Show resolved Hide resolved
leozc
leozc previously approved these changes Oct 19, 2023
@cb-heimdall
Copy link
Collaborator

Review Error for leozc @ 2023-10-19 03:45:57 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

Signed-off-by: bestmike007 <[email protected]>
@jiezhang jiezhang merged commit 978bc1f into coinbase:master Oct 20, 2023
@bestmike007 bestmike007 deleted the feat/configurable-blob-storage branch October 20, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants