Change in ovirt-engine[master]: restapi: Avoid permissions in VmBase

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Sep 1 14:25:59 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Avoid permissions in VmBase
......................................................................


restapi: Avoid permissions in VmBase

A recent change (commit d2aa338) refactored the XML schema to simplify
the VM and template entities using a shared base type. Unfortunately
this change makes it impossible to generate the Java SDK, as it
generates conflicting get methods for the permissions sub collection.
Changing the Java SDK code generator to avoid this is possible but risky
for 3.5, so this patch changes the XML schema moving the "permissions"
property from the shared base type to the derived VM and template types.
This isn't ideal, but avoids the issue in the generator of the Java SDK.

Change-Id: I5aed6471a4f77a6df41ebd298f35807fbec616e1
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, 2 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Martin Betak: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5aed6471a4f77a6df41ebd298f35807fbec616e1
Gerrit-PatchSet: 1
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: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list