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/62/32362/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 d32c9b6..f61e155 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 @@ -4798,7 +4798,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> @@ -4829,7 +4829,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/32362 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1ae61a0815fa66d907ee65eda274a76b036b9023 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Gilad Chaplik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
