3192865b52e2aa0ff9ca1cbd3ee6779c25738bfc
[so.git] / mso-api-handlers / mso-api-handler-infra / src / test / resources / __files / catalogdb / WorkflowActivitySpecSequence_Response.json
1 {
2         "_embedded": {
3         
4     "workflowActivitySpecSequence": [
5       {
6         "activitySpecId": null,
7         "workflowId": null,
8         "activitySpec": {
9           "name": "VNFQuiesceTrafficActivity",
10           "description": "Activity to QuiesceTraffic on VNF",
11           "version": null,
12           "created": null,
13           "workflowActivitySpecSequence": null,
14           "activitySpecActivitySpecCategories": null,
15           "activitySpecUserParameters": [
16             {
17               "activitySpecId": null,
18               "userParametersId": null,
19               "activitySpec": null,
20               "userParameters": {
21                 "name": "operations_timeout",
22                 "payloadLocation": "userParams",
23                 "label": "Operations Timeout",
24                 "type": "text",
25                 "description": null,
26                 "isRequried": true,
27                 "maxLength": 50,
28                 "allowableChars": "someRegEx",
29                 "created": null,
30                 "activitySpecUserParameters": null,
31                 "id": null
32               },
33               "id": null
34             },
35             {
36               "activitySpecId": null,
37               "userParametersId": null,
38               "activitySpec": null,
39               "userParameters": {
40                 "name": "existing_software_version",
41                 "payloadLocation": "userParams",
42                 "label": "Existing Software Version",
43                 "type": "text",
44                 "description": null,
45                 "isRequried": true,
46                 "maxLength": 50,
47                 "allowableChars": "someRegEx",
48                 "created": null,
49                 "activitySpecUserParameters": null,
50                 "id": null
51               },
52               "id": null
53             },
54             {
55               "activitySpecId": null,
56               "userParametersId": null,
57               "activitySpec": null,
58               "userParameters": {
59                 "name": "cloudOwner",
60                 "payloadLocation": "cloudConfiguration",
61                 "label": "Cloud Owner",
62                 "type": "text",
63                 "description": null,
64                 "isRequried": true,
65                 "maxLength": 7,
66                 "allowableChars": "someRegEx",
67                 "created": null,
68                 "activitySpecUserParameters": null,
69                 "id": null
70               },
71               "id": null
72             },
73             {
74               "activitySpecId": null,
75               "userParametersId": null,
76               "activitySpec": null,
77               "userParameters": {
78                 "name": "tenantId",
79                 "payloadLocation": "cloudConfiguration",
80                 "label": "Tenant/Project ID",
81                 "type": "text",
82                 "description": null,
83                 "isRequried": true,
84                 "maxLength": 36,
85                 "allowableChars": "someRegEx",
86                 "created": null,
87                 "activitySpecUserParameters": null,
88                 "id": null
89               },
90               "id": null
91             },
92             {
93               "activitySpecId": null,
94               "userParametersId": null,
95               "activitySpec": null,
96               "userParameters": {
97                 "name": "new_software_version",
98                 "payloadLocation": "userParams",
99                 "label": "New Software Version",
100                 "type": "text",
101                 "description": null,
102                 "isRequried": true,
103                 "maxLength": 50,
104                 "allowableChars": "someRegEx",
105                 "created": null,
106                 "activitySpecUserParameters": null,
107                 "id": null
108               },
109               "id": null
110             },
111             {
112               "activitySpecId": null,
113               "userParametersId": null,
114               "activitySpec": null,
115               "userParameters": {
116                 "name": "lcpCloudRegionId",
117                 "payloadLocation": "cloudConfiguration",
118                 "label": "Cloud Region ID",
119                 "type": "text",
120                 "description": null,
121                 "isRequried": true,
122                 "maxLength": 7,
123                 "allowableChars": "someRegEx",
124                 "created": null,
125                 "activitySpecUserParameters": null,
126                 "id": null
127               },
128               "id": null
129             }
130           ],
131           "activitySpecActivitySpecParameters": null,
132           "id": null
133         },
134         "workflow": null,
135         "id": null,
136         "_links": {
137     "self": {
138       "href": "http://localhost:8090/workflow/search/findWorkflowByModelUUID?vnfResourceModelUUID=b5fa707a-f55a-11e7-a796-005056856d52"
139     },    
140     "workflowActivitySpecSequence": {
141       "href": "http://localhost:8090/workflow/b5fa707a-f55a-11e7-a796-005056856d52/workflowActivitySpecSequence"
142     }
143   
144   }
145         
146       },
147       {
148         "activitySpecId": null,
149         "workflowId": null,
150         "activitySpec": {
151           "name": "VNFHealthCheckActivity",
152           "description": "Activity to HealthCheck VNF",
153           "version": null,
154           "created": null,
155           "workflowActivitySpecSequence": null,
156           "activitySpecActivitySpecCategories": null,
157           "activitySpecUserParameters": [
158             {
159               "activitySpecId": null,
160               "userParametersId": null,
161               "activitySpec": null,
162               "userParameters": {
163                 "name": "operations_timeout",
164                 "payloadLocation": "userParams",
165                 "label": "Operations Timeout",
166                 "type": "text",
167                 "description": null,
168                 "isRequried": true,
169                 "maxLength": 50,
170                 "allowableChars": "someRegEx",
171                 "created": null,
172                 "activitySpecUserParameters": null,
173                 "id": null
174               },
175               "id": null
176             },
177             {
178               "activitySpecId": null,
179               "userParametersId": null,
180               "activitySpec": null,
181               "userParameters": {
182                 "name": "existing_software_version",
183                 "payloadLocation": "userParams",
184                 "label": "Existing Software Version",
185                 "type": "text",
186                 "description": null,
187                 "isRequried": true,
188                 "maxLength": 50,
189                 "allowableChars": "someRegEx",
190                 "created": null,
191                 "activitySpecUserParameters": null,
192                 "id": null
193               },
194               "id": null
195             },
196             {
197               "activitySpecId": null,
198               "userParametersId": null,
199               "activitySpec": null,
200               "userParameters": {
201                 "name": "cloudOwner",
202                 "payloadLocation": "cloudConfiguration",
203                 "label": "Cloud Owner",
204                 "type": "text",
205                 "description": null,
206                 "isRequried": true,
207                 "maxLength": 7,
208                 "allowableChars": "someRegEx",
209                 "created": null,
210                 "activitySpecUserParameters": null,
211                 "id": null
212               },
213               "id": null
214             },
215             {
216               "activitySpecId": null,
217               "userParametersId": null,
218               "activitySpec": null,
219               "userParameters": {
220                 "name": "tenantId",
221                 "payloadLocation": "cloudConfiguration",
222                 "label": "Tenant/Project ID",
223                 "type": "text",
224                 "description": null,
225                 "isRequried": true,
226                 "maxLength": 36,
227                 "allowableChars": "someRegEx",
228                 "created": null,
229                 "activitySpecUserParameters": null,
230                 "id": null
231               },
232               "id": null
233             },
234             {
235               "activitySpecId": null,
236               "userParametersId": null,
237               "activitySpec": null,
238               "userParameters": {
239                 "name": "new_software_version",
240                 "payloadLocation": "userParams",
241                 "label": "New Software Version",
242                 "type": "text",
243                 "description": null,
244                 "isRequried": true,
245                 "maxLength": 50,
246                 "allowableChars": "someRegEx",
247                 "created": null,
248                 "activitySpecUserParameters": null,
249                 "id": null
250               },
251               "id": null
252             },
253             {
254               "activitySpecId": null,
255               "userParametersId": null,
256               "activitySpec": null,
257               "userParameters": {
258                 "name": "lcpCloudRegionId",
259                 "payloadLocation": "cloudConfiguration",
260                 "label": "Cloud Region ID",
261                 "type": "text",
262                 "description": null,
263                 "isRequried": true,
264                 "maxLength": 7,
265                 "allowableChars": "someRegEx",
266                 "created": null,
267                 "activitySpecUserParameters": null,
268                 "id": null
269               },
270               "id": null
271             }
272           ],
273           "activitySpecActivitySpecParameters": null,
274           "id": null
275         },
276         "workflow": null,
277         "id": null,
278         "_links": {
279     "self": {
280       "href": "http://localhost:8090/workflow/search/findWorkflowByModelUUID?vnfResourceModelUUID=b5fa707a-f55a-11e7-a796-005056856d52"
281     },    
282     "workflowActivitySpecSequence": {
283       "href": "http://localhost:8090/workflow/b5fa707a-f55a-11e7-a796-005056856d52/workflowActivitySpecSequence"
284     }
285   
286   }
287       },
288       {
289         "activitySpecId": null,
290         "workflowId": null,
291         "activitySpec": {
292           "name": "FlowCompleteActivity",
293           "description": "Activity to Complete the BPMN Flow",
294           "version": null,
295           "created": null,
296           "workflowActivitySpecSequence": null,
297           "activitySpecActivitySpecCategories": null,
298           "activitySpecUserParameters": [
299             {
300               "activitySpecId": null,
301               "userParametersId": null,
302               "activitySpec": null,
303               "userParameters": {
304                 "name": "operations_timeout",
305                 "payloadLocation": "userParams",
306                 "label": "Operations Timeout",
307                 "type": "text",
308                 "description": null,
309                 "isRequried": true,
310                 "maxLength": 50,
311                 "allowableChars": "someRegEx",
312                 "created": null,
313                 "activitySpecUserParameters": null,
314                 "id": null
315               },
316               "id": null
317             },
318             {
319               "activitySpecId": null,
320               "userParametersId": null,
321               "activitySpec": null,
322               "userParameters": {
323                 "name": "existing_software_version",
324                 "payloadLocation": "userParams",
325                 "label": "Existing Software Version",
326                 "type": "text",
327                 "description": null,
328                 "isRequried": true,
329                 "maxLength": 50,
330                 "allowableChars": "someRegEx",
331                 "created": null,
332                 "activitySpecUserParameters": null,
333                 "id": null
334               },
335               "id": null
336             },
337             {
338               "activitySpecId": null,
339               "userParametersId": null,
340               "activitySpec": null,
341               "userParameters": {
342                 "name": "cloudOwner",
343                 "payloadLocation": "cloudConfiguration",
344                 "label": "Cloud Owner",
345                 "type": "text",
346                 "description": null,
347                 "isRequried": true,
348                 "maxLength": 7,
349                 "allowableChars": "someRegEx",
350                 "created": null,
351                 "activitySpecUserParameters": null,
352                 "id": null
353               },
354               "id": null
355             },
356             {
357               "activitySpecId": null,
358               "userParametersId": null,
359               "activitySpec": null,
360               "userParameters": {
361                 "name": "tenantId",
362                 "payloadLocation": "cloudConfiguration",
363                 "label": "Tenant/Project ID",
364                 "type": "text",
365                 "description": null,
366                 "isRequried": true,
367                 "maxLength": 36,
368                 "allowableChars": "someRegEx",
369                 "created": null,
370                 "activitySpecUserParameters": null,
371                 "id": null
372               },
373               "id": null
374             },
375             {
376               "activitySpecId": null,
377               "userParametersId": null,
378               "activitySpec": null,
379               "userParameters": {
380                 "name": "new_software_version",
381                 "payloadLocation": "userParams",
382                 "label": "New Software Version",
383                 "type": "text",
384                 "description": null,
385                 "isRequried": true,
386                 "maxLength": 50,
387                 "allowableChars": "someRegEx",
388                 "created": null,
389                 "activitySpecUserParameters": null,
390                 "id": null
391               },
392               "id": null
393             },
394             {
395               "activitySpecId": null,
396               "userParametersId": null,
397               "activitySpec": null,
398               "userParameters": {
399                 "name": "lcpCloudRegionId",
400                 "payloadLocation": "cloudConfiguration",
401                 "label": "Cloud Region ID",
402                 "type": "text",
403                 "description": null,
404                 "isRequried": true,
405                 "maxLength": 7,
406                 "allowableChars": "someRegEx",
407                 "created": null,
408                 "activitySpecUserParameters": null,
409                 "id": null
410               },
411               "id": null
412             }
413           ],
414           "activitySpecActivitySpecParameters": null,
415           "id": null
416         },
417         "workflow": null,
418         "id": null,
419         "_links": {
420     "self": {
421       "href": "http://localhost:8090/workflow/search/findWorkflowByModelUUID?vnfResourceModelUUID=b5fa707a-f55a-11e7-a796-005056856d52"
422     },    
423     "workflowActivitySpecSequence": {
424       "href": "http://localhost:8090/workflow/b5fa707a-f55a-11e7-a796-005056856d52/workflowActivitySpecSequence"
425     }
426   
427   }
428       }
429     ]
430   
431 }
432 }