Merge "Add sending create request to VNFM"
[so.git] / mso-api-handlers / mso-api-handler-infra / src / test / resources / __files / WorkflowSpecifications.json
1 {
2   "workflowSpecificationList": [
3     {
4       "workflowSpecification": {
5         "artifactInfo": {
6           "artifactType": "workflow",
7           "artifactUuid": "ab6478e4-ea33-3346-ac12-ab121484a333",
8           "artifactName": "inPlaceSoftwareUpdate-1_0.bpmn",
9           "artifactVersion": "1.0",
10           "artifactDescription": "xyz xyz",
11           "workflowName": "inPlaceSoftwareUpdate",
12           "operationName": "inPlaceSoftwareUpdate",
13           "workflowSource": "sdc",
14           "workflowResourceTarget": "vnf"
15         },
16         "activitySequence": [
17           {
18             "name": "VNFQuiesceTrafficActivity",
19             "description": "Activity to QuiesceTraffic on VNF"
20           },
21           {
22             "name": "VNFHealthCheckActivity",
23             "description": "Activity to HealthCheck VNF"
24           },
25           {
26             "name": "FlowCompleteActivity",
27             "description": "Activity to Complete the BPMN Flow"
28           }
29         ],
30         "workflowInputParameters": [
31           {
32             "label": "Cloud Owner",
33             "inputType": "text",
34             "required": true,
35             "validation": [
36               {
37                 "maxLength": "7",
38                 "allowableChars": "someRegEx"
39               }
40             ],
41             "soFieldName": "cloudOwner",
42             "soPayloadLocation": "cloudConfiguration"
43           },
44           {
45             "label": "Cloud Region ID",
46             "inputType": "text",
47             "required": true,
48             "validation": [
49               {
50                 "maxLength": "7",
51                 "allowableChars": "someRegEx"
52               }
53             ],
54             "soFieldName": "lcpCloudRegionId",
55             "soPayloadLocation": "cloudConfiguration"
56           },
57           {
58             "label": "Tenant/Project ID",
59             "inputType": "text",
60             "required": true,
61             "validation": [
62               {
63                 "maxLength": "36",
64                 "allowableChars": "someRegEx"
65               }
66             ],
67             "soFieldName": "tenantId",
68             "soPayloadLocation": "cloudConfiguration"
69           },
70           {
71             "label": "Operations Timeout",
72             "inputType": "text",
73             "required": true,
74             "validation": [
75               {
76                 "maxLength": "50",
77                 "allowableChars": "someRegEx"
78               }
79             ],
80             "soFieldName": "operations_timeout",
81             "soPayloadLocation": "userParams"
82           },
83           {
84             "label": "Existing Software Version",
85             "inputType": "text",
86             "required": true,
87             "validation": [
88               {
89                 "maxLength": "50",
90                 "allowableChars": "someRegEx"
91               }
92             ],
93             "soFieldName": "existing_software_version",
94             "soPayloadLocation": "userParams"
95           },
96           {
97             "label": "New Software Version",
98             "inputType": "text",
99             "required": true,
100             "validation": [
101               {
102                 "maxLength": "50",
103                 "allowableChars": "someRegEx"
104               }
105             ],
106             "soFieldName": "new_software_version",
107             "soPayloadLocation": "userParams"
108           }
109         ]
110       }
111     },
112     {
113       "workflowSpecification": {}
114     }
115   ]
116 }