7370b33186
Task 1 of the Phase 1 adoption plan. Wiring only - no behavior change yet.
- Directory.Packages.props: LocalDb / .Replication / .Contracts @ 0.1.0
- NuGet.config: ZB.MOM.WW.LocalDb + ZB.MOM.WW.LocalDb.* mapped to the
dohertj2-gitea feed (central package management requires explicit mapping)
- SiteRuntime + SiteEventLogging: PackageReference ZB.MOM.WW.LocalDb
- Host: ZB.MOM.WW.LocalDb + ZB.MOM.WW.LocalDb.Replication
Required two prerequisite commits, both landed ahead of this one:
ecf6b628 - AngleSharp pin (pre-existing break; the solution would not build)
4715f2f9 - gRPC 2.71.0 -> 2.76.0 (LocalDb.Replication's nuspec floor)
SQLitePCLRaw stays pinned at 2.1.12 (GHSA-2m69-gcr7-jv3q) - verified intact.
Verified:
dotnet build ZB.MOM.WW.ScadaBridge.slnx -> 0 Error(s), 0 Warning(s)
all three LocalDb packages restored from the Gitea feed
Claude-Session: https://claude.ai/code/session_01BL2Vu1ESDQ9SCN4gVKkdts
58 lines
3.0 KiB
XML
58 lines
3.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Akka" />
|
|
<PackageReference Include="Akka.Cluster" />
|
|
<PackageReference Include="Akka.Cluster.Tools" />
|
|
<PackageReference Include="Akka.Streams" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite" />
|
|
<!-- Security pin: GHSA-2m69-gcr7-jv3q. Microsoft.Data.Sqlite pulls the
|
|
vulnerable native 2.1.11; 2.1.12 patches it. Bumping Sqlite does not help. -->
|
|
<PackageReference Include="SQLitePCLRaw.lib.e_sqlite3" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
|
|
<PackageReference Include="Microsoft.Extensions.Http" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
|
|
<PackageReference Include="Microsoft.Extensions.Options" />
|
|
<PackageReference Include="ZB.MOM.WW.Configuration" />
|
|
<PackageReference Include="ZB.MOM.WW.LocalDb" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="ZB.MOM.WW.ScadaBridge.SiteRuntime.Tests" />
|
|
<!--
|
|
The cross-project
|
|
DatabaseSyncEmissionEndToEndTests construct ScriptRuntimeContext.DatabaseHelper
|
|
directly (it has an internal ctor) so the test can drive the production
|
|
AuditingDbConnection wrapper end-to-end against a real MSSQL central
|
|
AuditLog. Same pattern as ZB.MOM.WW.ScadaBridge.SiteRuntime.Tests.
|
|
-->
|
|
<InternalsVisibleTo Include="ZB.MOM.WW.ScadaBridge.AuditLog.Tests" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.Commons/ZB.MOM.WW.ScadaBridge.Commons.csproj" />
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.Communication/ZB.MOM.WW.ScadaBridge.Communication.csproj" />
|
|
<!--
|
|
T17 / D6: CertStoreActor resolves the OPC UA trusted-peer / rejected store
|
|
paths from OpcUaGlobalOptions (DataConnectionLayer) so a trusted server cert
|
|
lands in the SAME PKI store RealOpcUaClient validates against. DCL does not
|
|
reference SiteRuntime, so this edge introduces no cycle.
|
|
-->
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.DataConnectionLayer/ZB.MOM.WW.ScadaBridge.DataConnectionLayer.csproj" />
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.ScriptAnalysis/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.csproj" />
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.HealthMonitoring/ZB.MOM.WW.ScadaBridge.HealthMonitoring.csproj" />
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.SiteEventLogging/ZB.MOM.WW.ScadaBridge.SiteEventLogging.csproj" />
|
|
<ProjectReference Include="../ZB.MOM.WW.ScadaBridge.StoreAndForward/ZB.MOM.WW.ScadaBridge.StoreAndForward.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|