Change in ovirt-engine[master]: restapi: Don't validate missing cloud-init enums

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Dec 15 13:36:20 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Don't validate missing cloud-init enums
......................................................................


restapi: Don't validate missing cloud-init enums

Currently we blindly try to validate enums included in cloud-init
specifications, but they may be missing. As they aren't declared as
mandatory this patch changes the validator so it won't try to validate
them when they are missing.

Change-Id: If7c29a92909fb9f436b06d2ed534fe2cbc34a293
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/validation/CloudInitValidator.java
1 file changed, 14 insertions(+), 9 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If7c29a92909fb9f436b06d2ed534fe2cbc34a293
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list