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

Implement Service-Agnostic Storage Context #19

Open
2 tasks
iammuho opened this issue Aug 30, 2023 · 0 comments
Open
2 tasks

Implement Service-Agnostic Storage Context #19

iammuho opened this issue Aug 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@iammuho
Copy link
Owner

iammuho commented Aug 30, 2023

The objective of this task is to design and implement a service-agnostic context for the storage system. Utilizing a factory pattern, the goal is to create a system flexible enough to adapt to various storage solutions (such as AWS S3, Google Cloud Storage, local filesystem, etc.) without affecting the existing application layers.

Tasks:

  • Define a Storage interface that includes essential methods for storage operations like Upload, Download, Delete, List, etc.
  • Implement a factory pattern to generate instances of the appropriate storage service provider, based on configuration or runtime requirements.
  • Create a basic initial implementation using a placeholder or dummy storage service that complies with the defined interface.
  • Integrate this factory and interface into the existing storage service codebase.
  • Write unit tests to verify the correct behavior of the service-agnostic storage context.

Acceptance Criteria:

  • The storage service must be capable of interacting with multiple storage service providers without requiring modifications to the internal application layers.
  • Unit tests should validate that the new implementation works as expected, adhering to the defined interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant