Skip to content
Snippets Groups Projects
Commit b8439f7e authored by Stefano Borini's avatar Stefano Borini
Browse files

Bumped version support down

parent 50fda425
No related branches found
No related tags found
1 merge request!115Introduced multilayer computation
...@@ -45,7 +45,7 @@ class TestWorkflowWriter(unittest.TestCase): ...@@ -45,7 +45,7 @@ class TestWorkflowWriter(unittest.TestCase):
self.assertIn("version", result) self.assertIn("version", result)
self.assertIn("workflow", result) self.assertIn("workflow", result)
self.assertIn("mco", result["workflow"]) self.assertIn("mco", result["workflow"])
self.assertIn("data_sources", result["workflow"]) self.assertIn("execution_layers", result["workflow"])
self.assertIn("kpi_calculators", result["workflow"]) self.assertIn("kpi_calculators", result["workflow"])
def test_write_and_read(self): def test_write_and_read(self):
......
...@@ -9,7 +9,7 @@ from ..factory_registry_plugin import IFactoryRegistryPlugin ...@@ -9,7 +9,7 @@ from ..factory_registry_plugin import IFactoryRegistryPlugin
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
SUPPORTED_FILE_VERSIONS = ["1", "2"] SUPPORTED_FILE_VERSIONS = ["1"]
class InvalidFileException(Exception): class InvalidFileException(Exception):
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"version": "1", "version": "1",
"workflow": { "workflow": {
"mco": null, "mco": null,
"data_sources": [ "execution_layers": [
], ],
"kpi_calculators": [ "kpi_calculators": [
], ],
......
...@@ -8,16 +8,18 @@ ...@@ -8,16 +8,18 @@
] ]
} }
}, },
"data_sources": [ "execution_layers": [
{ [
"id": "force.bdss.enthought.factory.test_ds", {
"model_data": { "id": "force.bdss.enthought.factory.test_ds",
"input_slot_maps": [ "model_data": {
], "input_slot_maps": [
"output_slot_names": [ ],
] "output_slot_names": [
]
}
} }
} ]
], ],
"kpi_calculators": [ "kpi_calculators": [
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment