aboutsummaryrefslogtreecommitdiffstats
path: root/test/postman/13_Ns_package_onboard.postman_collection.json
blob: 0182c132c8902b3462ae8aa59979f4526b3a8494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
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": []
				}
			]
		}
	]
}