-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Remove GetUploadParamsForIsoCmd API duplicate parameters #7813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
harikrishna-patnala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
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 |
weizhouapache
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
|
[SF] Trillian test result (tid-7351)
|
GutoVeronezi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM
|
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.