Eli Mesika has uploaded a new change for review. Change subject: api: moving host/external state to the right place ......................................................................
api: moving host/external state to the right place Following Juan comemnt from https://gerrit.ovirt.org/#/c/40997/10/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd Those definitions were moved to the section that handles the capabilities stuff as requested Change-Id: I041f317a60a3b83e6be3a1b80d204af9b93ac844 Signed-off-by: emesika <emes...@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd 1 file changed, 28 insertions(+), 28 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/27/42327/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 74976c9..4eca383 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 @@ -1174,6 +1174,34 @@ </xs:sequence> </xs:complexType> + <xs:element name="host_states" type="HostStates"/> + + <xs:complexType name="HostStates"> + <xs:sequence> + <xs:element name="host_state" type="xs:string" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:appinfo> + <jaxb:property name="HostStates"/> + </xs:appinfo> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + + <xs:element name="external_statuses" type="ExternalStatuses"/> + + <xs:complexType name="ExternalStatuses"> + <xs:sequence> + <xs:element name="external_status" type="xs:string" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:appinfo> + <jaxb:property name="ExternalStatus"/> + </xs:appinfo> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + <!-- Architecture Capabilities --> <xs:element name="architecture_capability" type="ArchitectureCapability"/> @@ -2036,34 +2064,6 @@ <xs:element name="score" type="xs:int" minOccurs="0" maxOccurs="1"/> <xs:element name="global_maintenance" type="xs:boolean" minOccurs="0" maxOccurs="1"/> <xs:element name="local_maintenance" type="xs:boolean" minOccurs="0" maxOccurs="1"/> - </xs:sequence> - </xs:complexType> - - <xs:element name="host_states" type="HostStates"/> - - <xs:complexType name="HostStates"> - <xs:sequence> - <xs:element name="host_state" type="xs:string" minOccurs="0" maxOccurs="unbounded"> - <xs:annotation> - <xs:appinfo> - <jaxb:property name="HostStates"/> - </xs:appinfo> - </xs:annotation> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:element name="external_statuses" type="ExternalStatuses"/> - - <xs:complexType name="ExternalStatuses"> - <xs:sequence> - <xs:element name="external_status" type="xs:string" minOccurs="0" maxOccurs="unbounded"> - <xs:annotation> - <xs:appinfo> - <jaxb:property name="ExternalStatus"/> - </xs:appinfo> - </xs:annotation> - </xs:element> </xs:sequence> </xs:complexType> -- To view, visit https://gerrit.ovirt.org/42327 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I041f317a60a3b83e6be3a1b80d204af9b93ac844 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emes...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches