Sergey Gotliv has posted comments on this change.
Change subject: restapi: Adding support for copy/move disk from disk collection.
......................................................................
Patch Set 10:
(2 comments)
....................................................
Commit Message
Line 7: restapi: Adding support for copy/move disk from disk collection.
Line 8:
Line 9: Adding support for the following urls:
Line 10: /api/disks/{disk:id}/copy
Line 11: /api/disks/{disk:id}/move
No its not.
Links are not exposed in BackendStorageDomainDisk. I'll provide another patch
to do that.
Line 12:
Line 13: Change-Id: I516341d3e033a94a997ac5320312e75a5ed1576c
Line 14: Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=911348
....................................................
File
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskResource.java
Line 66:
Line 67: public Response move(Action action) {
Line 68: validateParameters(action, "storageDomain.id|name");
Line 69: Guid storageDomainId = getStorageDomainId(action);
Line 70: Guid imageId = asGuid(get().getImageId());
its image group id (disk id).
Line 71: MoveDisksParameters params =
Line 72: new MoveDisksParameters(Collections.singletonList(new
MoveDiskParameters(
Line 73: imageId,
Line 74: Guid.Empty,
--
To view, visit http://gerrit.ovirt.org/13973
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I516341d3e033a94a997ac5320312e75a5ed1576c
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches