8000 A skeleton for handling multiple implementations of storage allocation/deletion based on the storage type by shlomitk1 · Pull Request #1868 · fybrik/fybrik · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A skeleton for handling multiple implementations of storage allocation/deletion based on the storage type #1868

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 8000 . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from

Conversation

shlomitk1
Copy link
Contributor
@shlomitk1 shlomitk1 commented Jan 4, 2023

This PR is based on #1855
It closes #1851
Implementation is based on https://github.com/fybrik/fybrik/blob/master/docs/StorageManagement.md#architecture
Added files:

  • pkg/storage/registrator/agent/agent.go
  • pkg/storage/registrator/registrator.go
  • pkg/storage/storage_manager.go
  • pkg/storage/storage_manager_test.go
  • pkg/storage/impl/mysql/mysql_impl.go
  • pkg/storage/impl/s3/s3_impl.go

This PR does not change the existing implementation of storage management in Fybrik because the added storage_manager is not integrated with Fybrik (yet). It demonstrates how the various storage types can be added in order to implement AllocateStorage, DeleteStorage, GetSupportedConnectionTypes functionality of StorageManager by registering placeholder implementations for S3 and MySQL.
Future PRs will replace the placeholder for S3 with actual implementation, define REST APIs, integrate StorageManager with Fybrik, etc.

Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
…based on storage type

Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
@shlomitk1 shlomitk1 marked this pull request as ready for review January 4, 2023 12:49
@shlomitk1 shlomitk1 requested a review from roytman January 4, 2023 12:50
@shlomitk1 shlomitk1 marked this pull request as draft January 12, 2023 07:43
@shlomitk1 shlomitk1 closed this Jan 12, 2023
@shlomitk1 shlomitk1 deleted the storage-manager branch January 12, 2023 11:09
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.

Create skeleton for supporting multiple connection types in StorageManager
1 participant
0