Group all 69 projects into category subfolders under src/ and tests/ so the Rider Solution Explorer mirrors the module structure. Folders: Core, Server, Drivers (with a nested Driver CLIs subfolder), Client, Tooling. - Move every project folder on disk with git mv (history preserved as renames). - Recompute relative paths in 57 .csproj files: cross-category ProjectReferences, the lib/ HintPath+None refs in Driver.Historian.Wonderware, and the external mxaccessgw refs in Driver.Galaxy and its test project. - Rebuild ZB.MOM.WW.OtOpcUa.slnx with nested solution folders. - Re-prefix project paths in functional scripts (e2e, compliance, smoke SQL, integration, install). Build green (0 errors); unit tests pass. Docs left for a separate pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
# FOCAS simulator — focas-mock JSON/TCP + native FOCAS2 Ethernet server.
|
|
#
|
|
# The image is built from the vendored focas-mock snapshot at ./focas-mock/
|
|
# (see focas-mock/VENDORED.md for refresh procedure).
|
|
#
|
|
# Usage:
|
|
# docker compose -f Docker/docker-compose.yml up -d --wait
|
|
# docker compose -f Docker/docker-compose.yml down
|
|
#
|
|
# One service, one container — the mock's native FOCAS Ethernet responder
|
|
# auto-detects the binary PDU prefix (`a0 a0 a0 a0`) on the same TCP port
|
|
# that serves JSON admin commands. Tests that need per-series behaviour
|
|
# call `mock_load_profile` via the fixture's admin API at test start.
|
|
# The pre-wire-client era had one compose profile per CNC series; that
|
|
# ceremony is gone because the managed wire client doesn't depend on a
|
|
# per-series shim DLL.
|
|
|
|
services:
|
|
focas-sim:
|
|
image: otopcua-focas-sim:latest
|
|
build:
|
|
context: ./focas-mock
|
|
dockerfile: Dockerfile
|
|
container_name: otopcua-focas-sim
|
|
ports:
|
|
- "8193:8193"
|
|
restart: "no"
|
|
command: ["--profile", "FWLIB64"]
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "python -c \"import socket; s=socket.create_connection(('127.0.0.1',8193),timeout=2); s.close()\" || exit 1"]
|
|
interval: 10s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 5s
|