Change in ovirt-engine[master]: core: removed static calls to DbFacade in UploadImage commands
derez at redhat.com
derez at redhat.com
Tue Aug 16 18:43:32 UTC 2016
Daniel Erez has submitted this change and it was merged.
Change subject: core: removed static calls to DbFacade in UploadImage commands
......................................................................
core: removed static calls to DbFacade in UploadImage commands
Introduced ImageTransferUpdater bean:
* Contains the logic of UploadImageCommand -> updateEntity.
* Injected in UploadImageCommand and UploadImageStatusCommand.
* Used in order to avoid static calls to DbFacade.
Change-Id: I6fcb18033ec113d2387d3d57bc320c94f361e4a2
Signed-off-by: Daniel Erez <derez at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/ImageTransferUpdater.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/UploadImageCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/UploadImageStatusCommand.java
3 files changed, 112 insertions(+), 81 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Daniel Erez: Verified
Allon Mureinik: Looks good to me, approved
Amit Aviram: Looks good to me, but someone else must approve
Yevgeny Zaspitsky: Looks good to me, but someone else must approve
--
To view, visit https://gerrit.ovirt.org/62240
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6fcb18033ec113d2387d3d57bc320c94f361e4a2
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list