Merged
Conversation
Feature/quota summary
Release v0.3.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to provide an aggregated summary of drive quotas, including total allocated, used, and available quotas, as well as the total number of members. It also includes several supporting changes, such as API additions, gateway and repository enhancements, and some naming corrections for consistency.
New Quota Summary Feature
GetQuotasSummaryUseCaseand its implementationDefaultGetQuotasSummaryUseCaseto calculate the total number of members, total allocated quota, total used storage, and total available quota. [1] [2] [3]MemberAdminAPIand its controller to expose the quota summary, returning aQuotaSummaryResponse. [1] [2] [3]Gateway and Repository Enhancements
MemberGatewayandFileGatewayinterfaces and their implementations to support counting members, summing all quotas, and summing all file content sizes. [1] [2] [3] [4] [5] [6]FileJpaRepository,MemberJpaRepository) to support these summary operations.API and Model Naming Consistency
Configuration Updates
Supporting Model and Import Changes
These changes collectively introduce a comprehensive quota summary feature for administrators, while also improving code clarity and maintainability.