-
Notifications
You must be signed in to change notification settings - Fork 1.2k
schema, refactor: rename cloud.user_vm_details to cloud.vm_instance_details #10736
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
schema, refactor: rename cloud.user_vm_details to cloud.vm_instance_details #10736
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #10736 +/- ##
============================================
- Coverage 16.74% 16.74% -0.01%
+ Complexity 14067 14062 -5
============================================
Files 5724 5724
Lines 507785 507785
Branches 61732 61732
============================================
- Hits 85052 85039 -13
- Misses 413251 413263 +12
- Partials 9482 9483 +1
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:
|
02bee47 to
e392611
Compare
…etails Fixes apache#9975 Signed-off-by: Abhishek Kumar <[email protected]>
e392611 to
2f4c7a2
Compare
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
|
@blueorangutan package |
|
@shwstppr 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 13080 |
|
thanks for this @shwstppr |
|
@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-13029)
|
|
@blueorangutan test matrix |
|
@shwstppr a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-13064)
|
|
[SF] Trillian test result (tid-13065)
|
|
[SF] Trillian test result (tid-13066)
|
|
[SF] Trillian test result (tid-13067)
|
tools/marvin/setup.py
Outdated
|
|
||
|
|
||
| VERSION = "4.21.0.0-SNAPSHOT" | ||
| VERSION = "4.21.0.0" |
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.
don’t think we want to merge this bit, yet.
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.
reverted
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 (upgrade tests needed)
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 renames the database table and related code from cloud.user_vm_details to cloud.vm_instance_details to support storing details for different types of VMs, not just user VMs. This is a schema refactoring that enhances flexibility by allowing VM details storage for all VM types.
Reviewed Changes
Copilot reviewed 66 out of 66 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Schema migration file | Adds SQL migration to rename database table from user_vm_details to vm_instance_details |
| DAO classes | Renames UserVmDetailsDao to VMInstanceDetailsDao and updates implementation |
| VO classes | Renames UserVmDetailVO to VMInstanceDetailVO and updates table mapping |
| Test files | Updates all test references to use new class names |
| Service implementations | Updates all service layer code to use renamed DAO and VO classes |
| Database view | Updates SQL view to reference new table name |
| Spring configuration | Updates bean definitions to use new class names |
Comments suppressed due to low confidence (1)
server/src/test/resources/createNetworkOffering.xml:53
- The bean id 'UservmDetailsDaoImpl' is inconsistent with the new class name 'VMInstanceDetailsDaoImpl'. The bean id should be updated to match the new naming convention, such as 'vmInstanceDetailsDaoImpl'.
<bean id="UservmDetailsDaoImpl" class="com.cloud.vm.dao.VMInstanceDetailsDaoImpl" />
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14270 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-13830)
|
JoaoJandre
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.
Same boat as @DaanHoogland and @sureshanaparti , CLGTM, but needs testing.
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@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 14311 |
|
running upgrade tests ... |
I did upgrade tests from 4.19 and 4.20. destroyed the cpvm and it came up again, restarted a network and a vpc with cleanup. no problems either. |
Continuation of apache#10736 Signed-off-by: Abhishek Kumar <[email protected]>
* schema,framework/db,server: fix user_vm_details usage Continuation of #10736 * python files Signed-off-by: Abhishek Kumar <[email protected]>
…etails (apache#10736) Signed-off-by: Abhishek Kumar <[email protected]> Co-authored-by: Suresh Kumar Anaparti <[email protected]> Co-authored-by: dahn <[email protected]>
* schema,framework/db,server: fix user_vm_details usage Continuation of apache#10736 * python files Signed-off-by: Abhishek Kumar <[email protected]>
Description
Fixes #9975
Renames cloud.user_vm_details to cloud.vm_instance_details to allow adding details for different types on VMs
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?