Uh oh!
There was an error while loading. Please reload this page.
Refactor Quota Summary API - #10505
Conversation
julien-vaz
commented
Mar 5, 2025
@blueorangutan package |
blueorangutan
commented
Mar 5, 2025
@julien-vaz a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 5, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 12665 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@## main #10505 +/- ##
============================================
+ Coverage 17.92% 18.01% +0.08% - Complexity 16178 16456 +278
============================================
Files 5949 5971 +22 Lines 534058 537334 +3276 Branches 65301 65992 +691 ============================================
+ Hits 95751 96785 +1034 - Misses 427551 429637 +2086 - Partials 10756 10912 +156
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
julien-vaz
commented
Mar 6, 2025
@blueorangutan package |
blueorangutan
commented
Mar 6, 2025
@julien-vaz a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 6, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 12690 |
I've just successfully builded the packages locally with |
julien-vaz
commented
Mar 11, 2025
@blueorangutan package |
blueorangutan
commented
Mar 11, 2025
@julien-vaz a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 11, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 12739 |
julien-vaz
commented
Mar 11, 2025
@blueorangutan package |
blueorangutan
commented
Mar 11, 2025
@julien-vaz a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 11, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12743 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…/command/QuotaSummaryCmd.java Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
sureshanaparti
commented
Jun 5, 2025
@blueorangutan package |
blueorangutan
commented
Jun 5, 2025
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 2, 2026
[SF] Trillian Build Failed (tid-15549) |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
DaanHoogland
commented
Mar 10, 2026
@julien-vaz , can you solve the conflicts so we can give it another try? |
winterhazel
commented
Mar 11, 2026
Solved. @julien-vaz has not been active in the community recently, so I am maintaning his Quota-related PRs instead. |
winterhazel
commented
Mar 11, 2026
@blueorangutan package |
blueorangutan
commented
Mar 11, 2026
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 11, 2026
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17106 |
DaanHoogland
commented
Mar 12, 2026
@blueorangutan test |
blueorangutan
commented
Mar 12, 2026
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Mar 13, 2026
[SF] Trillian test result (tid-15623)
|
GutoVeronezi
left a comment
There was a problem hiding this comment.
Overall CLGTM; I left some minor remarks.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
winterhazel
commented
Mar 31, 2026
@blueorangutan package |
blueorangutan
commented
Mar 31, 2026
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 31, 2026
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17296 |
DaanHoogland
commented
Mar 31, 2026
@blueorangutan test |
blueorangutan
commented
Mar 31, 2026
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Mar 31, 2026
[SF] Trillian test result (tid-15777)
|
Uh oh!
There was an error while loading. Please reload this page.
* Refactor Quota Summary API * Fixes imports * Fix QuotaServiceImplTest * Update plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com> * Fix QuotaSummaryCmd * Remove unnecessary imports * Remove unused createQuotaSummaryResponse declarations * Remove unnecessary imports * Update plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaSummaryCmd.java Co-authored-by: dahn <daan.hoogland@gmail.com> * Fix QuotaSummaryCmd * Fix QuotaResponseBuilderImplTest * Refactor test * Fix QuotaSummaryCmd * Fix projectid behavior * Simplify QuotaSummary and deprecate listall * Fix createQuotaSummaryResponse * Remove unused import * Apply suggestions + some adjustments * Remove duplicated check * Fix checkstyle * Adjust entity owner * Remove unused method + fix tests * Add missing @acl to some parameters * Adjust how the parameters behave * Allow domain admins and users to use keyword * Address reviews --------- Co-authored-by: Julien Hervot de Mattos Vaz <julien.vaz@scclouds.com.br> Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com> Co-authored-by: dahn <daan.hoogland@gmail.com>
Description
The
quotaSummaryAPI 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:
listall=true);Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
On CloudMonkey I called
quotaSummaryAPI and checked the return value:On the UI, the filter for removed accounts is working properly.