Change in ovirt-engine[master]: restapi: Remove ReadOnlyResources interface

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Feb 16 08:54:54 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Remove ReadOnlyResources interface
......................................................................


restapi: Remove ReadOnlyResources interface

The presence of this interface induces errors in the RSDL generator. In
particular the type of the disk snapshots collection is reported as
"BaseResource" instead of "DiskSnapshot", which causes additional issues
in the consumers of the RSDL, including the generators of the Python and
Java SDKs. To avoid this issue this patch removes completely that
interface.

Change-Id: Id449ea7bb88f7acae0a3b536aa2d45e1ddbeb48e
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/DiskSnapshotResource.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/DiskSnapshotsResource.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/HostNumaNodeResource.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/ImageResource.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/ImagesResource.java
D backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/ReadOnlyResource.java
D backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/ReadOnlyResources.java
7 files changed, 22 insertions(+), 82 deletions(-)

Approvals:
  Ori Liel: Looks good to me, approved
  Juan Hernandez: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id449ea7bb88f7acae0a3b536aa2d45e1ddbeb48e
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: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list