Michael Pasternak has uploaded a new change for review. Change subject: restapi: make Capabilities::BaseResources in sake of compliance with cross api collection pattern ......................................................................
restapi: make Capabilities::BaseResources in sake of compliance with cross api collection pattern Change-Id: I39cb724a154b9abe952d83235f318eafe72d15a6 Signed-off-by: Michael pasternak <mpast...@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd 1 file changed, 17 insertions(+), 13 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/05/15605/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 2a2830b..e1f5c50 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 @@ -595,20 +595,24 @@ </xs:extension> </xs:complexContent> </xs:complexType> - + <xs:complexType name="Capabilities"> - <xs:sequence> - <xs:element name="version" type="VersionCaps" maxOccurs="unbounded"> - <xs:annotation> - <xs:appinfo> - <jaxb:property name="Versions"/> - </xs:appinfo> - </xs:annotation> - </xs:element> - <!-- TODO: (deprecated) remove these elements post 4.0 --> - <xs:element name="permits" type="Permits" minOccurs="0"/> - <xs:element name="scheduling_policies" type="SchedulingPolicies" minOccurs="0"/> - </xs:sequence> + <xs:complexContent> + <xs:extension base="BaseResources"> + <xs:sequence> + <xs:element name="version" type="VersionCaps" maxOccurs="unbounded"> + <xs:annotation> + <xs:appinfo> + <jaxb:property name="Versions" /> + </xs:appinfo> + </xs:annotation> + </xs:element> + <!-- TODO: (deprecated) remove these elements post 4.0 --> + <xs:element name="permits" type="Permits" minOccurs="0" /> + <xs:element name="scheduling_policies" type="SchedulingPolicies" minOccurs="0" /> + </xs:sequence> + </xs:extension> + </xs:complexContent> </xs:complexType> <xs:element name="scheduling_policies" type="SchedulingPolicies"/> -- To view, visit http://gerrit.ovirt.org/15605 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I39cb724a154b9abe952d83235f318eafe72d15a6 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <mpast...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches