Captures uncommitted work that lived in the working tree on
v2-mxgw-integration but was orthogonal to the migration. Stashed
during the v2-mxgw merge to master (2026-04-30) and replanted here on
a feature branch off master so it's git-visible rather than living in
the stash list.
Two distinct buckets:
1. Tracked fixture/config refinements (10 files, ~36 lines):
- scripts/e2e/test-opcuaclient.ps1
- src/ZB.MOM.WW.OtOpcUa.Admin/appsettings.json
- 5 docker-compose.yml under tests/.../IntegrationTests/Docker/
(AbCip, Modbus, OpcUaClient, S7)
- 4 fixture .cs files (AbServerFixture, ModbusSimulatorFixture,
OpcPlcFixture, Snap7ServerFixture)
2. Untracked driver-gaps queue artifacts (~8000 lines):
- docs/plans/{abcip,ablegacy,focas,opcuaclient,s7,twincat}-plan.md
— per-driver gap plans
- docs/featuregaps.md — cross-cutting analysis
- docs/v2/focas-deployment.md, docs/v2/implementation/focas-simulator-plan.md
- followup.md — auto/driver-gaps queue follow-ups
- scripts/queue/ — PR-queue automation tooling (12 files including
pr-manifest.yaml at 1473 lines)
This commit is a snapshot for recoverability — review and split into
focused PRs (or discard) before merging anywhere downstream.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
48 lines
2.2 KiB
YAML
48 lines
2.2 KiB
YAML
# opc-plc — OPC UA PLC simulator from Microsoft Industrial IoT.
|
|
# https://github.com/Azure-Samples/iot-edge-opc-plc
|
|
#
|
|
# Why pinned: MCR tags only go forward; keeping the suite reproducible means
|
|
# we test against a known feature surface. Bump deliberately alongside a
|
|
# driver-side change that needs the newer image.
|
|
services:
|
|
opc-plc:
|
|
image: mcr.microsoft.com/iotedge/opc-plc:2.14.10
|
|
container_name: otopcua-opc-plc
|
|
labels:
|
|
project: lmxopcua
|
|
restart: "no"
|
|
ports:
|
|
- "50000:50000"
|
|
command:
|
|
# --pn: Bind port 50000 (opc-plc default; matches fixture default)
|
|
# --ut: Advertise an Unsecured transport endpoint (SecurityPolicy=None).
|
|
# Tests that need signed/encrypted endpoints pick those off the
|
|
# negotiated endpoint list separately — opc-plc always advertises
|
|
# the secure policies even with --ut on.
|
|
# --aa: Auto-accept client certs. Tests wouldn't otherwise survive the
|
|
# first contact because opc-plc's cert trust store lives inside
|
|
# the container + resets each spin-up.
|
|
# --daa: Disable anonymous auth — forces the driver to go through the
|
|
# Anonymous user-token policy negotiation rather than opc-plc's
|
|
# "no auth required" short-circuit. Would flip to username/cert
|
|
# if we needed that coverage.
|
|
# Commented out for first-pass smoke; flip on when the cert-auth
|
|
# and username-auth smoke tests land.
|
|
# --alm: Turn on alarm simulation (TripAlarm / ExclusiveDeviation /
|
|
# NonExclusiveLevel / DialogCondition). Closes the IAlarmSource
|
|
# gap the OpcUaClient-Test-Fixture doc calls out.
|
|
- "--pn=50000"
|
|
- "--ut"
|
|
- "--aa"
|
|
- "--alm"
|
|
# - "--daa"
|
|
healthcheck:
|
|
# opc-plc doesn't expose an HTTP health endpoint by default; use a TCP
|
|
# probe via a shell the base image ships with. The fixture does its own
|
|
# TCP probe but healthcheck surfaces status in `docker ps` for humans.
|
|
test: ["CMD-SHELL", "netstat -an | grep -q ':50000.*LISTEN' || exit 1"]
|
|
interval: 5s
|
|
timeout: 2s
|
|
retries: 10
|
|
start_period: 10s
|