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