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

Refactor storage system #319

Merged
merged 5 commits into from
Mar 2, 2023
Merged

Conversation

olivershen-wow
Copy link
Contributor

@olivershen-wow olivershen-wow commented Mar 2, 2023

  • Abstract interface StorageServiceClient for generalized storage implementation use;
  • Refactor all usage of BlobStorageClient.java to StorageServiceClient.java;
  • Add StorageManageService for StorageServiceClient init control;
  • Enable fastjson auto type support for all entity classes under common/entity/common package, move classes that would be used in Websocket communication to common/entity/common;
  • Modify CDNUrl usage in StorageFileInfo, from CDN endpoint to absolute CDN URL;
  • Gradle plugin compatibility;
  • Tested in plugin and frontend;
  • Fix UT for modified classes;
  • Refactor entity class BlobFileInfo to StorageFileInfo;

Storage system class UML design diagram:
image
Storage system run sequence diagram:
image

TODO:

  • Local storage support;
  • Update README with latest storage config in Docker images

@olivershen-wow olivershen-wow marked this pull request as ready for review March 2, 2023 06:53
@olivershen-wow olivershen-wow changed the title Refactor storage system (#318) Refactor storage system Mar 2, 2023
@olivershen-wow olivershen-wow merged commit b49072b into main Mar 2, 2023
@olivershen-wow olivershen-wow deleted the user/lsh/refactor-storage-system-0 branch March 2, 2023 13: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.

2 participants