Liron Aravot has submitted this change and it was merged.
Change subject: core: Adding StorageJobCallback/StorageJobCommand
......................................................................
core: Adding StorageJobCallback/StorageJobCommand
This patch adds StorageJobCommand which is supposed to be a base class
for the storage job initiating commands.
Additionally, this patch adds the StorageJobCallback which is supposed to be used by
BLL commands that creates a storage job on the vdsm side. The callback
tracks the created job and calls the needed methods in the command
according to the job status.
Change-Id: Ic8ceb9ec0ee9f74dcd33021ccf97d897bf2e8557
Signed-off-by: Liron Aravot <laravot(a)redhat.com>
---
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/StorageJobCallback.java
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageJobCommand.java
A
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/StorageJobCommandParameters.java
3 files changed, 103 insertions(+), 0 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Liron Aravot: Verified; Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/44780
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8ceb9ec0ee9f74dcd33021ccf97d897bf2e8557
Gerrit-PatchSet: 30
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>