Files
lmxopcua/scripts/validation/grpc-data/compose.history.questdb.yml
T
Joseph Doherty 8341c7f4ae test(grpc-data): H3 live gate harness (H01-H06, SqlServer and QuestDB origins)
rig.py up --history --history-backend questdb adds a run-owned QuestDB for the
SOURCE historian. History seed profile: mappings grant HistoryRead, the CLI
principal's CONSUMER HistoryRead comes only from mapping-scoped grants, text is
historized (per-type aggregate refusal), new acl_permissions mutation.
history_gate.py drives H01-H06 through the Client CLI on projected NodeIds
resolved by browse from the mapping anchor, compares with the origin, and
restores the baseline after every scenario. The node probe reports the
origin's open history continuations (LocalDataServices.HistoryOpenContinuations,
now public).
2026-11-24 00:42:46 -05:00

39 lines
1.4 KiB
YAML

# H3 QuestDB origin backend (opt-in: `rig.py up --history --history-backend questdb`), layered AFTER
# compose.history.yml: the SOURCE pair historizes into a run-owned QuestDB container instead of the run's SQL
# container. Same seed profile, same scenarios. The container and its volume carry the run labels, so
# `rig.py down` removes them with everything else. Image pinned as docker-dev/docker-compose.questdb.yml.
x-labels: &labels
otopcua.grpc-data.run: ${GRPC_DATA_RUN_ID:?run id required}
otopcua.grpc-data.fixture: "v1"
x-source-questdb-env: &source-questdb-env
ServerHistorian__Backend: QuestDb
ServerHistorian__QuestDb__ConnectionString: "Host=questdb;Port=8812;Username=admin;Password=quest;Database=qdb;ServerCompatibilityMode=NoTypeLoading;Maximum Pool Size=16"
ServerHistorian__QuestDb__TablePrefix: hist_
ServerHistorian__QuestDb__AutoCreateSchema: "true"
services:
questdb:
image: questdb/questdb:10.0.1
labels: *labels
networks: [rig]
volumes: [questdb-data:/var/lib/questdb]
healthcheck:
test: ["CMD-SHELL", "curl -fs http://localhost:9003/status || exit 1"]
interval: 5s
timeout: 5s
retries: 24
source-1:
environment: *source-questdb-env
depends_on:
questdb: {condition: service_healthy}
source-2:
environment: *source-questdb-env
depends_on:
questdb: {condition: service_healthy}
volumes:
questdb-data:
labels: *labels