Juan Hernandez has uploaded a new change for review. Change subject: restapi: Remove "graphics_consoles" from "VmBase" ......................................................................
restapi: Remove "graphics_consoles" from "VmBase" The presence of this element in the the base class for VMs and Templates induces a type error in the Java SDK. The Java class generated by the "xjc" compiler from the "VmBase" class contains the following method: List<GraphicsConsoles> getGraphicsConsoles() The "VM" decorator class generated by the code generator contains the following method: VMGraphicsConsoles getGraphicsConsoles() The return types are icompatible. The "graphics_consoles" element isn't currently used, so this patch removes it to avoid the issue in the Java SDK. Change-Id: Ibdf5a15be99b636be0a4bf57abe83fbc15c5ac81 Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd 1 file changed, 0 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/81/42481/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 d589dc7..ea4c82e 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 @@ -3422,7 +3422,6 @@ <xs:element name="custom_properties" type="CustomProperties" minOccurs="0" maxOccurs="1"/> <xs:element name="custom_emulated_machine" type="xs:string" minOccurs="0" maxOccurs="1"/> <xs:element name="custom_cpu_model" type="xs:string" minOccurs="0" maxOccurs="1"/> - <xs:element name="graphics_consoles" type="GraphicsConsoles" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="time_zone" type="TimeZone" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:extension> -- To view, visit https://gerrit.ovirt.org/42481 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibdf5a15be99b636be0a4bf57abe83fbc15c5ac81 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches