Remove GetUploadParamsForIsoCmd API duplicate parameters#7813
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
|
Codecov Report
@@ Coverage Diff @@
## main #7813 +/- ##
=========================================
Coverage 13.43% 13.43%
Complexity 9394 9394
=========================================
Files 2747 2747
Lines 258853 258853
Branches 40313 40313
=========================================
+ Hits 34785 34786 +1
+ Misses 219689 219685 -4
- Partials 4379 4382 +3 see 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@blueorangutan package |
|
@DaanHoogland a [SF] 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 6689 |
|
@blueorangutan test |
|
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7314)
|
|
@blueorangutan test |
|
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7351)
|
|
I checked the tests errors (#7813 (comment)) and they are not related to the PR. I did some testing and the API is working fine: |

Description
The
getUploadParamsForIsoAPI has duplicate zoneId and name parameters, as theGetUploadParamsForIsoCmdclass declares these two attributes and extends fromAbstractGetUploadParamsCmdwhich already has these attributes. To address that the attributes declared in theGetUploadParamsForIsoCmdclass were removed, keeping only the inherited attributes.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Called the
getUploadParamsForIsoAPI via Cloudmonkey passing no parameters. Before the changes, the "Missing required parameters" returned name and zoneId twice. After the changes, it returned once as expected.