Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Remove /api from snapshot metadata URL
......................................................................

restapi: Remove /api from snapshot metadata URL

Currently the operations related to snapshots at the VM level contain an
extra /api prefix in the specification of the URL. This confuses the
generator of the RSDL metadata and needs to be removed.

Change-Id: I672aee761ad9b310cc129ce4eabebe3745b85f59
Bug-Url: https://bugzilla.redhat.com/1101405
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
(cherry picked from commit 142b44a5d43631048e3d83df8a29c1bf720e037a)
---
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/45/28345/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 96713b7..8e83ab4 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
@@ -365,7 +365,7 @@
     headers:
       Content-Type: {value: application/xml|json, required: true}
       Correlation-Id: {value: 'any string', required: false}
-- name: /api/vms/{vm:id}/preview_snapshot|rel=preview_snapshot
+- name: /vms/{vm:id}/preview_snapshot|rel=preview_snapshot
   request:
     body:
       parameterType: Action
@@ -375,7 +375,7 @@
     headers:
       Content-Type: {value: application/xml|json, required: true}
       Correlation-Id: {value: 'any string', required: false}
-- name: /api/vms/{vm:id}/commit_snapshot|rel=commit_snapshot
+- name: /vms/{vm:id}/commit_snapshot|rel=commit_snapshot
   request:
     body:
       parameterType: Action
@@ -384,7 +384,7 @@
     headers:
       Content-Type: {value: application/xml|json, required: true}
       Correlation-Id: {value: 'any string', required: false}
-- name: /api/vms/{vm:id}/undo_snapshot|rel=undo_snapshot
+- name: /vms/{vm:id}/undo_snapshot|rel=undo_snapshot
   request:
     body:
       parameterType: Action


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

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