From 424b260fc9fb03c3b85d9b113e52d7bf7f9f308d Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Tue, 30 Jul 2019 09:54:19 +0200 Subject: [PATCH 1/2] [schema][algorithm][3] Split loop in sequential and autonomous variants --- beat/core/schema/algorithm/3.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beat/core/schema/algorithm/3.json b/beat/core/schema/algorithm/3.json index 70482db9..594577f5 100644 --- a/beat/core/schema/algorithm/3.json +++ b/beat/core/schema/algorithm/3.json @@ -143,9 +143,8 @@ "schema_version": { "$ref": "common.json#/definitions/schema_version" }, "api_version": { "$ref": "common.json#/definitions/api_version" }, "type": { - "$comment": "Change enum to const when tools allow v6 json schema", "type": "string", - "enum": ["loop"] + "enum": ["sequential_loop", "autonomous_loop"] } }, -- GitLab From 2b5d60bf3557ee54aa10c8f755edaccf8125eef4 Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Tue, 30 Jul 2019 09:54:42 +0200 Subject: [PATCH 2/2] [test][prefix] Update loop types --- beat/core/test/prefix/algorithms/user/block_input_loop/1.json | 2 +- beat/core/test/prefix/algorithms/user/db_input_loop/1.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beat/core/test/prefix/algorithms/user/block_input_loop/1.json b/beat/core/test/prefix/algorithms/user/block_input_loop/1.json index 4d0953e8..1bac6f3e 100644 --- a/beat/core/test/prefix/algorithms/user/block_input_loop/1.json +++ b/beat/core/test/prefix/algorithms/user/block_input_loop/1.json @@ -2,7 +2,7 @@ "schema_version": 3, "language": "python", "api_version": 2, - "type": "loop", + "type": "autonomous_loop", "groups": [ { "inputs": { diff --git a/beat/core/test/prefix/algorithms/user/db_input_loop/1.json b/beat/core/test/prefix/algorithms/user/db_input_loop/1.json index 4d0953e8..1bac6f3e 100644 --- a/beat/core/test/prefix/algorithms/user/db_input_loop/1.json +++ b/beat/core/test/prefix/algorithms/user/db_input_loop/1.json @@ -2,7 +2,7 @@ "schema_version": 3, "language": "python", "api_version": 2, - "type": "loop", + "type": "autonomous_loop", "groups": [ { "inputs": { -- GitLab