Change in ovirt-engine[master]: restapi: Validate Step Enum (#1092448)

oliel at redhat.com oliel at redhat.com
Mon May 5 07:54:06 UTC 2014


Ori Liel has submitted this change and it was merged.

Change subject: restapi: Validate Step Enum (#1092448)
......................................................................


restapi: Validate Step Enum (#1092448)

Up until now, if user supplied invalid step-type, the server would fail.

This patch adds a validation that the step-type is valid

Bug-Url: http://bugzilla.redhat.com/1092448
Change-Id: I7768fb15b0f9c5924cab0f4e2238cf49d21eb655
Signed-off-by: Ori Liel <oliel at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStepsResource.java
A backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/StepValidator.java
2 files changed, 18 insertions(+), 0 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved
  Juan Hernandez: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/27232
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7768fb15b0f9c5924cab0f4e2238cf49d21eb655
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list