/
IWorkflowInfo.ts
254 lines (220 loc) · 5.18 KB
/
IWorkflowInfo.ts
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
// get workflow properties object
import { IAutomationStatus } from "./IAutomationStatus";
import { IStepInfo } from "./IStepInfo";
import { IVariableInfo } from "./IVariableInfo";
/**
* Interface for z/OSMF API response.
* @export
* @interface IWorkflowsInfo
*/
export interface IWorkflowInfo {
/**
* Unique workflow name.
* @type {string}
* @memberof IWorkflowInfo
*/
workflowName?: string;
/**
* Unique workflow key generated by z/OSMF.
* @type {string}
* @memberof IWorkflowInfo
*/
workflowKey?: string;
/**
* Description of workflow.
* @type {string}
* @memberof IWorkflowInfo
*/
workflowDescription?: string;
/**
* Short ID that identifies the workflow.
* @type {string}
* @memberof IWorkflowInfo
*/
workflowID?: string;
/**
* Version of the workflow definition file.
* @type {string}
* @memberof IWorkflowInfo
*/
workflowVersion?: string;
/**
* 128bit hash associated with definition file.
* @type {string}
* @memberof IWorkflowInfo
*/
workflowDefinitionFileMD5Value?: string;
/**
* Name of the vendor.
* @type {string}
* @memberof IWorkflowInfo
*/
vendor?: string;
/**
* User ID of the workflow owner.
* @type {string}
* @memberof IWorkflowInfo
*/
owner?: string;
/**
* Full name of z/OS system.
* @type {string}
* @memberof IWorkflowInfo
*/
system?: string;
/**
* Category of workflow.
* @type {string}
* @memberof IWorkflowInfo
*/
category?: string;
/**
* Identifier of product configured via workflow.
* @type {string}
* @memberof IWorkflowInfo
*/
productID?: string;
/**
* Name of the product configured via workflow.
* @type {string}
* @memberof IWorkflowInfo
*/
productName?: string;
/**
* Version of the product configured via workflow.
* @type {string}
* @memberof IWorkflowInfo
*/
productVersion?: string;
/**
* Percentage of the product configured via workflow.
* @type {number}
* @memberof IWorkflowInfo
*/
percentComplete?: number;
/**
* Indicates if workflow can be called by other workflow.
* @type {boolean}
* @memberof IWorkflowInfo
*/
isCallable?: boolean;
/**
* Indicates if workflow steps can run in parallel.
* @type {boolean}
* @memberof IWorkflowInfo
*/
containsParallelSteps?: boolean;
/**
* Restrict a workflow to one instance only.
* @type {string}
* @memberof IWorkflowInfo
*/
scope?: string;
/**
* Current workflow status.
* @type {string}
* @memberof IWorkflowInfo
*/
statusName?: string;
/**
* JOB delete after successfull complete.
* @type {boolean}
* @memberof IWorkflowInfo
*/
deleteCompletedJobs?: boolean;
/**
* Details about most recent start request.
* @type {IAutomationStatus}
* @memberof IWorkflowInfo
*/
automationStatus?: IAutomationStatus;
/**
* Account info in JCL JOB.
* @type {string}
* @memberof IWorkflowInfo
*/
accountInfo?: string;
/**
* JOB statement in JCL JOB.
* @type {string}
* @memberof IWorkflowInfo
*/
jobStatement?: string;
/**
* Uniq identifier for the template.
* @type {string}
* @memberof IWorkflowInfo
*/
templateID?: string;
/**
* Action ID for the action object.
* @type {string}
* @memberof IWorkflowInfo
*/
actionID?: string;
/**
* ID of software service registry.
* @type {string}
* @memberof IWorkflowInfo
*/
registryID?: string;
/**
* ID of software instance parent registry.
* @type {string}
* @memberof IWorkflowInfo
*/
parentRegistryID?: string;
/**
* Template domain ID.
* @type {string}
* @memberof IWorkflowInfo
*/
domainID?: string;
/**
* ID of the tenant in resource pool.
* @type {string}
* @memberof IWorkflowInfo
*/
tenantID?: string;
/**
* Created software instance name.
* @type {string}
* @memberof IWorkflowInfo
*/
softwareServiceInstanceName?: string;
/**
* Name of the template.
* @type {string}
* @memberof IWorkflowInfo
*/
templateName?: string;
/**
* Aray of one or more step-info object.
* @type {IStepInfo[]}
* @memberof IWorkflowInfo
*/
steps?: IStepInfo[];
/**
* Aray of one or more variable-info object.
* @type {IVariableInfo[]}
* @memberof IWorkflowInfo
*/
variables?: IVariableInfo[];
/**
* Workflow's access type.
* @type {IVariableInfo[]}
* @memberof IWorkflowInfo
*/
access?: string;
// softwareType: string;
}