From 2e69c63daf400b99ce056965e5c498b08f485c59 Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommy.persson@liu.se>
Date: Fri, 13 Sep 2024 09:01:12 +0200
Subject: [PATCH] Work on demo scenario

---
 config/add_task_to_team_queue.json | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 config/add_task_to_team_queue.json

diff --git a/config/add_task_to_team_queue.json b/config/add_task_to_team_queue.json
new file mode 100644
index 0000000..c44ed48
--- /dev/null
+++ b/config/add_task_to_team_queue.json
@@ -0,0 +1,19 @@
+{
+    "type": "tst node",
+    "key": "add-task-to-team-queue",
+    "status": "released",        
+    "desc": "Add a task to a team queue.",
+    "params": [
+        {"key": "team-name", "type": "string", "desc": "Name of the team to add the task to."},
+        {"key": "task-name", "type": "string", "desc": "Name of the task, only used for info purpose."},
+        {"key": "task-priority", "type": "int32", "desc": "priority for task lower number is higher priority, lowest possible is 1."},
+        {"key": "task-forced-unit", "type": "string", "desc": "forced unit for the task"},
+        {"key": "task-preferred-unit", "type": "string", "desc": "preferred unit for the task"},
+        {"key": "retry-exec-failure", "type": "bool", "desc": "flag", "default": false},
+        {"key": "task-uuid", "type": "string", "desc": "uuid for the task, used to wait for the task to finnish."},
+        {"key": "task-type", "type": "string", "desc": "type for the task, 'json-tst'"},
+        {"key": "task-string", "type": "string", "desc": "defines the task"}],
+    "node-type": "terminal",    
+    "required-params-for-execution": ["team-name", "task-type", "task-string"],
+    "node-resources": []
+}
-- 
GitLab