Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Implement custom properties using elements
......................................................................
restapi: Implement custom properties using elements
There exists an implementation where the key, value and validation
regular expression are stored as attributes; this adds a different
implementation, where they're stored as elements, which might be more
flexbile in the future, e.g. if multiple values per key should be
supported.
Change-Id: I03173b72b4f9ab2906ca9a2989d6115efcb19264
Bug-Url:
https://bugzilla.redhat.com/1071872
Signed-off-by: Lior Vernia <lvernia(a)redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/utils/CustomPropertiesParser.java
2 files changed, 60 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/27316
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I03173b72b4f9ab2906ca9a2989d6115efcb19264
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <lvernia(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server