Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Return error in replace-brick
......................................................................
restapi: Return error in replace-brick
Replace brick rest api is no longer supported in the
underlying glusterfs. Hence changing the rest api
to throw an error advising user to use migrate and
add new brick instead
Change-Id: I72cf2f62c049a0d515ec1f3fde14155b63b9738f
Bug-Url:
https://bugzilla.redhat.com/923196
Signed-off-by: Sahina Bose <sabose(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/logging/Messages.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBrickResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/resources/org/ovirt/engine/api/restapi/logging/Messages.properties
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBrickResourceTest.java
4 files changed, 13 insertions(+), 38 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Sahina Bose: Verified
--
To view, visit
http://gerrit.ovirt.org/25259
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I72cf2f62c049a0d515ec1f3fde14155b63b9738f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server