Refactor userVmDetailsDao field and remove unusued fields#2750
Refactor userVmDetailsDao field and remove unusued fields#2750rafaelweingartner merged 2 commits intoapache:masterapache/cloudstack:masterfrom shapeblue:removeDuplicatedFieldshapeblue/cloudstack:removeDuplicatedFieldCopy head branch name to clipboard
Conversation
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
@DaanHoogland @rafaelweingartner @resmo @marcaurele I am new to this community and I would like to ask for your assistance with reviewing of this PR. |
|
Packaging result: ✔centos6 ✔centos7 ✖debian. JID-2183 |
|
@blueorangutan package |
|
@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2184 |
|
@blueorangutan test |
|
@dhlaluku a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
rafaelweingartner
left a comment
There was a problem hiding this comment.
Thanks for the cleanup! Can you please do a force push to trigger Jenkins again?
Also, can you check if we need all of those protected attributes? Then, if they can be set to private, please do so.
|
@rafaelweingartner checked the attributes, it seems like they can be set to private. I will modify them and do some tests before pushing again |
|
@blueorangutan package |
|
@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
b25de51 to
d90042f
Compare
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2185 |
|
Trillian test result (tid-2859)
|
|
@blueorangutan test |
|
@dhlaluku a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM, I think the test failures are present in master as well, will have to address them in a separate PR
|
Trillian test result (tid-2860)
|
* Refactor userVmDetailsDao field and remove unusued fields * Setting injected attributes to private instead of protected and amending unit test
Description
This PR refactors a duplicated field vmDetailsDao and _uservmDetailsDao into userVmDetailsDao.
vmDetailsDao, uservmDetailsDao --> userVmDetailsDao
It also removes several unused injected vars as well i.e.;
_domainDao, rulesMgr, _vguTypesDao, _configDepot
Types of changes
GitHub Issue/PRs
Screenshots (if appropriate):
How Has This Been Tested?
I have recompiled CloudStack in my local environment and ran the virtual machine related Marvin smoke tests.
Checklist:
Testing