Skip to content

Commit

Permalink
feat: [TKC-2063] add testworkflow delete output command mapping (#5513)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv authored May 30, 2024
1 parent 0784ad4 commit dce2f4c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkg/tcl/cloudtcl/data/testworkflow/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ const (
CmdTestWorkflowExecutionDeleteByWorkflows executor.Command = "workflow_execution_delete_by_workflows"
CmdTestWorkflowExecutionGetWorkflowMetrics executor.Command = "workflow_execution_get_workflow_metrics"

CmdTestWorkflowOutputPresignSaveLog executor.Command = "workflow_output_presign_save_log"
CmdTestWorkflowOutputPresignReadLog executor.Command = "workflow_output_presign_read_log"
CmdTestWorkflowOutputHasLog executor.Command = "workflow_output_has_log"
CmdTestWorkflowOutputPresignSaveLog executor.Command = "workflow_output_presign_save_log"
CmdTestWorkflowOutputPresignReadLog executor.Command = "workflow_output_presign_read_log"
CmdTestWorkflowOutputHasLog executor.Command = "workflow_output_has_log"
CmdTestWorkflowOutputDeleteByTestWorkflow executor.Command = "workflow_output_delete_by_test_workflow"
)

func command(v interface{}) executor.Command {
Expand Down Expand Up @@ -75,6 +76,8 @@ func command(v interface{}) executor.Command {
return CmdTestWorkflowOutputPresignReadLog
case OutputHasLogRequest:
return CmdTestWorkflowOutputHasLog
case ExecutionDeleteOutputByWorkflowRequest:
return CmdTestWorkflowOutputDeleteByTestWorkflow
}
panic("unknown test workflows Cloud request")
}

0 comments on commit dce2f4c

Please sign in to comment.