Shubhendu Tripathi has uploaded a new change for review.

Change subject: restapi: Corrected input parameter types
......................................................................

restapi: Corrected input parameter types

The actions migrate, stopmigrate and activate on gluster bricks
collection accept the Action parameter. Corrected the same in RSDL.

Change-Id: I5405e80ca670957fd14e85aaa328e4716ff112a9
Bug-Url: https://bugzilla.redhat.com/1038678
Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
1 file changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/18/22118/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 c9d3cf0..b9fe0ee 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
@@ -3913,10 +3913,10 @@
   description: migrate the data from the brick to others and mark for deletion
   request:
     body:
-      parameterType: GlusterBricks
+      parameterType: Action
       signatures:
       - mandatoryArguments:
-          bricks--COLLECTION: {brick.name: 'xs:string'}
+          action.bricks--COLLECTION: {brick.name: 'xs:string'}
         optionalArguments: {}
         description: migrate the data from the brick to others and mark for 
deletion
     urlparams: {}
@@ -3927,10 +3927,10 @@
   description: stops the bricks migration task started on on volume
   request:
     body:
-      parameterType: GlusterBricks
+      parameterType: Action
       signatures:
       - mandatoryArguments:
-          bricks--COLLECTION: {brick.name: 'xs:string'}
+          action.bricks--COLLECTION: {brick.name: 'xs:string'}
         optionalArguments: {}
         description: stops the bricks migration task started on on volume
     urlparams: {}
@@ -3941,10 +3941,10 @@
   description: activates the bricks post migration of data for reuse
   request:
     body:
-      parameterType: GlusterBricks
+      parameterType: Action
       signatures:
       - mandatoryArguments:
-          bricks--COLLECTION: {brick.name: 'xs:string'}
+          action.bricks--COLLECTION: {brick.name: 'xs:string'}
         optionalArguments: {}
         description: activates the bricks post migration of data for reuse
     urlparams: {}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5405e80ca670957fd14e85aaa328e4716ff112a9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to