aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/WorkflowSpecifications.json
blob: beca93bd70ae33c64f67bf333c109721d81c0712 (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
{
  "workflowSpecificationList": [
    {
      "workflowSpecification": {
        "artifactInfo": {
          "artifactType": "workflow",
          "artifactUuid": "ab6478e4-ea33-3346-ac12-ab121484a333",
          "artifactName": "inPlaceSoftwareUpdate-1_0.bpmn",
          "artifactVersion": "1.0",
          "artifactDescription": "xyz xyz",
          "workflowName": "inPlaceSoftwareUpdate",
          "operationName": "inPlaceSoftwareUpdate",
          "workflowSource": "sdc",
          "workflowResourceTarget": "vnf"
        },
        "activitySequence": [
          {
            "name": "VNFQuiesceTrafficActivity",
            "description": "Activity to QuiesceTraffic on VNF"
          },
          {
            "name": "VNFHealthCheckActivity",
            "description": "Activity to HealthCheck VNF"
          },
          {
            "name": "FlowCompleteActivity",
            "description": "Activity to Complete the BPMN Flow"
          }
        ],
        "workflowInputParameters": [
          {
            "label": "Cloud Owner",
            "inputType": "text",
            "required": true,
            "validation": [
              {
                "maxLength": "7",
                "allowableChars": "someRegEx"
              }
            ],
            "soFieldName": "cloudOwner",
            "soPayloadLocation": "cloudConfiguration"
          },
          {
            "label": "Cloud Region ID",
            "inputType": "text",
            "required": true,
            "validation": [
              {
                "maxLength": "7",
                "allowableChars": "someRegEx"
              }
            ],
            "soFieldName": "lcpCloudRegionId",
            "soPayloadLocation": "cloudConfiguration"
          },
          {
            "label": "Tenant/Project ID",
            "inputType": "text",
            "required": true,
            "validation": [
              {
                "maxLength": "36",
                "allowableChars": "someRegEx"
              }
            ],
            "soFieldName": "tenantId",
            "soPayloadLocation": "cloudConfiguration"
          },
          {
            "label": "Operations Timeout",
            "inputType": "text",
            "required": true,
            "validation": [
              {
                "maxLength": "50",
                "allowableChars": "someRegEx"
              }
            ],
            "soFieldName": "operations_timeout",
            "soPayloadLocation": "userParams"
          },
          {
            "label": "Existing Software Version",
            "inputType": "text",
            "required": true,
            "validation": [
              {
                "maxLength": "50",
                "allowableChars": "someRegEx"
              }
            ],
            "soFieldName": "existing_software_version",
            "soPayloadLocation": "userParams"
          },
          {
            "label": "New Software Version",
            "inputType": "text",
            "required": true,
            "validation": [
              {
                "maxLength": "50",
                "allowableChars": "someRegEx"
              }
            ],
            "soFieldName": "new_software_version",
            "soPayloadLocation": "userParams"
          }
        ]
      }
    },
    {
      "workflowSpecification": {}
    }
  ]
}