Change in ovirt-engine[master]: restapi: fix rsdl generation for move and copy disk

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Jun 16 11:09:53 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: fix rsdl generation for move and copy disk
......................................................................


restapi: fix rsdl generation for move and copy disk

Move/Copy actions have been missing under '/api/disks/{disk:id}';
hence:
* Changed 'DisksResource -> getDeviceSubResource' return type to
  MovableCopyableDiskResource.
* Added missing '-' prefix in rsdl_metadata.

Change-Id: I4fc36ea6e8042f3632da8f03f8a009e9f5bce857
Bug-Url: https://bugzilla.redhat.com/1097681
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/DisksResource.java
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
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, 7 insertions(+), 7 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, approved
  Daniel Erez: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4fc36ea6e8042f3632da8f03f8a009e9f5bce857
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez 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