Daniel Erez has submitted this change and it was merged.
Change subject: restapi: copy disk - fixing rsdl and SD lookup method
......................................................................
restapi: copy disk - fixing rsdl and SD lookup method
* rsdl:
mandatory arguments - changing to 'storagedomain.id|name'
optional arguments - adding 'action.grace_period.expiry: 'xs:long'
* AbstractBackendActionableResource:
lookupStorageDomainIdByName - using 'GetAllStorageDomains' query
instead of search to allow usage for non-admins.
* BackendTemplateDiskResource:
GetDiskByDiskId query for getting Disk entity.
Change-Id: Ic8bea5e02d1a14599cefbeada241f132df8ccda8
Signed-off-by: Daniel Erez <derez(a)redhat.com>
---
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata_v-3.1.yaml
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendActionableResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTemplateDiskResource.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendTemplateDiskResourceTest.java
4 files changed, 84 insertions(+), 20 deletions(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10688
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8bea5e02d1a14599cefbeada241f132df8ccda8
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>