From 03cd337bd9e2149914f147bc28736389349bb18c Mon Sep 17 00:00:00 2001 From: Matthieu Geerebaert Date: Mon, 29 Apr 2019 15:47:55 +0200 Subject: Update postman to collection to match v4 Update endpoints of nbi postman collection ( remove /nbi/api/v3 ) Update url with http in environment integration file ( for all endpoint variables, fix ko on nbi.api.simpledemo.onap.org:30274/nbi/api/v3/status for instance ) Update nbi url in environment integration file ( add /nbi/api/v4 ) Change-Id: I42d1585ed4f458f74cf34927f2f853404e7f92e1 Issue-ID: EXTAPI-235 Signed-off-by: MatthieuGeerebaert --- .../10_Service_Order.postman_collection.json | 22 +++++++++++----------- .../integration_test_urls.postman_environment.json | 12 ++++++------ 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'test') diff --git a/test/postman/10_Service_Order.postman_collection.json b/test/postman/10_Service_Order.postman_collection.json index 1668b762c..2bcd4f9dc 100644 --- a/test/postman/10_Service_Order.postman_collection.json +++ b/test/postman/10_Service_Order.postman_collection.json @@ -25,7 +25,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/status", + "url": "{{url-nbi}}/status", "method": "GET", "header": [], "body": {}, @@ -58,7 +58,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/serviceSpecification", + "url": "{{url-nbi}}/serviceSpecification", "method": "GET", "header": [], "body": {}, @@ -90,7 +90,7 @@ ], "request": { "url": { - "raw": "{{url-nbi}}/nbi/api/v3/service?relatedParty.id={{customer_name}}", + "raw": "{{url-nbi}}/service?relatedParty.id={{customer_name}}", "host": [ "{{url-nbi}}" ], @@ -137,7 +137,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/serviceOrder", + "url": "{{url-nbi}}/serviceOrder", "method": "POST", "header": [ { @@ -187,7 +187,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/serviceOrder/{{auto_service_order_id}}", + "url": "{{url-nbi}}/serviceOrder/{{auto_service_order_id}}", "method": "GET", "header": [ { @@ -228,7 +228,7 @@ ], "request": { "url": { - "raw": "{{url-nbi}}/nbi/api/v3/service/{{auto_service_instance_id}}?relatedParty.id={{customer_name}}&serviceSpecification.name={{service}}", + "raw": "{{url-nbi}}/service/{{auto_service_instance_id}}?relatedParty.id={{customer_name}}&serviceSpecification.name={{service}}", "host": [ "{{url-nbi}}" ], @@ -283,7 +283,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/serviceOrder", + "url": "{{url-nbi}}/serviceOrder", "method": "POST", "header": [ { @@ -343,7 +343,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/serviceOrder/{{auto_service_order_id}}", + "url": "{{url-nbi}}/serviceOrder/{{auto_service_order_id}}", "method": "GET", "header": [ { @@ -384,7 +384,7 @@ ], "request": { "url": { - "raw": "{{url-nbi}}/nbi/api/v3/service/{{auto_service_instance_id}}?relatedParty.id={{customer_name}}&serviceSpecification.name={{service}}", + "raw": "{{url-nbi}}/service/{{auto_service_instance_id}}?relatedParty.id={{customer_name}}&serviceSpecification.name={{service}}", "host": [ "{{url-nbi}}" ], @@ -444,7 +444,7 @@ ], "request": { "url": { - "raw": "{{url-nbi}}/nbi/api/v3/service?relatedParty.id={{customer_name}}", + "raw": "{{url-nbi}}/service?relatedParty.id={{customer_name}}", "host": [ "{{url-nbi}}" ], @@ -486,7 +486,7 @@ } ], "request": { - "url": "{{url-nbi}}/nbi/api/v3/hub", + "url": "{{url-nbi}}/hub", "method": "GET", "header": [], "body": {}, diff --git a/test/postman/integration_test_urls.postman_environment.json b/test/postman/integration_test_urls.postman_environment.json index 9f84f9c9c..d376409d8 100644 --- a/test/postman/integration_test_urls.postman_environment.json +++ b/test/postman/integration_test_urls.postman_environment.json @@ -5,19 +5,19 @@ { "enabled": true, "key": "url-sdc", - "value": "sdc.api.fe.simpledemo.onap.org:30205", + "value": "http://sdc.api.fe.simpledemo.onap.org:30205", "type": "text" }, { "enabled": true, "key": "url-sdc2", - "value": "sdc.api.fe.simpledemo.onap.org:30206", + "value": "http://sdc.api.fe.simpledemo.onap.org:30206", "type": "text" }, { "enabled": true, "key": "url-vid", - "value": "vid.api.simpledemo.onap.org:30238", + "value": "http://vid.api.simpledemo.onap.org:30238", "type": "text" }, { @@ -29,19 +29,19 @@ { "enabled": true, "key": "url-sdnc", - "value": "sdnc.api.simpledemo.onap.org:30202", + "value": "http://sdnc.api.simpledemo.onap.org:30202", "type": "text" }, { "enabled": true, "key": "url-nbi", - "value": "nbi.api.simpledemo.onap.org:30274", + "value": "http://nbi.api.simpledemo.onap.org:30274/nbi/api/v4", "type": "text" }, { "enabled": true, "key": "url-so", - "value": "so.api.simpledemo.onap.org:30277", + "value": "http://so.api.simpledemo.onap.org:30277", "type": "text" } ], -- cgit 1.2.3-korg