Change in ovirt-engine[master]: restapi: Don't use "ReadOnlyDeviceResource" in disks collection

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Oct 22 08:02:38 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Don't use "ReadOnlyDeviceResource" in disks collection
......................................................................


restapi: Don't use "ReadOnlyDeviceResource" in disks collection

The interfaces corresponding to the top level disks collection extends
the generic "ReadOnlyDeviceResource" interface. This generic interface
is an obstable for the introduction of the new service model. This patch
changes the disks collection so that it doesn't use that interface.

Change-Id: I1fcb5638c29cc2fcb7ff445e978bc4051927f2f3
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/DiskResource.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/DisksResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDisksResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainDisksResource.java
4 files changed, 15 insertions(+), 9 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



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

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



More information about the Engine-commits mailing list