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 <[email protected]>
---
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 <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches