feat(kpi): K4 — KpiHistoryRecorderActor (best-effort sampling + daily purge)

This commit is contained in:
Joseph Doherty
2026-06-17 20:06:09 -04:00
parent 76f5ed72e4
commit 9c2e7ab4cb
4 changed files with 531 additions and 0 deletions
@@ -8,6 +8,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Akka" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Options" />
@@ -18,4 +19,11 @@
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.Commons/ZB.MOM.WW.ScadaBridge.Commons.csproj" />
</ItemGroup>
<ItemGroup>
<!-- K4: expose the actor's internal tick messages (SampleTick/PurgeTick) so the
recorder's TestKit tests can drive ticks deterministically. Mirrors the
NotificationOutbox InternalsVisibleTo pattern. -->
<InternalsVisibleTo Include="ZB.MOM.WW.ScadaBridge.KpiHistory.Tests" />
</ItemGroup>
</Project>