test(grpc-data): opt-in H2 history profile for the standalone rig (SqlServer historian overlay, history seed grants, probe HistoryRead, smoke runner)

This commit is contained in:
Joseph Doherty
2026-11-23 23:13:31 -05:00
parent abc6a1b068
commit eb29360d47
6 changed files with 344 additions and 11 deletions
@@ -0,0 +1,21 @@
# H2 remote-history smoke overlay (opt-in: `rig.py up --history`). Adds a SqlServer historian backend
# and continuous historization to the SOURCE pair, and selects the seeder's history profile. The
# historian schema (`hist`, auto-created) lives in the run's own SQL container, beside the config DB.
# Without this file the rig is the unchanged v1 fixture.
x-source-history-env: &source-history-env
ServerHistorian__Enabled: "true"
ServerHistorian__Backend: SqlServer
ServerHistorian__SqlServer__ConnectionString: "Server=sql,1433;Database=OtOpcUa;User Id=sa;Password=${GRPC_DATA_SQL_PASSWORD:?generated SQL password required};TrustServerCertificate=True;Encrypt=False"
ContinuousHistorization__Enabled: "true"
ContinuousHistorization__OutboxPath: /app/data/historization-outbox
ContinuousHistorization__DrainIntervalSeconds: "1"
services:
seeder:
environment:
GRPC_DATA_HISTORY: "1"
source-1:
environment: *source-history-env
source-2:
environment: *source-history-env