Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: V3 compatibility for pinnig to one host
......................................................................
restapi: V3 compatibility for pinnig to one host
In version 4 pinning to a host is done using a "hosts" element,
containing exactly one "host" element. In version 3 this could also be
done using directly only the "host" element. Now that the API supports
multiple versions this can be rea-added to version 3 without touching
the V4 implementation.
Change-Id: Idaba066fe876fada4138ed3d97902f96e92042c3
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3VmPlacementPolicyInAdapter.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3VmPlacementPolicyOutAdapter.java
2 files changed, 21 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/53029
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idaba066fe876fada4138ed3d97902f96e92042c3
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>