docs(grpc-data): Gateway origin remote history verified live (H01–H08 vs real AVEVA, read-only) — drop the unverified wording (#923)
This commit is contained in:
@@ -139,6 +139,31 @@ primary. The continuation scenarios use the CLI's hand-paged mode (`--page-size`
|
||||
(`originAccounting.historyOpenContinuations`). Every scenario restores the baseline. Results:
|
||||
`evidence/H3-history-<backend>-results.json`.
|
||||
|
||||
### Gateway origin backend (#923, needs the VPN to the AVEVA historian)
|
||||
|
||||
`--history-backend gateway` points SOURCE at a **host-run, read-only** HistorianGateway (not run-owned; start it first) through
|
||||
`http://host.docker.internal:<port>` — the only non-run-owned endpoint the allowlist admits, and only under
|
||||
`ServerHistorian__Endpoint`. The gateway must run with `ApiKeys:Mode=Disabled`, `Historian:LiveWritesEnabled=false`,
|
||||
`RuntimeDb:Enabled=false`, ports bound to `127.0.0.1` (the 2026-11-28 run used a scratch compose project `zb-historiangw-923` from a
|
||||
fresh `dotnet publish` of `historiangw` main, gRPC on `127.0.0.1:5231`). The seeder binds the historized tags `historianReadOnly`
|
||||
to existing historian tags (`GRPC_DATA_HISTORY_GATEWAY_TAGS`, default `counter=SysTimeSec,flt=SysDataAcqOverallItemsPerSec,text=SysString`);
|
||||
provisioning and continuous historization are off. `GRPC_DATA_HISTORY_GATEWAY_ENDPOINT` overrides the default
|
||||
`http://host.docker.internal:5231`.
|
||||
|
||||
```bash
|
||||
python3 scripts/validation/grpc-data/rig.py up --run-id h923-gw --history --history-backend gateway --timeout 900
|
||||
python3 scripts/validation/grpc-data/rig.py seed --run-id h923-gw
|
||||
sleep 75
|
||||
python3 scripts/validation/grpc-data/rig.py deploy --run-id h923-gw --timeout 300
|
||||
python3 scripts/validation/grpc-data/history_gate.py --run-id h923-gw # H01..H07 (H07 = reverse + end-only, gateway only)
|
||||
# restart the gateway with Historian__ReadLimits__MaxValuesCeiling=40 and __AllowStreamingBeyondCeiling=false, then:
|
||||
python3 scripts/validation/grpc-data/history_gate.py --run-id h923-gw --scenario H08 --gateway-ceiling 40
|
||||
python3 scripts/validation/grpc-data/rig.py down --run-id h923-gw
|
||||
```
|
||||
|
||||
On the gateway the window is a fixed 120 s of the recent past (nothing is accumulated). H08 re-reads the window and answers the
|
||||
previous full run stored in `evidence/H-gateway-baseline.json`, so run it after a full run on the same run id.
|
||||
|
||||
## Scenario authoring and node probes
|
||||
|
||||
The seeder is available through `LocalRig.seed_helper(action, *arguments)`. Its
|
||||
|
||||
Reference in New Issue
Block a user