Gilad Chaplik has uploaded a new change for review. Change subject: restapi: allow no parent element for Profile ......................................................................
restapi: allow no parent element for Profile Since profile is used as a ref in VM/Template or disk, we need to allow no inner elements within profile. Change-Id: I1ae61a0815fa66d907ee65eda274a76b036b9023 Bug-Url: https://bugzilla.redhat.com/1135761 Signed-off-by: Gilad Chaplik <[email protected]> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/90/32390/1 diff --git a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd index 4162b2d..b2f02d3 100644 --- a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd +++ b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd @@ -4756,7 +4756,7 @@ <xs:extension base="BaseResource"> <xs:sequence> <xs:element ref="qos" minOccurs="0" maxOccurs="1"/> - <xs:element ref="storage_domain" minOccurs="1" maxOccurs="1"/> + <xs:element ref="storage_domain" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:extension> </xs:complexContent> @@ -4787,7 +4787,7 @@ <xs:extension base="BaseResource"> <xs:sequence> <xs:element ref="qos" minOccurs="0" maxOccurs="1"/> - <xs:element ref="cluster" minOccurs="1" maxOccurs="1"/> + <xs:element ref="cluster" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:extension> </xs:complexContent> -- To view, visit http://gerrit.ovirt.org/32390 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1ae61a0815fa66d907ee65eda274a76b036b9023 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Gilad Chaplik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
