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> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/21/28321/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 cdc6bff..7b212e3 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 @@ -390,7 +390,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 @@ -401,7 +401,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 @@ -410,7 +410,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 @@ -419,7 +419,7 @@ headers: Content-Type: {value: application/xml|json, required: true} Correlation-Id: {value: 'any string', required: false} -- name: /api/vms/{vm:id}/clone|rel=clone +- name: /vms/{vm:id}/clone|rel=clone request: body: parameterType: Action -- To view, visit http://gerrit.ovirt.org/28321 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I672aee761ad9b310cc129ce4eabebe3745b85f59 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