Moti Asayag has submitted this change and it was merged.
Change subject: restapi: Attaching network to cluster failure
......................................................................
restapi: Attaching network to cluster failure
The server throws an internal server error when
add network command is executed with invalid network
name.
Based on commit 0888726b8e5c39cacaefd5af9242513507d86292
which was reverted.
Change-Id: Ia43074bc0819b19873e11ac0203cd518459e6644
Bug-Url:
https://bugzilla.redhat.com/961046
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendResource.java
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
3 files changed, 33 insertions(+), 23 deletions(-)
Approvals:
Michael Pasternak: Looks good to me, approved
Moti Asayag: Verified
--
To view, visit
http://gerrit.ovirt.org/14680
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia43074bc0819b19873e11ac0203cd518459e6644
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>