feat(cli): browse/search/verify-endpoint/cert-trust commands — actor parity (arch-review C4)

Claude-Session: https://claude.ai/code/session_01MtdgwpEeCUn6cUA5f1LMPj
This commit is contained in:
Joseph Doherty
2026-07-10 05:51:49 -04:00
parent d8a39f3c35
commit 433c6db4ec
5 changed files with 522 additions and 1 deletions
+17
View File
@@ -173,6 +173,23 @@ scadabridge data-connection update --id <id> --name <name> --protocol <protocol>
scadabridge data-connection delete --id <id>
```
#### Site-routed OPC UA operations (browse / search / verify-endpoint / certs)
CLI parity for the site-routed data-connection operations the ManagementActor dispatches
(arch-review C4). Each carries `--site` so the management API routes it to the target
site cluster. `browse`/`search`/`verify-endpoint` require the **Designer** role; `certs`
require **Admin**. `verify-endpoint` reads `ConfigJson` verbatim from `--config-file`;
`certs trust` base64-encodes `--der-file`.
```
scadabridge data-connection browse --site <identifier> --connection <name> [--node-id <nodeId>]
scadabridge data-connection search --site <identifier> --connection <name> --query <text> [--max-depth <n>] [--max-results <n>]
scadabridge data-connection verify-endpoint --site <identifier> --protocol <protocol> --config-file <path> [--connection <name>]
scadabridge data-connection certs list --site <identifier> [--connection <name>]
scadabridge data-connection certs trust --site <identifier> --connection <name> --der-file <path> --thumbprint <hex>
scadabridge data-connection certs remove --site <identifier> --thumbprint <hex> [--connection <name>]
```
### External System Commands
```
scadabridge external-system list