chore(core): flatten Historian sub-namespace to Core.Abstractions root
v2-ci / build (pull_request) Successful in 4m32s
v2-ci / unit-tests (pull_request) Failing after 10m2s

Four continuous-historization types (IHistorizationOutbox, HistorizationOutboxEntry,
IHistorianValueWriter/HistorizationValue, HistorizationCommitMode) drifted into a
ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian sub-namespace while the other six files
in the same folder correctly use the root namespace. This violated decision #59's
flat-public-surface rule and left InterfaceIndependenceTests.AllPublicTypes_LiveInRootNamespace
red on master (pre-existing, predates round-2 remediation).

Move all four to the root namespace and drop/retarget the now-redundant
'using ...Core.Abstractions.Historian;' in the ~11 consumers. No behavioral change.

Verified: Core.Abstractions.Tests 129/129 (was 128/129), Runtime.Tests Historian+DI 72/72,
Gateway driver unit 102/102, full solution build 0 errors.
This commit is contained in:
Joseph Doherty
2026-07-13 18:29:01 -04:00
parent e4c7c8ab6d
commit 56ddf45e1c
15 changed files with 11 additions and 15 deletions
@@ -1,4 +1,4 @@
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian;
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions;
/// <summary>
/// Per-append durability cadence for the historization outbox. Local to the OtOpcUa abstraction
@@ -1,4 +1,4 @@
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian;
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions;
/// <summary>
/// One durable record buffered by the continuous-historization outbox before it is written to
@@ -1,4 +1,4 @@
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian;
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions;
/// <summary>
/// One numeric sample the continuous-historization recorder drains to the historian's SQL
@@ -1,4 +1,4 @@
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian;
namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions;
/// <summary>
/// Durable, crash-safe FIFO buffer the continuous-historization recorder appends sampled values