Update project configuration and dependencies - Added .mypy_cache and .cursor to .gitignore. - Changed asyncio_default_fixture_loop_scope and asyncio_default_test_loop_scope to "session" in pyproject.toml. - Updated e2e testing dependencies in requirements-dev.txt, replacing fakeredis and mongomock with pytest-httpserver. - Updated requirements.txt to use sientia_do instead of a specific git commit. - Modified sonar-project.properties to remove a file from coverage exclusions. - Enhanced E2E test fixtures in e2e/conftest.py for better container management. - Cleaned up e2e test files related to CoreScouter and PIWebAPIScouter workflows.
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"workflow_input": {
|
|
"topic": "e2e-topic",
|
|
"model_id": "2",
|
|
"model_name": "Scouter Incremental",
|
|
"schedule_name": "scouter-incremental",
|
|
"trigger_laborious": false,
|
|
"filters": {},
|
|
"schema": "sientia_data",
|
|
"table_name": "laborious_data",
|
|
"retention_time": 3600,
|
|
"fill_missing_tags": false,
|
|
"model_tags": {
|
|
"tag1": {
|
|
"webid": "webid1",
|
|
"aggr_func": "avg",
|
|
"data_range": [0, 100],
|
|
"frequency": 60000
|
|
}
|
|
}
|
|
},
|
|
"redis_seed": {
|
|
"last_data_timestamp": "2024-06-01 10:00:00.000000+0000"
|
|
},
|
|
"raw_documents": [
|
|
{
|
|
"inserted_at": "2024-06-01 09:00:00.000000+0000",
|
|
"timestamp": "2024-06-01 09:00:00+0000",
|
|
"name": "tag1",
|
|
"value": 1.0,
|
|
"tag": "webid1"
|
|
},
|
|
{
|
|
"inserted_at": "2024-06-01 11:00:00.000000+0000",
|
|
"timestamp": "2024-06-01 11:00:00+0000",
|
|
"name": "tag1",
|
|
"value": 99.0,
|
|
"tag": "webid1"
|
|
}
|
|
],
|
|
"expected_newer_count": 1,
|
|
"expected_last_timestamp": "2024-06-01 11:00:00.000000+0000"
|
|
}
|