Change in ovirt-engine[master]: restapi: Map Disk Alias To Disk Name

oliel at redhat.com oliel at redhat.com
Mon Jul 9 10:21:38 UTC 2012


Ori Liel has submitted this change and it was merged.

Change subject: restapi: Map Disk Alias To Disk Name
......................................................................


restapi: Map Disk Alias To Disk Name

Backend has both 'name' and 'alias' for disk, for historic reasons.
API will expose only 'name' but behind the scenes map it to 'alias'.

Change-Id: I7d85a8e3b04a121e2139df213f023c3ef606a59f
Signed-off-by: Ori Liel <oliel at redhat.com>
---
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/BackendVmDisksResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendDisksResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmDisksResourceTest.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/DiskMapper.java
5 files changed, 9 insertions(+), 3 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d85a8e3b04a121e2139df213f023c3ef606a59f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list