Add unit tests for orchestrator activities and workflows - Implement tests for Activities class, covering initialization and prepare_activity method. - Create tests for Couchbase class, including successful and failed query loading. - Add tests for SlotManager class, verifying OPC slot loading and active ingestor retrieval. - Develop tests for TemporalManager class, focusing on schedule loading functionality. - Introduce tests for Orchestrator class, ensuring proper execution of workflow activities. - Establish a new test suite for orchestrator activities and workflows in the tests directory.
35 lines
876 B
JSON
35 lines
876 B
JSON
{
|
|
"models": {
|
|
"1": {
|
|
"name": "Demo Model-Demo2"
|
|
}
|
|
},
|
|
"pipelines": {
|
|
"1": {
|
|
"name": "scouter-opcua-pipeline",
|
|
"model_id": 1,
|
|
"workflow_type": "scouter",
|
|
"frequency": "5s",
|
|
"max_retry_policy": 1,
|
|
|
|
"read_tags": [
|
|
{
|
|
"tag_name": "Counter",
|
|
"aggr_func": "avg",
|
|
"data_range": [-100, 100]
|
|
}
|
|
],
|
|
"filters": [
|
|
{
|
|
"filter_name": "OUT_OF_BOUNDS_FILTER",
|
|
"policy": "DISCARD"
|
|
},
|
|
{
|
|
"filter_name": "NULL_VALUES_FILTER",
|
|
"policy": "DISCARD"
|
|
}
|
|
],
|
|
"tag_retention_minutes": 60
|
|
}
|
|
}
|
|
} |