Change in ovirt-engine[master]: core: Image Upload backend commands

mlipchuk at redhat.com mlipchuk at redhat.com
Wed Mar 9 19:54:43 UTC 2016


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Image Upload backend commands
......................................................................


core: Image Upload backend commands

Image Upload allows a client to transfer a VM disk image into the oVirt
environment.  The backend commands are responsible for creating and
managing the disk images, manging sessions and ticketing between the
client, proxy, and host, and performing any cleanup upon completion or
failure.

The following new commands are added:

UploadDiskImageCommand is the parent command that creates a disk image
for VM disk uploads.

UploadImageCommand is the base class responsible for managing sessions
and tickets as well as coordinating the image transfer between the
various involved components (proxy, vdsm, vdms-imaged, ui).

UploadImageStatusCommand is used by clients to update and retrieve the
status of an ongoing UploadImageCommand.

Change-Id: I8244824f33e3d2b5799bf9c01114e38e1d162583
Related-To: https://bugzilla.redhat.com/1091377
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/UploadDiskImageCommand.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/UploadImageCommand.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/UploadImageCommandCallback.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/UploadImageStatusCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/UploadDiskImageParameters.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/UploadImageParameters.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/UploadImageStatusParameters.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/ImageTransferUpdates.java
M backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
11 files changed, 1,094 insertions(+), 0 deletions(-)

Approvals:
  Greg Padgett: Verified
  Jenkins CI: Passed CI tests
  Maor Lipchuk: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/50566
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8244824f33e3d2b5799bf9c01114e38e1d162583
Gerrit-PatchSet: 22
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list