Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Fix typo in import image RSDL metadata
......................................................................

restapi: Fix typo in import image RSDL metadata

The action that imports an image is documented using "{images:id}", in
plural, but the actual URL is "image", in singular. Due to this typo the
metadata for this action isn't added to the generated RSDL document.

Change-Id: I84969f455a3d21d3a822675d704fd419551ac4fa
Bug-Url: https://bugzilla.redhat.com/1218935
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/88/40588/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 9e3975f..08f6044 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
@@ -1112,8 +1112,8 @@
   request:
     urlparams:
       max: {context: matrix, type: 'xs:int', value: 'max results', required: 
false}
-- name: /storagedomains/{storagedomain:id}/images/{images:id}|rel=get
-- name: /storagedomains/{storagedomain:id}/images/{images:id}/import|rel=import
+- name: /storagedomains/{storagedomain:id}/images/{image:id}|rel=get
+- name: /storagedomains/{storagedomain:id}/images/{image:id}/import|rel=import
   request:
     body:
       parameterType: Action
@@ -3973,7 +3973,7 @@
       signatures:
       - mandatoryArguments: {}
         optionalArguments: {}
-- name: 
/openstackimageproviders/{openstackimageprovider:id}/images/{images:id}/import|rel=import
+- name: 
/openstackimageproviders/{openstackimageprovider:id}/images/{image:id}/import|rel=import
   description: imports the OpenStack image
   request:
     body:


-- 
To view, visit https://gerrit.ovirt.org/40588
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I84969f455a3d21d3a822675d704fd419551ac4fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
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