Change in ovirt-engine[master]: restapi: Remove "graphics_consoles" from "VmBase"

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Jun 19 12:45:01 UTC 2015


Juan Hernandez has submitted this change and it was merged.

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.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/42481
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibdf5a15be99b636be0a4bf57abe83fbc15c5ac81
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list