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 <ol...@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 <ol...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Ori Liel <ol...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches