Change in ovirt-engine[master]: restapi: Issue Usage Message For Bad Request

oliel at redhat.com oliel at redhat.com
Mon Jul 11 07:53:36 UTC 2016


Ori Liel has submitted this change and it was merged.

Change subject: restapi: Issue Usage Message For Bad Request
......................................................................


restapi: Issue Usage Message For Bad Request

When user enters a malformed request body, direct
them to the relevant section in model.html for
correct usage.

Bug-Url: http://bugzilla.redhat.com/1337240
Change-Id: Ie2554335f8ec0dd488d722f8b5f5d30b323dfbbe
Signed-off-by: Ori Liel <oliel at redhat.com>
---
A backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/rsdl/ServiceTree.java
A backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/rsdl/ServiceTreeNode.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/IOExceptionMapper.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/JsonExceptionMapper.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinder.java
A backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/validation/UsageFinderTest.java
6 files changed, 460 insertions(+), 82 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie2554335f8ec0dd488d722f8b5f5d30b323dfbbe
Gerrit-PatchSet: 5
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: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list