Update application event logging and configuration schemas. Added multiple entries for application start events in application_events.json, updated last_updated and total_entries fields. Adjusted sampling_interval in plc_config.json and removed schema references in dataset and plot schema files for consistency.
This commit is contained in:
parent
e6ccb19fd2
commit
8656b4a6a6
|
@ -10447,8 +10447,22 @@
|
|||
"event_type": "application_started",
|
||||
"message": "Application initialization completed successfully",
|
||||
"details": {}
|
||||
},
|
||||
{
|
||||
"timestamp": "2025-08-13T16:15:02.260572",
|
||||
"level": "info",
|
||||
"event_type": "application_started",
|
||||
"message": "Application initialization completed successfully",
|
||||
"details": {}
|
||||
},
|
||||
{
|
||||
"timestamp": "2025-08-13T16:18:16.148334",
|
||||
"level": "info",
|
||||
"event_type": "application_started",
|
||||
"message": "Application initialization completed successfully",
|
||||
"details": {}
|
||||
}
|
||||
],
|
||||
"last_updated": "2025-08-13T16:02:51.706311",
|
||||
"total_entries": 991
|
||||
"last_updated": "2025-08-13T16:18:16.148334",
|
||||
"total_entries": 993
|
||||
}
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
"plc_config": {
|
||||
"ip": "10.1.33.11",
|
||||
"rack": 0,
|
||||
"slot": 2
|
||||
},
|
||||
"udp_config": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 9870
|
||||
},
|
||||
"sampling_interval": 0.1,
|
||||
"csv_config": {
|
||||
"records_directory": "records",
|
||||
"rotation_enabled": true,
|
||||
"max_size_mb": 1000,
|
||||
"max_days": 30,
|
||||
"max_hours": null,
|
||||
"cleanup_interval_hours": 24,
|
||||
"last_cleanup": "2025-08-13T00:09:19.306354"
|
||||
}
|
||||
"plc_config": {
|
||||
"ip": "10.1.33.11",
|
||||
"rack": 0,
|
||||
"slot": 2
|
||||
},
|
||||
"udp_config": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 9870
|
||||
},
|
||||
"sampling_interval": 0.2,
|
||||
"csv_config": {
|
||||
"records_directory": "records",
|
||||
"rotation_enabled": true,
|
||||
"max_size_mb": 1000,
|
||||
"max_days": 30,
|
||||
"max_hours": null,
|
||||
"cleanup_interval_hours": 24,
|
||||
"last_cleanup": "2025-08-13T00:09:19.306354"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"$id": "dataset-definitions.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"additionalProperties": false,
|
||||
"description": "Schema for dataset definitions (metadata only, no variables)",
|
||||
"properties": {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "dataset-variables.schema.json",
|
||||
"title": "Dataset Variables",
|
||||
"description": "Schema for variables assigned to each dataset",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"$id": "plc.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"additionalProperties": false,
|
||||
"dependencies": {},
|
||||
"description": "Schema to edit plc_config.json",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"$id": "plot-definitions.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"additionalProperties": false,
|
||||
"description": "Schema for plot session definitions (metadata only, no variables)",
|
||||
"properties": {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "plot-variables.schema.json",
|
||||
"title": "Plot Variables",
|
||||
"description": "Schema for variables assigned to each plot session",
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
# Essential APIs to keep:
|
||||
# - /api/status (SSE)
|
||||
# - /api/health
|
||||
# - /api/health
|
||||
# - /api/events
|
||||
# - /api/config/* (schemas and CRUD)
|
||||
# - /api/plc/connect, /api/plc/disconnect
|
||||
|
|
Loading…
Reference in New Issue