Moti Asayag has submitted this change and it was merged.
Change subject: restapi: Attaching a network to cluster by network id
......................................................................
restapi: Attaching a network to cluster by network id
The server throws an internal server error when
add network command is executed with invalid network
name or when providing an id only.
The patch adds support to attaching a network to a cluster
either by network ID or network name or both, as long as
there is a match between the ID to the name of the network.
Bug-Url:
https://bugzilla.redhat.com/961046
Change-Id: Ie5fac9af37fec642fd3c0c6fbdb43ee04b364f2c
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendClusterNetworksResource.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendClusterNetworksResourceTest.java
2 files changed, 25 insertions(+), 11 deletions(-)
Approvals:
Michael Pasternak: Looks good to me, approved
Moti Asayag: Verified
--
To view, visit
http://gerrit.ovirt.org/14685
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie5fac9af37fec642fd3c0c6fbdb43ee04b364f2c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>