Change in ovirt-engine[master]: restapi: Update VmPool - Identify Template by name.

oliel at redhat.com oliel at redhat.com
Tue Jun 16 07:31:00 UTC 2015


Ori Liel has submitted this change and it was merged.

Change subject: restapi: Update VmPool - Identify Template by name.
......................................................................


restapi: Update VmPool - Identify Template by name.

When updating a Vm-Pool, if user provides the template
name (vs ID), the action currently fails. This patch
infers the Template ID using the Template name before
sending the request to the engine.

Change-Id: Ie807569c42d956630f8a7a0c5f868bd50559300a
Signed-off-by: Ori Liel <oliel at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolResource.java
1 file changed, 19 insertions(+), 1 deletion(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved
  Juan Hernandez: Looks good to me, but someone else must approve
  Omer Frenkel: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie807569c42d956630f8a7a0c5f868bd50559300a
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list