File tree Expand file tree Collapse file tree 8 files changed +374
-0
lines changed Expand file tree Collapse file tree 8 files changed +374
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ properties:
35
35
- $ref : ../../steps/common/dbops-liquibase-command-step-node.yaml
36
36
- $ref : ../../steps/common/files-upload-step-node.yaml
37
37
- $ref : ../../steps/custom/event-listener-step-node.yaml
38
+ - $ref : ../../steps/common/db-schema-update-sql-step-node.yaml
39
+ - $ref : ../../steps/common/db-schema-rollback-sql-step-node.yaml
38
40
stepGroup :
39
41
$ref : step-group-element-config.yaml
40
42
description :
Original file line number Diff line number Diff line change @@ -182,6 +182,8 @@ properties:
182
182
- $ref : ../../steps/cd/stand-alone-traffic-shift-rollback-step-node.yaml
183
183
- $ref : ../../steps/cd/elastigroup-blue-green-traffic-shift-step-node.yaml
184
184
- $ref : ../../steps/ci/s3-upload-node.yaml
185
+ - $ref : ../../steps/common/db-schema-update-sql-step-node.yaml
186
+ - $ref : ../../steps/common/db-schema-rollback-sql-step-node.yaml
185
187
186
188
stepGroup :
187
189
$ref : step-group-element-config.yaml
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ properties:
74
74
- $ref : ../../steps/custom/event-listener-step-node.yaml
75
75
- $ref : ../../steps/cd/helm-delete-step-node.yaml
76
76
- $ref : ../../steps/ci/s3-upload-node.yaml
77
+ - $ref : ../../steps/common/db-schema-update-sql-step-node.yaml
78
+ - $ref : ../../steps/common/db-schema-rollback-sql-step-node.yaml
77
79
78
80
stepGroup :
79
81
$ref : step-group-element-config.yaml
Original file line number Diff line number Diff line change
1
+ title : DBSchemaRollbackSQLInfo
2
+ allOf :
3
+ - $ref : ../../common/step-spec-type.yaml
4
+ - type : object
5
+ required :
6
+ - connectorRef
7
+ - dbInstance
8
+ - dbSchema
9
+ oneOf :
10
+ - required : [tag]
11
+ not :
12
+ required : [changeSetCount]
13
+ - required : [changeSetCount]
14
+ not :
15
+ required : [tag]
16
+ properties :
17
+ dbInstance :
18
+ type : string
19
+ dbSchema :
20
+ type : string
21
+ connectorRef :
22
+ type : string
23
+ globalSettings :
24
+ type : object
25
+ additionalProperties :
26
+ type : string
27
+ tag :
28
+ type : string
29
+ minLength : 1
30
+ changeSetCount :
31
+ type : integer
32
+ minimum : 1
33
+ delegateSelectors :
34
+ oneOf :
35
+ - type : array
36
+ items :
37
+ type : string
38
+ - type : string
39
+ pattern : (<\+.+>.*)
40
+ minLength : 1
41
+ envVariables :
42
+ oneOf :
43
+ - type : object
44
+ additionalProperties :
45
+ type : string
46
+ - type : string
47
+ image :
48
+ type : string
49
+ imagePullPolicy :
50
+ oneOf :
51
+ - type : string
52
+ enum :
53
+ - Always
54
+ - Never
55
+ - IfNotPresent
56
+ - type : string
57
+ pattern : (<\+.+>.*)
58
+ minLength : 1
59
+ privileged :
60
+ oneOf :
61
+ - type : boolean
62
+ - type : string
63
+ pattern : ^<\+input>((\.)((executionInput\(\))|(allowedValues|selectOneFrom|default|regex)\(.+?\)))*$
64
+ minLength : 1
65
+ resources :
66
+ $ref : ../../common/container-resource.yaml
67
+ runAsUser :
68
+ oneOf :
69
+ - type : integer
70
+ format : int32
71
+ - type : string
72
+ $schema : http://json-schema.org/draft-07/schema#
73
+ type : object
74
+ required :
75
+ - connectorRef
76
+ - dbInstance
77
+ - dbSchema
78
+ oneOf :
79
+ - required : [tag]
80
+ not :
81
+ required : [changeSetCount]
82
+ - required : [changeSetCount]
83
+ not :
84
+ required : [tag]
85
+ properties :
86
+ dbInstance :
87
+ type : string
88
+ dbSchema :
89
+ type : string
90
+ connectorRef :
91
+ type : string
92
+ tag :
93
+ type : string
94
+ minLength : 1
95
+ changeSetCount :
96
+ type : integer
97
+ minimum : 1
98
+ delegateSelectors :
99
+ oneOf :
100
+ - type : array
101
+ items :
102
+ type : string
103
+ - type : string
104
+ pattern : (<\+.+>.*)
105
+ minLength : 1
106
+ envVariables :
107
+ oneOf :
108
+ - type : object
109
+ additionalProperties :
110
+ type : string
111
+ - type : string
112
+ image :
113
+ type : string
114
+ imagePullPolicy :
115
+ oneOf :
116
+ - type : string
117
+ enum :
118
+ - Always
119
+ - Never
120
+ - IfNotPresent
121
+ - type : string
122
+ pattern : (<\+.+>.*)
123
+ minLength : 1
124
+ privileged :
125
+ oneOf :
126
+ - type : boolean
127
+ - type : string
128
+ pattern : ^<\+input>((\.)((executionInput\(\))|(allowedValues|selectOneFrom|default|regex)\(.+?\)))*$
129
+ minLength : 1
130
+ resources :
131
+ $ref : ../../common/container-resource.yaml
132
+ runAsUser :
133
+ oneOf :
134
+ - type : integer
135
+ format : int32
136
+ - type : string
137
+ description :
138
+ desc : This is the description for DBSchemaRollbackSQLInfo
Original file line number Diff line number Diff line change
1
+ title : DBSchemaRollbackSQLNode
2
+ type : object
3
+ required :
4
+ - identifier
5
+ - name
6
+ - type
7
+ properties :
8
+ description :
9
+ type : string
10
+ desc : This is the description for DBSchemaRollbackSQLNode
11
+ enforce :
12
+ $ref : ../../common/policy-config.yaml
13
+ failureStrategies :
14
+ oneOf :
15
+ - type : array
16
+ items :
17
+ $ref : ../../common/db-devops-failure-strategy-config.yaml
18
+ - type : string
19
+ pattern : ^<\+input>$
20
+ minLength : 1
21
+ identifier :
22
+ type : string
23
+ pattern : ^[a-zA-Z_][0-9a-zA-Z_]{0,127}$
24
+ name :
25
+ type : string
26
+ pattern : ^[a-zA-Z_0-9-.][-0-9a-zA-Z_\s.]{0,127}$
27
+ strategy :
28
+ oneOf :
29
+ - $ref : ../../common/strategy-config.yaml
30
+ - type : string
31
+ pattern : ^<\+input>$
32
+ minLength : 1
33
+ timeout :
34
+ type : string
35
+ pattern : ^(([1-9])+\d+[s])|(((([1-9])+\d*[mhwd])+([\s]?\d+[smhwd])*)|(.*<\+.*>(?!.*\.executionInput\(\)).*)|(^$))$
36
+ type :
37
+ type : string
38
+ enum :
39
+ - DBSchemaRollbackSQL
40
+ when :
41
+ oneOf :
42
+ - $ref : ../../common/step-when-condition.yaml
43
+ - type : string
44
+ pattern : ^<\+input>$
45
+ minLength : 1
46
+ $schema : http://json-schema.org/draft-07/schema#
47
+ allOf :
48
+ - if :
49
+ properties :
50
+ type :
51
+ const : DBSchemaRollbackSQL
52
+ then :
53
+ properties :
54
+ spec :
55
+ $ref : db-schema-rollback-sql-step-info.yaml
Original file line number Diff line number Diff line change
1
+ title : DBSchemaUpdateSQLInfo
2
+ allOf :
3
+ - $ref : ../../common/step-spec-type.yaml
4
+ - type : object
5
+ required :
6
+ - connectorRef
7
+ - dbSchema
8
+ - dbInstance
9
+ properties :
10
+ dbInstance :
11
+ type : string
12
+ dbSchema :
13
+ type : string
14
+ connectorRef :
15
+ type : string
16
+ settings :
17
+ oneOf :
18
+ - type : object
19
+ additionalProperties :
20
+ type : string
21
+ - type : string
22
+ delegateSelectors :
23
+ oneOf :
24
+ - type : array
25
+ items :
26
+ type : string
27
+ - type : string
28
+ pattern : (<\+.+>.*)
29
+ minLength : 1
30
+ envVariables :
31
+ oneOf :
32
+ - type : object
33
+ additionalProperties :
34
+ type : string
35
+ - type : string
36
+ image :
37
+ type : string
38
+ imagePullPolicy :
39
+ oneOf :
40
+ - type : string
41
+ enum :
42
+ - Always
43
+ - Never
44
+ - IfNotPresent
45
+ - type : string
46
+ pattern : (<\+.+>.*)
47
+ minLength : 1
48
+ privileged :
49
+ oneOf :
50
+ - type : boolean
51
+ - type : string
52
+ pattern : ^<\+input>((\.)((executionInput\(\))|(allowedValues|selectOneFrom|default|regex)\(.+?\)))*$
53
+ minLength : 1
54
+ resources :
55
+ $ref : ../../common/container-resource.yaml
56
+ runAsUser :
57
+ oneOf :
58
+ - type : integer
59
+ format : int32
60
+ - type : string
61
+ $schema : http://json-schema.org/draft-07/schema#
62
+ type : object
63
+ required :
64
+ - connectorRef
65
+ - dbSchema
66
+ - dbInstance
67
+ properties :
68
+ dbInstance :
69
+ type : string
70
+ dbSchema :
71
+ type : string
72
+ connectorRef :
73
+ type : string
74
+ settings :
75
+ oneOf :
76
+ - $ref : ../../common/parameter-field-map-string-json-node.yaml
77
+ - type : string
78
+ delegateSelectors :
79
+ oneOf :
80
+ - type : array
81
+ items :
82
+ type : string
83
+ - type : string
84
+ pattern : (<\+.+>.*)
85
+ minLength : 1
86
+ envVariables :
87
+ oneOf :
88
+ - type : object
89
+ additionalProperties :
90
+ type : string
91
+ - type : string
92
+ image :
93
+ type : string
94
+ imagePullPolicy :
95
+ oneOf :
96
+ - type : string
97
+ enum :
98
+ - Always
99
+ - Never
100
+ - IfNotPresent
101
+ - type : string
102
+ pattern : (<\+.+>.*)
103
+ minLength : 1
104
+ privileged :
105
+ oneOf :
106
+ - type : boolean
107
+ - type : string
108
+ pattern : ^<\+input>((\.)((executionInput\(\))|(allowedValues|selectOneFrom|default|regex)\(.+?\)))*$
109
+ minLength : 1
110
+ resources :
111
+ $ref : ../../common/container-resource.yaml
112
+ runAsUser :
113
+ oneOf :
114
+ - type : integer
115
+ format : int32
116
+ - type : string
117
+ description :
118
+ desc : This is the description for DBSchemaUpdateSQLInfo
Original file line number Diff line number Diff line change
1
+ title : DBSchemaUpdateSQLNode
2
+ type : object
3
+ required :
4
+ - identifier
5
+ - name
6
+ - type
7
+ properties :
8
+ description :
9
+ type : string
10
+ desc : This is the description for DBSchemaUpdateSQLNode
11
+ enforce :
12
+ $ref : ../../common/policy-config.yaml
13
+ failureStrategies :
14
+ oneOf :
15
+ - type : array
16
+ items :
17
+ $ref : ../../common/db-devops-failure-strategy-config.yaml
18
+ - type : string
19
+ pattern : ^<\+input>$
20
+ minLength : 1
21
+ identifier :
22
+ type : string
23
+ pattern : ^[a-zA-Z_][0-9a-zA-Z_]{0,127}$
24
+ name :
25
+ type : string
26
+ pattern : ^[a-zA-Z_0-9-.][-0-9a-zA-Z_\s.]{0,127}$
27
+ strategy :
28
+ oneOf :
29
+ - $ref : ../../common/strategy-config.yaml
30
+ - type : string
31
+ pattern : ^<\+input>$
32
+ minLength : 1
33
+ timeout :
34
+ type : string
35
+ pattern : ^(([1-9])+\d+[s])|(((([1-9])+\d*[mhwd])+([\s]?\d+[smhwd])*)|(.*<\+.*>(?!.*\.executionInput\(\)).*)|(^$))$
36
+ type :
37
+ type : string
38
+ enum :
39
+ - DBSchemaUpdateSQL
40
+ when :
41
+ oneOf :
42
+ - $ref : ../../common/step-when-condition.yaml
43
+ - type : string
44
+ pattern : ^<\+input>$
45
+ minLength : 1
46
+ $schema : http://json-schema.org/draft-07/schema#
47
+ allOf :
48
+ - if :
49
+ properties :
50
+ type :
51
+ const : DBSchemaUpdateSQL
52
+ then :
53
+ properties :
54
+ spec :
55
+ $ref : db-schema-update-sql-step-info.yaml
You can’t perform that action at this time.
0 commit comments