From dce2f4cf2f20400c715ab73e4653662dd5cb08c2 Mon Sep 17 00:00:00 2001
From: Povilas Versockas
Date: Thu, 30 May 2024 10:02:00 +0300
Subject: [PATCH] feat: [TKC-2063] add testworkflow delete output command
mapping (#5513)
---
pkg/tcl/cloudtcl/data/testworkflow/commands.go | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/pkg/tcl/cloudtcl/data/testworkflow/commands.go b/pkg/tcl/cloudtcl/data/testworkflow/commands.go
index e89bdfb536b..a91ff0a7156 100644
--- a/pkg/tcl/cloudtcl/data/testworkflow/commands.go
+++ b/pkg/tcl/cloudtcl/data/testworkflow/commands.go
@@ -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 {
@@ -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")
}