32 lines
1.5 KiB
YAML
32 lines
1.5 KiB
YAML
# A2a condition-streaming smoke overlay (opt-in: `rig.py up --conditions`). Selects the seeder's conditions profile:
|
|
# SOURCE exports gain AlarmSubscribe and the SOURCE equipment gets one scripted alarm (`ScalarHigh`, scalar > 100).
|
|
# The dev DataConnections__ConditionKeySecret is already set on both source services in compose.yml.
|
|
# Without this file the rig is the unchanged v1 fixture.
|
|
#
|
|
# A4 live scenarios: a RUN-OWNED opc-plc `--alm` simulator (`opcplc`, same pinned image as the OpcUaClient integration
|
|
# fixture, tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.IntegrationTests/Docker/docker-compose.yml) for the SOURCE
|
|
# OpcUaClient driver's native alarm. Run-owned rather than the shared 10.100.0.35:50000 fixture because (a) the rig's
|
|
# endpoint guard admits only run-owned service DNS (implementation plan: "validate resolved compose/seed has no shared-host
|
|
# endpoints") and (b) the scenarios acknowledge/comment upstream conditions, which must not leak into a shared simulator.
|
|
# It carries the run labels, so `rig.py down` removes it with everything else. No published port.
|
|
|
|
x-labels: &labels
|
|
otopcua.grpc-data.run: ${GRPC_DATA_RUN_ID:?run id required}
|
|
otopcua.grpc-data.fixture: "v1"
|
|
|
|
services:
|
|
seeder:
|
|
environment:
|
|
GRPC_DATA_CONDITIONS: "1"
|
|
opcplc:
|
|
image: mcr.microsoft.com/iotedge/opc-plc:2.14.10
|
|
labels: *labels
|
|
networks: [rig]
|
|
command: ["--pn=50000", "--ut", "--aa", "--alm"]
|
|
source-1:
|
|
depends_on:
|
|
opcplc: {condition: service_started}
|
|
source-2:
|
|
depends_on:
|
|
opcplc: {condition: service_started}
|