You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Backport 2.x] Remove useCase and defaultParams field in WorkflowRequest (#952) (#954)
* Remove useCase and defaultParams field in WorkflowRequest (#952)
* Remove useCase and defaultParams field in WorkflowRequest
Signed-off-by: Junwei Dai <[email protected]>
* Remove useCase and defaultParams field in WorkflowRequest
Signed-off-by: Junwei Dai <[email protected]>
* Removed the constructor that has never been used and tested.
Signed-off-by: Junwei Dai <[email protected]>
---------
Signed-off-by: Junwei Dai <[email protected]>
Co-authored-by: Junwei Dai <[email protected]>
(cherry picked from commit 219aec5)
* Remove useCase and defaultParams field in WorkflowRequest (#952)
* Remove useCase and defaultParams field in WorkflowRequest
Signed-off-by: Junwei Dai <[email protected]>
* Remove useCase and defaultParams field in WorkflowRequest
Signed-off-by: Junwei Dai <[email protected]>
* Removed the constructor that has never been used and tested.
Signed-off-by: Junwei Dai <[email protected]>
---------
Signed-off-by: Junwei Dai <[email protected]>
Co-authored-by: Junwei Dai <[email protected]>
(cherry picked from commit 219aec5)
---------
Signed-off-by: Junwei Dai <[email protected]>
* @param validation flag to indicate if validation is necessary
120
89
* @param provisionOrUpdate provision or updateFields flag. Only one may be true, the presence of update_fields key in map indicates if updating fields, otherwise true means it's provisioning.
121
90
* @param params map of REST path params. If provisionOrUpdate is false, must be an empty map. If update_fields key is present, must be only key.
122
-
* @param useCase default use case given
123
-
* @param defaultParams the params to be used in the substitution based on the default use case.
124
91
* @param reprovision flag to indicate if request is to reprovision
125
92
*/
126
93
publicWorkflowRequest(
@@ -129,8 +96,6 @@ public WorkflowRequest(
129
96
String[] validation,
130
97
booleanprovisionOrUpdate,
131
98
Map<String, String> params,
132
-
StringuseCase,
133
-
Map<String, String> defaultParams,
134
99
booleanreprovision
135
100
) {
136
101
this.workflowId = workflowId;
@@ -142,8 +107,6 @@ public WorkflowRequest(
142
107
thrownewIllegalArgumentException("Params may only be included when provisioning.");
0 commit comments