Joseph Doherty
a9393c8913
test(sms): regression tests for code-review fixes
...
Lock the behaviors changed by the review-fix commit + the security invariants:
- ManagementActorTests: UpdateSms/SmtpConfig now require Administrator (updated the
existing success cases from Designer); + UpdateSmsConfig_WithDesignerRole_Returns
Unauthorized and _WithEmptyAuthToken_PreservesExistingToken regression tests.
- SecretEncryptionTests: SmsConfiguration.AuthToken stored-encrypted round-trip +
null round-trip (AccountSid stays plaintext) — guards ApplySecretColumnEncryption.
- ArtifactDiffTests: CompareSmsConfiguration New/Identical/Modified + the secret
presence-only invariant (value never echoed, presence-flip shows <present> only).
- UpdateCommandContractTests: notification sms update core fields Required, --auth-token optional.
- NotificationListsPageTests: SMS recipient badge shows phone, not "Name <>".
- NotificationOutboxActorDispatchTests: SMS-typed notification routes to the SMS
adapter (StubAdapter.Type made configurable), not the Email adapter.
- NotificationRecipientTests (new): ForEmail/ForSms + public-ctor invariants.
2026-06-19 15:09:47 -04:00
Joseph Doherty
c3501ecd72
feat(sms): complete SmsConfig bundle export/import wiring + GetSmsConfigurationByIdAsync (S10b)
2026-06-19 11:10:39 -04:00
Joseph Doherty
cdfd0ffbd2
feat(sms): Transport recipient PhoneNumber + SmsConfig round-trip (S10)
2026-06-19 10:39:12 -04:00
Joseph Doherty
50d77b07cf
feat(transport): preview diff + required-mapping detection + blockers (M8 C2)
2026-06-18 06:28:47 -04:00
Joseph Doherty
d7dae24355
feat(transport): per-line Myers code diff + site/connection/instance compare (M8 C1, T20)
2026-06-18 06:07:04 -04:00
Joseph Doherty
7e5b1b0275
feat(transport): resolve site/instance export selection + deps (M8 B1)
2026-06-18 05:55:56 -04:00
Joseph Doherty
bb6e883758
feat(transport): serialize site/connection/instance entities<->DTOs (M8 B2)
2026-06-18 05:54:17 -04:00
Joseph Doherty
aefdb9f4b6
feat(transport): manifest summary counts + schemaVersion 1.1 (M8 B3)
2026-06-18 05:52:12 -04:00
Joseph Doherty
0e507052a1
feat(transport): site/connection/instance bundle DTOs (M8 A2)
2026-06-18 05:42:24 -04:00
Joseph Doherty
c1282e06a2
feat(transport): pure Myers LineDiffer helper (M8 A3, T20)
2026-06-18 05:41:10 -04:00
Joseph Doherty
e3d804a1a6
feat(transport): normalize List attribute values to native JSON on import
2026-06-16 17:50:05 -04:00
Joseph Doherty
e7e34b26f1
feat(transport): round-trip ElementDataType for List attributes
...
Add DataType? ElementDataType to TemplateAttributeDto (optional, default null
for backward-compat with old bundles). Map it in both directions in
EntitySerializer (export + FromBundleContent) and in all three
TemplateAttribute construction sites in BundleImporter (BuildTemplate,
SyncTemplateAttributesAsync add-path, and SyncTemplateAttributesAsync
update-path including change-detection). Two new round-trip tests in
EntitySerializerTests confirm List attributes survive export→import and that
old DTOs with null ElementDataType import cleanly.
2026-06-16 15:23:39 -04:00
Joseph Doherty
731cfd3bfc
feat(auth): ScadaBridge TransportExport excludes inbound API keys (re-arch C4; methods-only, import ignores legacy key sections); keys re-issued per environment
2026-06-02 05:06:40 -04:00
Joseph Doherty
c899cb162c
refactor: scrub residual ScadaLink refs → ScadaBridge (env vars, config keys, assembly name, SQL login)
...
Renames the 13 SCADALINK_* runtime env vars → SCADABRIDGE_*, the ScadaLink__
.NET config keys → ScadaBridge__, the stale ScadaLink.Host.exe assembly name
→ ZB.MOM.WW.ScadaBridge.Host.exe, the scadalink_app SQL login → scadabridge_app,
and residual identifiers/comments/docs. Migration records (prior rename
tooling/design, DB-rename helper, this scrub script) carved out.
Adds tools/scrub-scadalink-refs.sh.
2026-05-31 21:50:38 -04:00
Joseph Doherty
7b0b9c7365
refactor: rename ScadaLink → ZB.MOM.WW.ScadaBridge (code + projects + namespaces)
...
Solution + 23 src projects + 26 test projects renamed; folders, csproj,
namespaces, and ScadaLinkDbContext/ScadaBridgeDbContext class updated.
ActorSystem "scadalink" → "scadabridge", Akka seed-node URLs migrated.
SQL roles/logins, LDAP domains, CLI command name, and CLI config dir
(~/.scadalink → ~/.scadabridge) also renamed.
Build green; 5 Host.Tests fail awaiting SQL login rename in next commit.
Pre-existing StaleTagMonitor timing flakes unchanged.
Rename script committed at tools/rename-to-scadabridge.sh.
2026-05-28 09:37:45 -04:00