diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-11-06 10:27:06 +0800 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2019-11-06 14:20:46 +0000 |
commit | fa458b2a3200920b24294273079935b4995afc0f (patch) | |
tree | 7569ba6c3b0e95b2d77063c9194927298a8114c4 /test/postman | |
parent | e6a413f89db47a917263feed474511bb9a9a6ad9 (diff) |
Update postman data about ns package onboard in VFC
Change-Id: I89f51d25c55c12d3c394e86852f6bf58dc333956
Issue-ID: INT-1364
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'test/postman')
-rw-r--r-- | test/postman/13_Ns_package_onboard.postman_collection.json | 223 |
1 files changed, 223 insertions, 0 deletions
diff --git a/test/postman/13_Ns_package_onboard.postman_collection.json b/test/postman/13_Ns_package_onboard.postman_collection.json new file mode 100644 index 000000000..0182c132c --- /dev/null +++ b/test/postman/13_Ns_package_onboard.postman_collection.json @@ -0,0 +1,223 @@ +{ + "info": { + "_postman_id": "ce6ead69-bd22-4d59-b711-d5acf1afd243", + "name": "Ns_package_onboard", + "description": "The VFC NS package onboard", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "ns", + "item": [ + { + "name": "msb_download", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/03c8e541-77a5-4594-b6a1-f955f6460dca/nsd_content", + "protocol": "http", + "host": [ + "172", + "30", + "3", + "104" + ], + "port": "30280", + "path": [ + "api", + "nsd", + "v1", + "ns_descriptors", + "03c8e541-77a5-4594-b6a1-f955f6460dca", + "nsd_content" + ] + }, + "description": "nsdinfo:03c8e541-77a5-4594-b6a1-f955f6460dca\nns_descriptors 后面跟nsdinfoid,根据实际情况填写" + }, + "response": [] + }, + { + "name": "msb_get", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/8acc4e46-08c1-46f3-a594-2910490930de", + "protocol": "http", + "host": [ + "172", + "30", + "3", + "104" + ], + "port": "30280", + "path": [ + "api", + "nsd", + "v1", + "ns_descriptors", + "8acc4e46-08c1-46f3-a594-2910490930de" + ] + }, + "description": "pick up information:\n[\n {\n \"id\": \"609d8ba3-9a94-4cc7-b67d-2ece3ac6e185\",\n \"nsdId\": \"ffdddc5d-a44b-45ae-8fc3-e6551cce350f\",\n \"nsdName\": \"vcpe\",\n \"nsdVersion\": \"1.0.0\",\n \"nsdDesigner\": \"ONAP\",\n \"nsdInvariantId\": \"c3887fb3-d1b2-477f-86c4-fd641ee9a7cf\",\n \"vnfPkgIds\": [\n \"386d6fb2-e1d9-4152-9bd6-606e33594ade\",\n \"511fb4ff-6a10-4699-864f-f3e7ad9b34b3\",\n \"39eb297c-4988-4902-9c37-55e4fd5f1c38\",\n \"f660da08-cc7c-4a1f-8196-05d4db415e1d\",\n \"1109773b-0cab-4f11-a11e-0cc22b1a29a3\"\n ],\n \"pnfdInfoIds\": [],\n \"nestedNsdInfoIds\": [],\n \"nsdOnboardingState\": \"ONBOARDED\",\n \"onboardingFailureDetails\": null,\n \"nsdOperationalState\": \"ENABLED\",\n \"nsdUsageState\": \"NOT_IN_USE\",\n \"userDefinedData\": {},\n \"_links\": null\n }\n]" + }, + "response": [] + }, + { + "name": "msb_get_one", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/8acc4e46-08c1-46f3-a594-2910490930de", + "protocol": "http", + "host": [ + "172", + "30", + "3", + "104" + ], + "port": "30280", + "path": [ + "api", + "nsd", + "v1", + "ns_descriptors", + "8acc4e46-08c1-46f3-a594-2910490930de" + ] + }, + "description": "nsdinfoid:8acc4e46-08c1-46f3-a594-2910490930de" + }, + "response": [] + }, + { + "name": "msb_delete", + "request": { + "method": "DELETE", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/03c8e541-77a5-4594-b6a1-f955f6460dca", + "protocol": "http", + "host": [ + "172", + "30", + "3", + "104" + ], + "port": "30280", + "path": [ + "api", + "nsd", + "v1", + "ns_descriptors", + "03c8e541-77a5-4594-b6a1-f955f6460dca" + ] + }, + "description": "nsinstid:03c8e541-77a5-4594-b6a1-f955f6460dca" + }, + "response": [] + }, + { + "name": "msb_create", + "request": { + "method": "POST", + "header": [ + { + "key": "content-type", + "value": " application/json", + "type": "text" + }, + { + "key": "accept", + "value": " application/json", + "type": "text" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "userDefinedData", + "value": " \"key1\": \"value1\"", + "type": "text" + } + ] + }, + "url": { + "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors", + "protocol": "http", + "host": [ + "172", + "30", + "3", + "104" + ], + "port": "30280", + "path": [ + "api", + "nsd", + "v1", + "ns_descriptors" + ] + } + }, + "response": [] + }, + { + "name": "msb_upload", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "", + "type": "file", + "src": "" + } + ] + }, + "url": { + "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/79ca81ec-10e0-44e4-bc85-ba968f345711/nsd_content", + "protocol": "http", + "host": [ + "172", + "30", + "3", + "104" + ], + "port": "30280", + "path": [ + "api", + "nsd", + "v1", + "ns_descriptors", + "79ca81ec-10e0-44e4-bc85-ba968f345711", + "nsd_content" + ] + } + }, + "response": [] + } + ] + } + ] +} |