From d642b54266afa4cd669a0cb80c75f3d7dd3f8ce4 Mon Sep 17 00:00:00 2001
From: Povilas Versockas
Date: Mon, 16 Dec 2024 16:37:11 +0200
Subject: [PATCH] fix: [TKC-3006] List Executions now contain config (#6080)
---
api/v1/testkube.yaml | 2 ++
pkg/api/v1/testkube/model_test_workflow_execution_summary.go | 1 +
2 files changed, 3 insertions(+)
diff --git a/api/v1/testkube.yaml b/api/v1/testkube.yaml
index 50079b8db75..8cc267bc08a 100644
--- a/api/v1/testkube.yaml
+++ b/api/v1/testkube.yaml
@@ -8282,6 +8282,8 @@ components:
runningContext:
description: running context for the test workflow execution (Pro edition only)
$ref: "#/components/schemas/TestWorkflowRunningContext"
+ config:
+ $ref: "#/components/schemas/TestWorkflowConfigValue"
required:
- id
- name
diff --git a/pkg/api/v1/testkube/model_test_workflow_execution_summary.go b/pkg/api/v1/testkube/model_test_workflow_execution_summary.go
index 92f9868167b..2b80e5db8c9 100644
--- a/pkg/api/v1/testkube/model_test_workflow_execution_summary.go
+++ b/pkg/api/v1/testkube/model_test_workflow_execution_summary.go
@@ -28,4 +28,5 @@ type TestWorkflowExecutionSummary struct {
Workflow *TestWorkflowSummary `json:"workflow"`
Tags map[string]string `json:"tags,omitempty"`
RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"`
+ Config map[string]string `json:"config,omitempty"`
}