Open bernardodemarco opened 6 days ago
@blueorangutan ui
@bernardodemarco a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.80%. Comparing base (
8a2c0f3
) to head (75c6305
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
UI build: :heavy_check_mark: Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9947 (QA-JID-481)
Description
Currently, the
listNetworkOfferings
API supports theforvpc
andguestiptype
parameters (see API docs). The first is used to filter network offerings that can only be used for creating VPC tiers; the second allows filtering by guest network type (available options are:Isolated
,Shared
andL2
).This PR adds support to these parameters in the UI. The
forvpc
filter has been added as a normal filter (declared in thefilters
property of the network offerings section's object) and theguestiptype
as a search filter (declared in thesearchFilters
property).Furthermore, this PR also fixes a bug that caused duplicate options to appear in search filter lists.
Fixes #9924
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
forvpc
filter testsVPC
on the section's filter, a request tolistNetworkOfferings
was sent, with theforvpc
parameter set totrue
.Guest Network
on the section's filter, a request tolistNetworkOfferings
was sent, with theforvpc
parameter set tofalse
.All
on the section's filter, a request tolistNetworkOfferings
was sent, without theforvpc
parameter.guestiptype
filter testsIsolated
option on theGuest Type
search filter, a request tolistNetworkOfferings
was sent, with theguestiptype
parameter set toIsolated
.Shared
option on theGuest Type
search filter, a request tolistNetworkOfferings
was sent, with theguestiptype
parameter set toShared
.L2
option on theGuest Type
search filter, a request tolistNetworkOfferings
was sent, with theguestiptype
parameter set toL2
.Duplicate options in search filter lists
Before
![image](https://github.com/user-attachments/assets/c0a4fa4e-ad0c-4506-94a4-22f64db93467)After
![image](https://github.com/user-attachments/assets/36d36828-d730-498a-aa51-3d017934ab02)