Piotr Kliczewski has submitted this change and it was merged.
Change subject: core: adding RetrieveImageDataCommand
......................................................................
core: adding RetrieveImageDataCommand
This patch adds RetrieveImageDataCommand and changes
AttachStorageDomainToPoolCommand to use it instead of executing the
vds command directly. This is done so that the needed CDA checks/locks
will be taken. Furthermore, this patch takes care of polling the created
upload task on vdsm side.
Change-Id: I4ed10f1d3fc74e1deb6c69fc826f02abfd5d679e
Bug-Url:
https://bugzilla.redhat.com/1136840
Signed-off-by: Liron Aravot <laravot(a)redhat.com>
---
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RetrieveImageDataCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AttachStorageDomainToPoolCommand.java
A
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/bll/RetrieveImageDataParameters.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java
4 files changed, 75 insertions(+), 7 deletions(-)
Approvals:
Allon Mureinik: Looks good to me, approved
Liron Aravot: Verified
--
To view, visit
http://gerrit.ovirt.org/33278
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4ed10f1d3fc74e1deb6c69fc826f02abfd5d679e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server