docs(grpc-data): H3 OPC UA HistoryRead on projected nodes; rig H3 gate recipe
This commit is contained in:
@@ -93,6 +93,32 @@ the consumer's connection and exports, and seeds a second principal `fixture-noh
|
||||
the probe's `--scenario history` origin RPCs, the CLI `historyread` and the CONSUMER `history` node-probe operation, and checks
|
||||
value parity. Without `--history` the rig, the seed and every D-scenario are unchanged.
|
||||
|
||||
## H3 projected-history gate (opt-in)
|
||||
|
||||
`rig.py up --run-id <id> --history [--history-backend sqlserver|questdb]` — `questdb` layers `compose.history.questdb.yml`:
|
||||
SOURCE historizes into a run-owned QuestDB container (labelled, removed by `down`) instead of the run's SQL container. The H3
|
||||
seed profile also: grants HistoryRead on both mappings; gives the CLI principal its CONSUMER HistoryRead **only** through
|
||||
`RemoteNamespaceMapping`-scoped grants (`cli-history-map-raw|uns`; the cluster grant is `Admin` minus HistoryRead); historizes
|
||||
`text` (a String node, for the per-type aggregate refusal); and accepts the mutation
|
||||
`acl_permissions: {node_acl_id, permission_flags}` (one ACL row's flags; the baseline restore reverts it).
|
||||
|
||||
```bash
|
||||
python3 scripts/validation/grpc-data/rig.py up --run-id h3-sql --history --timeout 900
|
||||
python3 scripts/validation/grpc-data/rig.py seed --run-id h3-sql
|
||||
sleep 75 # CONTROL's ClusterNode contact refresh before the first deploy
|
||||
python3 scripts/validation/grpc-data/rig.py deploy --run-id h3-sql --timeout 300
|
||||
python3 scripts/validation/grpc-data/history_gate.py --run-id h3-sql # H01..H06, or --scenario H04
|
||||
python3 scripts/validation/grpc-data/rig.py down --run-id h3-sql
|
||||
```
|
||||
|
||||
`history_gate.py` accumulates `counter` history, resolves the projected NodeIds by a CLI `browse` from the shared root
|
||||
(leaves under the `remote-source` anchors; never constructed `p1.` ids), then runs each `scenarios.json` →
|
||||
`history_scenarios` row through the Client CLI `historyread` on CONSUMER and compares with the same read on the SOURCE
|
||||
primary. The continuation scenarios use the CLI's hand-paged mode (`--page-size`, `--pause-after-page`,
|
||||
`--abandon-after-page`, `--held-marker-file`); the origin's open continuations come from the `topology` node probe
|
||||
(`originAccounting.historyOpenContinuations`). Every scenario restores the baseline. Results:
|
||||
`evidence/H3-history-<backend>-results.json`.
|
||||
|
||||
## Scenario authoring and node probes
|
||||
|
||||
The seeder is available through `LocalRig.seed_helper(action, *arguments)`. Its
|
||||
|
||||
Reference in New Issue
Block a user