diff --git a/config/workflow_config_example.json b/config/workflow_config_example.json index ae8afc1..351c8ba 100644 --- a/config/workflow_config_example.json +++ b/config/workflow_config_example.json @@ -61,6 +61,12 @@ "parameter_type": "datetime", "key_name": "datetime_example_with_default", "default": "2023-12-31T20:00:00" + }, + { + "parameter_type": "duration", + "key_name": "duration_example_with_default", + "description": "The default is in milliseconds.", + "default": 3000 } ] } diff --git a/config/workflow_config_nwn.json b/config/workflow_config_nwn.json index 7b33ead..653cca9 100644 --- a/config/workflow_config_nwn.json +++ b/config/workflow_config_nwn.json @@ -17,12 +17,12 @@ }, { "workflow_type_name": "simulator", - "workflow_type_description_name": "High fidelity simulator" - }, - { - "workflow_type_name": "test_worker", - "workflow_type_description_name": "Used for testing purposes. Should not be used in production environments.", + "workflow_type_description_name": "High fidelity simulator", "workflow_parameters": [ + { + "parameter_type": "duration", + "key_name": "timestep" + }, { "parameter_type": "datetime", "key_name": "start_time" @@ -30,35 +30,6 @@ { "parameter_type": "datetime", "key_name": "end_time" - }, - { - "parameter_type": "integer", - "key_name": "step_size_in_minutes", - "title": "This will override the 'capitalized, underscore to space', key_name", - "description": "Description/explanation.", - "default": 900, - "minimum": 1, - "maximum": 525600 - }, - { - "parameter_type": "integer", - "key_name": "number_of_steps", - "minimum": 1 - }, - { - "parameter_type": "string", - "key_name": "test_enum", - "description": "How to use enum options", - "enum_options": [ - { - "key_name": "key1", - "display_name": "Display name 1" - }, - { - "key_name": "key2", - "display_name": "Display name 2" - } - ] } ] } diff --git a/example_sdk_client/requirements.txt b/example_sdk_client/requirements.txt index 0ce8a2b..d41fb6c 100644 --- a/example_sdk_client/requirements.txt +++ b/example_sdk_client/requirements.txt @@ -1 +1 @@ -omotes_sdk_python==3.0.0 +omotes_sdk_python==3.1.0 diff --git a/system_tests/requirements.txt b/system_tests/requirements.txt index bf56e04..a3a58af 100644 --- a/system_tests/requirements.txt +++ b/system_tests/requirements.txt @@ -1,4 +1,4 @@ -omotes_sdk_python==3.0.0 +omotes_sdk_python==3.1.0 pytest ~= 8.1.2 pytest-timeout xmltodict ~= 0.13.0