Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Fix disk move and export metadata
......................................................................

restapi: Fix disk move and export metadata

The description of the operations to move, copy and export disks using
the top level disks collection is incorrect. This means that these
operations aren't supported in the SDKs and in the CLI. This patch fixes
the documentation.

Change-Id: I8a5cec5bf3049d3a9325b23a7d54c21565388b51
Bug-Url: https://bugzilla.redhat.com/1169376
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
(cherry picked from commit a3589e9e649f076344b1949aa9cc99944d7de942)
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
1 file changed, 15 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/56/35756/1

diff --git 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
index f29ec42..ba11c6f 100644
--- 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
+++ 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
@@ -1157,8 +1157,11 @@
     body:
       parameterType: Action
       signatures:
-      - mandatoryArguments: {storagedomain.id|name: 'xs:string'}
-        optionalArguments: {action.async: 'xs:boolean', 
action.grace_period.expiry: 'xs:long'}
+      - mandatoryArguments:
+          action.storage_domain.id|name: xs:string
+        optionalArguments:
+          action.async: xs:boolean
+          action.grace_period.expiry: xs:long
     urlparams: {}
     headers:
       Content-Type: {value: application/xml|json, required: true}
@@ -1170,8 +1173,11 @@
     body:
       parameterType: Action
       signatures:
-      - mandatoryArguments: {storagedomain.id|name: 'xs:string'}
-        optionalArguments: {action.async: 'xs:boolean', 
action.grace_period.expiry: 'xs:long'}
+      - mandatoryArguments:
+          action.storage_domain.id|name: xs:string
+        optionalArguments:
+          action.async: xs:boolean
+          action.grace_period.expiry: xs:long
         description: move a disk to a different storage domain
     urlparams: {}
     headers:
@@ -1184,8 +1190,11 @@
     body:
       parameterType: Action
       signatures:
-      - mandatoryArguments: {storagedomain.id|name: 'xs:string'}
-        optionalArguments: {action.async: 'xs:boolean', 
action.grace_period.expiry: 'xs:long'}
+      - mandatoryArguments:
+          action.storage_domain.id|name: xs:string
+        optionalArguments:
+          action.async: xs:boolean
+          action.grace_period.expiry: xs:long
         description: copy a disk to a different storage domain
     urlparams: {}
     headers:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a5cec5bf3049d3a9325b23a7d54c21565388b51
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to