-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
allow users to add description to private gateway #9135
base: main
Are you sure you want to change the base?
allow users to add description to private gateway #9135
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)
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9135 +/- ##
==========================================
Coverage 15.53% 15.53%
- Complexity 11976 11979 +3
==========================================
Files 5496 5496
Lines 481335 481366 +31
Branches 58900 59768 +868
==========================================
+ Hits 74783 74795 +12
- Misses 398289 398303 +14
- Partials 8263 8268 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
closing, someone has already started working on this feature |
Reopening - looking into this again. |
@charlesweng , one question: in your description you speak about adding descriptions to Proutes, but in the code I only see the value object (VO) for network being changed. Can you explain what the plan is here, please? |
@DaanHoogland thank you so much for responding. I added several changes in the commit - createprivatenetwork methods,*cmd.java, and many other classes. However, I may have missed something like you said. I will convert this pull request to draft and take a closer look and give you more screen shots! |
9f29b39
to
a229ff5
Compare
a229ff5
to
eafc9d4
Compare
eafc9d4
to
87ed88f
Compare
@charlesweng , I reviewed your changes and am still a bit confused. The changes look good but they seem to add descriptions to btw, you have a lint error because of an EOF not being preceeded by an EOL in the sql file. |
@DaanHoogland will look into the lint errors in sql file and double check if description is needed in network, but VPCGateway description is definitely needed, thanks! |
Yes @charlesweng the VPCGateway looks good. What I wonder about is the mention of static routes in the description of this PR. I see no change for those. |
@DaanHoogland took a look at the code and I think the title of the issue and the PR was misleading with the static routes as there are static routes in both the UI and the backend. Here is the change for static routes in the backend: api/src/main/java/com/cloud/network/vpc/StaticRouteProfile.java I still need to test and see if this branch works without UPDATE: planning to remove description in network classes only keeping in vpc classes |
…teway-and-static-routes
thnx @charlesweng , I am marking this as draft untill you are done. You can mark it as ready at your will. |
Description
Adding a description to the private gateway tab inside the Network > Vpc > Private Gateway tab. This allows for administrators to easily identify what the private gateway is used for or pertains to.
Backend functionality is also added into the NetworkVO as well as the API interface in java.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
This has been tested using a local machine on Ubuntu 22.04 with a simulator deployed. The project builds locally and the ui passes
npm run test:unit
.