Skip to content

Commit

Permalink
97: Update all usages of SDK to latest one, change orchestrator confi…
Browse files Browse the repository at this point in the history
…g by removing any test workers and fixing the parameters expected for simulator workflow.
  • Loading branch information
lfse-slafleur committed Sep 11, 2024
1 parent e928099 commit 200462f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 36 deletions.
6 changes: 6 additions & 0 deletions config/workflow_config_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
Expand Down
39 changes: 5 additions & 34 deletions config/workflow_config_nwn.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,48 +17,19 @@
},
{
"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"
},
{
"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"
}
]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion example_sdk_client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
omotes_sdk_python==3.0.0
omotes_sdk_python==3.1.0
2 changes: 1 addition & 1 deletion system_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 200462f

Please sign in to comment.