API: Fix missing keys in listZonesMetrics response#9419
Conversation
|
@blueorangutan package |
|
@vishesh92 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9419 +/- ##
===========================================
Coverage 15.07% 15.07%
- Complexity 11169 11172 +3
===========================================
Files 5405 5405
Lines 472677 472776 +99
Branches 60822 58920 -1902
===========================================
+ Hits 71266 71290 +24
- Misses 393484 393556 +72
- Partials 7927 7930 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10408 |
api/src/main/java/org/apache/cloudstack/api/response/ZoneResponse.java
Outdated
Show resolved
Hide resolved
8a93977 to
b211c17
Compare
|
@vishesh92 LGTM didn't test it, can you raise this for 4.19 branch? |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
b211c17 to
1cc2854
Compare
|
@blueorangutan package |
|
@vishesh92 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10412 |
|
@vishesh92 also worth checking for list APIs & list metrics APIs for cluster and host? (and may VM and volumes)? @blueorangutan test |
|
@rohityadavcloud a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-10930)
|
|
@blueorangutan package |
|
@vishesh92 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10449 |
|
@blueorangutan test rocky8 kvm-rocky8 |
|
@vishesh92 a [SL] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-10955)
|
yadvr
left a comment
There was a problem hiding this comment.
LGTM, the changes are only (a) getters, (b) typo fixes and (c) Boolean -> boolean
This PR fixes apache#9379 Fix missing keys in listZonesMetrics. We use BeanUtils.copyProperties to copy the properties of ZoneResponse to ZoneMetricsResponse. Fields with missing getters are skipped from the response because of this.
Description
This PR fixes #9379
Fix missing keys in
listZonesMetrics.We use
BeanUtils.copyPropertiesto copy the properties ofZoneResponsetoZoneMetricsResponse. Fields with missing getters are skipped from the response because of this.cloudstack/plugins/metrics/src/main/java/org/apache/cloudstack/metrics/MetricsServiceImpl.java
Line 930 in 56c661c
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?