blob: bb8b3d8916a35facb20bab38cbb81619066083c9 [file] [log] [blame]
yangyan48e2fd82019-11-06 11:01:17 +08001{
Bartek Grzybowski2ab42812020-02-26 15:07:39 +01002 "info": {
3 "_postman_id": "ce6ead69-bd22-4d59-b711-d5acf1afd243",
4 "name": "Pnf_package_onboard",
5 "description": "The VFC pnf package onboard",
6 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7 },
8 "item": [
9 {
10 "name": "PNF",
11 "item": [
12 {
13 "name": "msb_create",
14 "request": {
15 "method": "POST",
16 "header": [
17 {
18 "key": "content-type",
19 "value": " application/json",
20 "type": "text"
21 },
22 {
23 "key": "accept",
24 "value": " application/json",
25 "type": "text"
26 }
27 ],
28 "body": {
29 "mode": "formdata",
30 "formdata": [
31 {
32 "key": "userDefinedData",
33 "value": " \"key3\": \"value3\"",
34 "type": "text"
35 }
36 ]
37 },
38 "url": {
39 "raw": "http://172.30.3.104:30280/api/nsd/v1/pnf_descriptors",
40 "protocol": "http",
41 "host": [
42 "172",
43 "30",
44 "3",
45 "104"
46 ],
47 "port": "30280",
48 "path": [
49 "api",
50 "nsd",
51 "v1",
52 "pnf_descriptors"
53 ]
54 },
55 "description": "get data:\n{\n \"id\": \"844d254e-5dc8-4a28-82a8-694b6a60bee3\",\n \"pnfdOnboardingState\": \"CREATED\",\n \"pnfdUsageState\": \"NOT_IN_USE\",\n \"userDefinedData\": {},\n \"_links\": null\n}"
56 },
57 "response": []
58 },
59 {
60 "name": "msb_get_one",
61 "request": {
62 "method": "GET",
63 "header": [],
64 "body": {
65 "mode": "raw",
66 "raw": ""
67 },
68 "url": {
69 "raw": "http://172.30.3.104:30280/api/nsd/v1/pnf_descriptors/5478150b-493c-4a66-a808-05387ebab874",
70 "protocol": "http",
71 "host": [
72 "172",
73 "30",
74 "3",
75 "104"
76 ],
77 "port": "30280",
78 "path": [
79 "api",
80 "nsd",
81 "v1",
82 "pnf_descriptors",
83 "5478150b-493c-4a66-a808-05387ebab874"
84 ]
85 }
86 },
87 "response": []
88 },
89 {
90 "name": "msb_get",
91 "request": {
92 "method": "GET",
93 "header": [],
94 "body": {
95 "mode": "raw",
96 "raw": ""
97 },
98 "url": {
99 "raw": "http://172.30.3.104:30280/api/nsd/v1/pnf_descriptors",
100 "protocol": "http",
101 "host": [
102 "172",
103 "30",
104 "3",
105 "104"
106 ],
107 "port": "30280",
108 "path": [
109 "api",
110 "nsd",
111 "v1",
112 "pnf_descriptors"
113 ]
114 },
115 "description": "get data:\n[\n {\n \"id\": \"844d254e-5dc8-4a28-82a8-694b6a60bee3\",\n \"pnfdId\": null,\n \"pnfdName\": null,\n \"pnfdVersion\": null,\n \"pnfdProvider\": null,\n \"pnfdInvariantId\": null,\n \"pnfdOnboardingState\": \"CREATED\",\n \"onboardingFailureDetails\": null,\n \"pnfdUsageState\": \"NOT_IN_USE\",\n \"userDefinedData\": {},\n \"_links\": null\n }\n]"
116 },
117 "response": []
118 },
119 {
120 "name": "msb_delete",
121 "request": {
122 "method": "GET",
123 "header": [],
124 "body": {
125 "mode": "raw",
126 "raw": ""
127 },
128 "url": {
129 "raw": "http://172.30.3.104:30280/api/nsd/v1/pnf_descriptors/03c39754-46e7-44bd-ad4a-9a6de771d8bd",
130 "protocol": "http",
131 "host": [
132 "172",
133 "30",
134 "3",
135 "104"
136 ],
137 "port": "30280",
138 "path": [
139 "api",
140 "nsd",
141 "v1",
142 "pnf_descriptors",
143 "03c39754-46e7-44bd-ad4a-9a6de771d8bd"
144 ]
145 }
146 },
147 "response": []
148 },
149 {
150 "name": "msb_upload",
151 "request": {
152 "method": "PUT",
153 "header": [],
154 "body": {
155 "mode": "formdata",
156 "formdata": [
157 {
158 "key": "",
159 "type": "file",
160 "src": ""
161 }
162 ]
163 },
164 "url": {
165 "raw": "http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages/38037a12-a0d4-4aa4-ac50-cd6b05ce0b24/package_content",
166 "protocol": "http",
167 "host": [
168 "172",
169 "30",
170 "3",
171 "104"
172 ],
173 "port": "30280",
174 "path": [
175 "api",
176 "vnfpkgm",
177 "v1",
178 "vnf_packages",
179 "38037a12-a0d4-4aa4-ac50-cd6b05ce0b24",
180 "package_content"
181 ]
182 },
183 "description": "Invalid vnf package, need to change"
184 },
185 "response": []
186 },
187 {
188 "name": "msb_download",
189 "request": {
190 "method": "GET",
191 "header": [],
192 "body": {
193 "mode": "raw",
194 "raw": ""
195 },
196 "url": {
197 "raw": "http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages/396b889f-529f-426a-97ab-65b00720b308/package_content",
198 "protocol": "http",
199 "host": [
200 "172",
201 "30",
202 "3",
203 "104"
204 ],
205 "port": "30280",
206 "path": [
207 "api",
208 "vnfpkgm",
209 "v1",
210 "vnf_packages",
211 "396b889f-529f-426a-97ab-65b00720b308",
212 "package_content"
213 ]
214 },
215 "description": "The acquired data needs to be written to the CSAR file. Not added here. Get data only"
216 },
217 "response": []
218 }
219 ],
220 "event": [
221 {
222 "listen": "prerequest",
223 "script": {
224 "id": "7ed5956a-ebaa-4de8-b2d2-a18027de85f7",
225 "type": "text/javascript",
226 "exec": [
227 ""
228 ]
229 }
230 },
231 {
232 "listen": "test",
233 "script": {
234 "id": "d9830571-314d-49ee-a2a8-8be045a51469",
235 "type": "text/javascript",
236 "exec": [
237 ""
238 ]
239 }
240 }
241 ]
242 }
243 ]
244}