Juan Hernandez has uploaded a new change for review. Change subject: restapi: No trailing / in network labels metadata ......................................................................
restapi: No trailing / in network labels metadata The RSDL metadata that describes the operations to add network labels contains an extra slash at the end of the URL. This makes the RSDL generator ignore the URL. As a result the RSDL documentation doesn't contains the headers, and the SDKs are generated incorrectly. Change-Id: I88781dad71e9dca372de6a84c5c2eb3c8d36c21f Bug-Url: https://bugzilla.redhat.com/1101531 Signed-off-by: Juan Hernandez <[email protected]> (cherry picked from commit 8ec2ee221b3c2b3c0f2efa2720d15d082d9287ec) --- 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/18/28318/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 34d6d46..96713b7 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 @@ -1224,7 +1224,7 @@ signatures: [] urlparams: {} headers: {} -- name: /datacenters/{datacenter:id}/networks/{network:id}/labels/|rel=add +- name: /datacenters/{datacenter:id}/networks/{network:id}/labels|rel=add description: add a new label to the network request: body: @@ -2751,7 +2751,7 @@ signatures: [] urlparams: {} headers: {} -- name: /hosts/{host:id}/nics/{nic:id}/labels/|rel=add +- name: /hosts/{host:id}/nics/{nic:id}/labels|rel=add description: add a new label to the interface request: body: @@ -3053,7 +3053,7 @@ signatures: [] urlparams: {} headers: {} -- name: /networks/{network:id}/labels/|rel=add +- name: /networks/{network:id}/labels|rel=add description: add a new label to the network request: body: -- To view, visit http://gerrit.ovirt.org/28318 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I88781dad71e9dca372de6a84c5c2eb3c8d36c21f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
