From 00ec6a5b642c5f63ada6323118e28397e70d042e Mon Sep 17 00:00:00 2001 From: Sheel Rana Date: Mon, 10 May 2021 03:09:29 +0900 Subject: [PATCH] Incomplete URLs in api-ref Host-path is missing in some of the api-ref sample files. This patch adds host-path in such related api-ref sample files. Change-Id: Iaee9daf266a6377b5de0d258aee6bcf9c6aef36e --- .../v1/samples/vnflcm/create-vnf-instance-response.json | 4 ++-- .../v1/samples/vnflcm/list-vnf-instance-response.json | 8 ++++---- .../v1/samples/vnflcm/show-vnf-instance-response.json | 6 +++--- .../vnflcm/show-vnflcm-operation-occurrence-response.json | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api-ref/source/v1/samples/vnflcm/create-vnf-instance-response.json b/api-ref/source/v1/samples/vnflcm/create-vnf-instance-response.json index 7967e6383..17e9ce802 100644 --- a/api-ref/source/v1/samples/vnflcm/create-vnf-instance-response.json +++ b/api-ref/source/v1/samples/vnflcm/create-vnf-instance-response.json @@ -10,10 +10,10 @@ "instantiationState": "NOT_INSTANTIATED", "_links": { "self": { - "href": "/vnflcm/v1/vnf_instances/1502ef16-8f4a-41f3-8c77-5a0eeee9c8d7" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/1502ef16-8f4a-41f3-8c77-5a0eeee9c8d7" }, "instantiate": { - "href": "/vnflcm/v1/vnf_instances/1502ef16-8f4a-41f3-8c77-5a0eeee9c8d7/instantiate" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/1502ef16-8f4a-41f3-8c77-5a0eeee9c8d7/instantiate" } } } \ No newline at end of file diff --git a/api-ref/source/v1/samples/vnflcm/list-vnf-instance-response.json b/api-ref/source/v1/samples/vnflcm/list-vnf-instance-response.json index 8052564f3..2b21b2615 100644 --- a/api-ref/source/v1/samples/vnflcm/list-vnf-instance-response.json +++ b/api-ref/source/v1/samples/vnflcm/list-vnf-instance-response.json @@ -173,14 +173,14 @@ }, "_links": { "self": { - "href": "/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50" }, "terminate": { - "href": "/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/terminate" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/terminate" }, "heal": { - "href": "/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/heal" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/heal" } } } -] \ No newline at end of file +] diff --git a/api-ref/source/v1/samples/vnflcm/show-vnf-instance-response.json b/api-ref/source/v1/samples/vnflcm/show-vnf-instance-response.json index c7bbfaae6..243145502 100644 --- a/api-ref/source/v1/samples/vnflcm/show-vnf-instance-response.json +++ b/api-ref/source/v1/samples/vnflcm/show-vnf-instance-response.json @@ -172,13 +172,13 @@ }, "_links": { "self": { - "href": "/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50" }, "terminate": { - "href": "/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/terminate" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/terminate" }, "heal": { - "href": "/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/heal" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/8941a2ce-cf50-4d5f-8907-71a937902a50/heal" } } } \ No newline at end of file diff --git a/api-ref/source/v1/samples/vnflcm/show-vnflcm-operation-occurrence-response.json b/api-ref/source/v1/samples/vnflcm/show-vnflcm-operation-occurrence-response.json index 1bc123d1f..ecafd42df 100644 --- a/api-ref/source/v1/samples/vnflcm/show-vnflcm-operation-occurrence-response.json +++ b/api-ref/source/v1/samples/vnflcm/show-vnflcm-operation-occurrence-response.json @@ -59,13 +59,13 @@ }, "_links": { "self": { - "href": "http://sample.com/vnflcm/v1/vnf_lcm_op_occs/d85c6ae4-af16-42c0-96fc-82f7c014c468" + "href": "http://sample1.com/vnflcm/v1/vnf_lcm_op_occs/d85c6ae4-af16-42c0-96fc-82f7c014c468" }, "vnfInstance": { - "href": "http://sample.com/vnflcm/v1/vnf_instances/0b7b95a9-21d5-4ac4-80c8-9ae9f7323787" + "href": "http://sample1.com/vnflcm/v1/vnf_instances/0b7b95a9-21d5-4ac4-80c8-9ae9f7323787" }, "grant": { - "href": "/grant/v1/grants/3432cebe-db0a-11e8-9023-005056317abe" + "href": "http://sample1.com/grant/v1/grants/3432cebe-db0a-11e8-9023-005056317abe" }, "retry":{ "href":"http://sample1.com/vnflcm/v1/vnf_lcm_op_occs/d85c6ae4-af16-42c0-96fc-82f7c014c468/retry"