Skip to content

Commit 0510207

Browse files
authored
Merge pull request #3157 from actiontech/global_data_export_sqle_ce
chore(workflow): update status enum values in workflow definitions to…
2 parents 9dcfff4 + bc236a5 commit 0510207

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

sqle/api/controller/v1/workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ type WorkflowDetailResV1 struct {
698698
CreateTime *time.Time `json:"create_time"`
699699
CurrentStepType string `json:"current_step_type,omitempty" enums:"sql_review,sql_execute"`
700700
CurrentStepAssigneeUser []string `json:"current_step_assignee_user_name_list,omitempty"`
701-
Status string `json:"status" enums:"wait_for_audit,wait_for_execution,rejected,canceled,exec_failed,executing,finished"`
701+
Status string `json:"status" enums:"wait_for_audit,wait_for_approve,wait_for_execution,wait_for_export,rejected,canceled,cancel,exec_failed,failed,executing,exporting,finished,finish"`
702702
InstanceInfo []InstanceInfo `json:"instance_info,omitempty"`
703703
}
704704

sqle/docs/docs.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21340,12 +21340,18 @@ var doc = `{
2134021340
"type": "string",
2134121341
"enum": [
2134221342
"wait_for_audit",
21343+
"wait_for_approve",
2134321344
"wait_for_execution",
21345+
"wait_for_export",
2134421346
"rejected",
2134521347
"canceled",
21348+
"cancel",
2134621349
"exec_failed",
21350+
"failed",
2134721351
"executing",
21348-
"finished"
21352+
"exporting",
21353+
"finished",
21354+
"finish"
2134921355
]
2135021356
},
2135121357
"workflow_id": {

sqle/docs/swagger.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21324,12 +21324,18 @@
2132421324
"type": "string",
2132521325
"enum": [
2132621326
"wait_for_audit",
21327+
"wait_for_approve",
2132721328
"wait_for_execution",
21329+
"wait_for_export",
2132821330
"rejected",
2132921331
"canceled",
21332+
"cancel",
2133021333
"exec_failed",
21334+
"failed",
2133121335
"executing",
21332-
"finished"
21336+
"exporting",
21337+
"finished",
21338+
"finish"
2133321339
]
2133421340
},
2133521341
"workflow_id": {

sqle/docs/swagger.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5684,12 +5684,18 @@ definitions:
56845684
status:
56855685
enum:
56865686
- wait_for_audit
5687+
- wait_for_approve
56875688
- wait_for_execution
5689+
- wait_for_export
56885690
- rejected
56895691
- canceled
5692+
- cancel
56905693
- exec_failed
5694+
- failed
56915695
- executing
5696+
- exporting
56925697
- finished
5698+
- finish
56935699
type: string
56945700
workflow_id:
56955701
type: string

0 commit comments

Comments
 (0)