julien-vaz opened a new pull request, #10505:
URL: https://github.com/apache/cloudstack/pull/10505

   ### Description
   
   The `quotaSummary` API has abstract behaviors and codes, as well as return 
values not aligned with its purposes. Furthermore, when the account is a 
project, no information is returned.
   
   Also, in the UI, when opening the Quota Summary details for accounts who 
owned removed domains, the CloudStack launches an error to the user.
   
   Therefore, this PR:
   - improves the API's behavior and return values;
   - adds information for project accounts (through parameter `listall=true`);
   - adds information for accounts/domains which have been already removed and 
a filter for accounts in the UI;
   - fixes the resource access validation in the API.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [x] Major
   - [ ] Minor
   
   ### How Has This Been Tested?
   
   On CloudMonkey I called `quotaSummary` API and checked the return value:
   - only relevant information about the summaries is being displayed;
   - accounts and domains which have been removed are especified in the summary;
   - project accounts are also being considered by the API.
   
   On the UI, the filter for removed accounts is working properly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to