apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2k stars 1.09k forks source link

Honour listall param for list templates api #9300

Closed vishesh92 closed 3 months ago

vishesh92 commented 3 months ago

Description

This PR makes changes to honour listall param for list templates api and also adds the listall parameter to deployVM in the UI.

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?

vishesh92 commented 3 months ago

@blueorangutan package

blueorangutan commented 3 months ago

@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[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 4.28%. Comparing base (620ed16) to head (b9a6ec7). Report is 5 commits behind head on 4.19.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 4.19 #9300 +/- ## ============================================ - Coverage 14.95% 4.28% -10.68% ============================================ Files 5387 364 -5023 Lines 470348 29439 -440909 Branches 58589 5146 -53443 ============================================ - Hits 70330 1260 -69070 + Misses 392224 28036 -364188 + Partials 7794 143 -7651 ``` | [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/9300/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/9300/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `4.28% <ø> (-0.01%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/9300/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

blueorangutan commented 3 months ago

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10110

slavkap commented 3 months ago

I'm not sure how to properly test this, but here are the results from a few scenarios: 1 - I've created a project and downloaded a template. When I open the deploy VM wizard I can see it. 2 - I've created another project, and when I open the wizard I see the template of the first project 3 - when I open the default view and try to deploy a VM I see only the template from the first project, but I have a few more when I list them from the Image tab 4 - I've deleted the projects and have only the default view, and there aren't any templates listed when using the Deploy VM wizard

vishesh92 commented 3 months ago

I'm not sure how to properly test this, but here are the results from a few scenarios: 1 - I've created a project and downloaded a template. When I open the deploy VM wizard I can see it. 2 - I've created another project, and when I open the wizard I see the template of the first project 3 - when I open the default view and try to deploy a VM I see only the template from the first project, but I have a few more when I list them from the Image tab 4 - I've deleted the projects and have only the default view, and there aren't any templates listed when using the Deploy VM wizard

Thanks @slavkap . This is probably a UI issue. Let me check & fix this.

sureshanaparti commented 3 months ago

@blueorangutan package

blueorangutan commented 3 months ago

@sureshanaparti 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.

blueorangutan commented 3 months ago

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10125

sureshanaparti commented 3 months ago

@blueorangutan package

blueorangutan commented 3 months ago

@sureshanaparti 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.

blueorangutan commented 3 months ago

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10134

sureshanaparti commented 3 months ago

Verified listing of templates in default view and projects.