Skip to content

Add message upon network offering creation to warn user of VR creation#6684

Merged
yadvr merged 1 commit intoapache:mainfrom
scclouds:more-intuitive-service-offering-on-network-offering-creation
Oct 9, 2022
Merged

Add message upon network offering creation to warn user of VR creation#6684
yadvr merged 1 commit intoapache:mainfrom
scclouds:more-intuitive-service-offering-on-network-offering-creation

Conversation

@BryanMLima
Copy link
Copy Markdown
Contributor

Description

This PR aims to improve the user experience upon creation of Network Offerings warning the user of the scenarios in which a VR is created. For this, the service offering field is always shown in the form and a warning message is displayed if the user's configuration does not require the creation of a VR. These scenarios include a network offering with guest type L2, and a with a guest type Shared or Isolated when none of the following services are enabled: (VPN, DHCP, DNS, Firewall, LB, UserData, SourceNat, StaticNat and/or PortForwarding). Finally, the message for the Isolated and Shared networks disappear when one of the aforementioned services are selected.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Message if the guest type is Isolated or Shared:
image

Message if the guest type is L2:
image

How Has This Been Tested?

This was tested in a local lab using the networking offering form. The message for Shared/Isolated type was only displayed if the none of the following services (VPN, DHCP, DNS, Firewall, LB, UserData, SourceNat, StaticNat and/or PortForwarding) were not selected.
For the L2 message, it was always displayed, unless the guest type was changed.

@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6684 (SL-JID-2246)

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 29, 2022

Codecov Report

Merging #6684 (02092d8) into main (9f7e0cc) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #6684      +/-   ##
============================================
- Coverage      5.87%    5.87%   -0.01%     
+ Complexity     3936     3934       -2     
============================================
  Files          2454     2454              
  Lines        242683   242683              
  Branches      37978    37978              
============================================
- Hits          14265    14261       -4     
- Misses       226839   226843       +4     
  Partials       1579     1579              
Impacted Files Coverage Δ
...apache/cloudstack/syslog/AlertsSyslogAppender.java 56.49% <0.00%> (-2.26%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Copy Markdown

@utchoang utchoang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@DaanHoogland
Copy link
Copy Markdown
Contributor

code looks good
I cannot login to the qa server to test this.

Error
Exception caught while discovering features.

cc @rohityadavcloud @davidjumani

Copy link
Copy Markdown
Contributor

@JoaoJandre JoaoJandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CLGTM

Copy link
Copy Markdown
Contributor

@GutoVeronezi GutoVeronezi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CLGTM

@yadvr yadvr added this to the 4.18.0.0 milestone Oct 8, 2022
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Oct 8, 2022

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6684 (SL-JID-2474)

Copy link
Copy Markdown
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm

@yadvr yadvr merged commit 0535d9b into apache:main Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants