aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Geerebaert <matthieu.geerebaert@orange.com>2019-04-29 15:47:55 +0200
committerMatthieu Geerebaert <matthieu.geerebaert@orange.com>2019-04-29 15:47:55 +0200
commit03cd337bd9e2149914f147bc28736389349bb18c (patch)
tree29af90d3cff256b3db86b0e9e1155e94167b24f6
parent42dcb266339a26803074f3190d1d9576e9dd05b7 (diff)
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 <matthieu.geerebaert@orange.com>
-rw-r--r--test/postman/10_Service_Order.postman_collection.json22
-rw-r--r--test/postman/integration_test_urls.postman_environment.json12
2 files changed, 17 insertions, 17 deletions
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"
}
],