Gilad Chaplik has uploaded a new change for review.

Change subject: restapi: allow no QoS for Profile element
......................................................................

restapi: allow no QoS for Profile element

When there's no qos for profile, the generated profile
doesn't contain is, so minOccurs of qos ref should be 0.

Change-Id: I6262103d38376003ffe1b98d17400eaf5c5e387b
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/11/32311/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 a64a831..d32c9b6 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
@@ -4797,7 +4797,7 @@
     <xs:complexContent>
       <xs:extension base="BaseResource">
         <xs:sequence>
-          <xs:element ref="qos" minOccurs="1" maxOccurs="1"/>
+          <xs:element ref="qos" minOccurs="0" maxOccurs="1"/>
           <xs:element ref="storage_domain" minOccurs="1" maxOccurs="1"/>
         </xs:sequence>
       </xs:extension>
@@ -4828,7 +4828,7 @@
     <xs:complexContent>
       <xs:extension base="BaseResource">
         <xs:sequence>
-          <xs:element ref="qos" minOccurs="1" maxOccurs="1"/>
+          <xs:element ref="qos" minOccurs="0" maxOccurs="1"/>
           <xs:element ref="cluster" minOccurs="1" maxOccurs="1"/>
         </xs:sequence>
       </xs:extension>


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6262103d38376003ffe1b98d17400eaf5c5e387b
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

Reply via email to