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
Refactor userVmDetailsDao field and remove unusued fields #2750
Refactor userVmDetailsDao field and remove unusued fields #2750
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 |
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.
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 |
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.
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