feat: add immutable partitioned data publication hub

This commit is contained in:
Joseph Doherty
2026-11-16 01:13:10 -05:00
parent b2249ce2cb
commit 8f28a0eabf
47 changed files with 6184 additions and 173 deletions
@@ -149,8 +149,9 @@ public sealed class MTConnectObservationIndexTests
var snap = idx.Get("dev1_pos");
snap.SourceTimestampUtc.ShouldBe(new DateTime(2026, 7, 24, 12, 0, 0, 200, DateTimeKind.Utc));
snap.ServerTimestampUtc.ShouldBeGreaterThan(snap.SourceTimestampUtc!.Value);
snap.ServerTimestampUtc.Kind.ShouldBe(DateTimeKind.Utc);
snap.ServerTimestampUtc.ShouldNotBeNull();
snap.ServerTimestampUtc!.Value.ShouldBeGreaterThan(snap.SourceTimestampUtc!.Value);
snap.ServerTimestampUtc!.Value.Kind.ShouldBe(DateTimeKind.Utc);
}
/// <summary>A Float64-authored SAMPLE coerces to a real double, not the raw text.</summary>
@@ -89,8 +89,9 @@ public sealed class OpcUaClientSdkValueBoundaryTests
snapshot.Value?.GetType().ShouldBe(expected?.GetType());
snapshot.StatusCode.ShouldBe(StatusCodes.UncertainLastUsableValue.Code);
snapshot.SourceTimestampUtc.ShouldBeNull();
snapshot.ServerTimestampUtc.ShouldBeGreaterThanOrEqualTo(before);
snapshot.ServerTimestampUtc.Kind.ShouldBe(DateTimeKind.Utc);
snapshot.ServerTimestampUtc.ShouldNotBeNull();
snapshot.ServerTimestampUtc!.Value.ShouldBeGreaterThanOrEqualTo(before);
snapshot.ServerTimestampUtc!.Value.Kind.ShouldBe(DateTimeKind.Utc);
}
[Theory]