-
Notifications
You must be signed in to change notification settings - Fork 1.2k
UI: Update domain level configuration #11571
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.22 #11571 +/- ##
============================================
+ Coverage 17.36% 18.58% +1.22%
- Complexity 15237 16538 +1301
============================================
Files 5888 5911 +23
Lines 525741 567407 +41666
Branches 64164 81153 +16989
============================================
+ Hits 91274 105454 +14180
- Misses 424167 450696 +26529
- Partials 10300 11257 +957
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:
|
|
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
harikrishna-patnala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pearl1594 does this need change in base branch to 4.20 ?
|
I could not reproduce the issue with updateconfiguration in 4.20, the domainid is passed cloudstack/ui/src/components/view/SettingsTab.vue Lines 172 to 175 in 2cd7d8a
it seems to be a regression of #10596 moving to 4.22 milestone. cc @Pearl1594 @harikrishna-patnala |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes domain-level configuration updates in the UI by ensuring domain ID is passed when updating domain settings and by refreshing configuration data when switching between domains.
- Added resource prop passing to maintain domain context across configuration components
- Fixed domain ID parameter passing in updateConfiguration API calls
- Added watchers to refresh configuration data when loading state changes or config records update
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| ui/src/views/setting/ConfigurationValue.vue | Added resource prop, watchers for data refresh, and domain ID parameter handling |
| ui/src/views/setting/ConfigurationTable.vue | Added resource prop and passed it to ConfigurationValue component |
| ui/src/components/view/SettingsTab.vue | Passed resource prop to ConfigurationTable component |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@blueorangutan package |
|
@kiranchavala 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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15652 |
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm and tested in lab, but reset does not work for domein-settings.
|
@blueorangutan package |
|
@DaanHoogland 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. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 15665 |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15681 |
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
white box tested in a lab, checking the values for multiple domains and globally for a setting in both the DB and the UI
nvazquez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
|
@blueorangutan package |
|
@DaanHoogland 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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15682 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
|
[SF] Trillian test result (tid-14793)
|



Description
This PR fixes #11570
Following issues were fixed:
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?