Refactor updateDiskOffering API#8446
Conversation
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm and unit tests added
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #8446 +/- ##
============================================
+ Coverage 30.80% 30.89% +0.08%
- Complexity 33981 34137 +156
============================================
Files 5341 5353 +12
Lines 374864 375926 +1062
Branches 54518 54622 +104
============================================
+ Hits 115485 116125 +640
- Misses 244114 244489 +375
- Partials 15265 15312 +47
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@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. |
e012b4b to
ef290c1
Compare
|
@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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8684 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-9262)
|
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
Description
This PR intends to refactor the
updateDiskOfferingAPI due to its size.This method was separated into others in order to improve the readability of the disk offering update process.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
I called the
updateDiskOfferingAPI and it is working as it did before the refactoring. I also created some unit tests to maintain the current behavior and avoid regressions in the future.