Change in ovirt-engine[ovirt-engine-3.3]: restapi: Start VM not as RunOnce

iheim at redhat.com iheim at redhat.com
Sun Oct 13 08:01:30 UTC 2013


Itamar Heim has submitted this change and it was merged.

Change subject: restapi: Start VM not as RunOnce
......................................................................


restapi: Start VM not as RunOnce

The BackendVmResource.start issued RunVmOnce command even if none
additional parameters were provided.

Now we check if a Vm is passed in the Action and if not, we issue
regular RunVmCommand.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1005562
Change-Id: I40be200c8742d8b31b7881926c59deaf345992ec
Signed-off-by: Martin Betak <mbetak at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmResourceTest.java
2 files changed, 28 insertions(+), 8 deletions(-)

Approvals:
  Itamar Heim: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/19996
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I40be200c8742d8b31b7881926c59deaf345992ec
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list