Add VR's system offering to network listing#12862
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12862 +/- ##
==========================================
Coverage 16.25% 16.26%
- Complexity 13425 13433 +8
==========================================
Files 5662 5665 +3
Lines 500167 500583 +416
Branches 60740 60792 +52
==========================================
+ Hits 81318 81428 +110
- Misses 409763 410046 +283
- Partials 9086 9109 +23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@erikbocks |
|
@weizhouapache, the column will be hidden from normal users in the GUI (see link). However, the name is still exposed in the API response. Do you think we should hide it there as well? |
yes, actually I think both id and name of service offering should be hidden for non-admin users. |
|
@weizhouapache, done. |
Description
When listing network offerings with the
listNetworkOfferingsAPI, the VR's system offering ID is already returned. However, this information is not present at the GUI. Thus, changes were made to thelistNetworkOfferingsresponse to also return the system offering's name, and to the GUI to display the network offering's system offering as a column.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
How Has This Been Tested?
In a environment without the changes, the
Network Offeringstab was accessed and I validated that there was no system offering information. With CloudMonkey, I called thelistNetworkOfferingsAPI and validated that the response contained only the system offering's ID.Then, after installing the packages containing the PR changes, I called the
listNetworkOfferingsAPI and validated that the API response now also returned the service offering's name.Via the GUI, the
Network Offeringtab was accessed and I validated that the network offering's system offering was also being displayed correctly (as it can be seen in theScreenshotssection of the message). I also validated that the link to the system offering's page was working successfully and redirecting to the correct system offering.