Correction in the assignment of the limit value of VPCs #13627
Conversation
dheeraj12347
left a comment
There was a problem hiding this comment.
Reviewed the change locally.
- Verified that
DomainResponse#setVpcLimit()previously assignednetworkLimitinstead of the providedvpcLimitparameter. - Confirmed that
DomainJoinDaoImplpasses the correctvpcLimitDisplayvalue to this setter, so the fix addresses the root cause. - Checked the surrounding response setters for consistency; the updated implementation now follows the expected setter pattern.
- Built the affected module successfully using
mvn -pl api -am -DskipTests compile.
I wasn't able to complete runtime verification because I don't currently have a local CloudStack runtime environment available.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #13627 +/- ##
============================================
+ Coverage 16.26% 17.11% +0.85%
Complexity 13435 13435
============================================
Files 5667 5262 -405
Lines 500731 467706 -33025
Branches 60803 54905 -5898
============================================
- Hits 81430 80067 -1363
+ Misses 410197 378709 -31488
+ Partials 9104 8930 -174
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@DaanHoogland 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. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 18625 |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18632 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
Description
Currently, when listing the domains with the
listDomainsAPI, the VPC (vpclimit) limits displayed the value of the network limits (networklimit). This inconsistency has been corrected, so that the limit of VPCs are displayed correctly.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
Before changes
After changes
How Has This Been Tested?