From de93ec8e73aed4c11a7420d48614985631a59b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ren=C3=A9=20White=20Enciso?= Date: Wed, 25 Feb 2026 14:36:02 -0600 Subject: [PATCH] refactor(thalos-dal): replace cross-repo project references with package references --- docs/dal/package-consumption-baseline.md | 26 ++++++++++++++++++++++++ nuget.config | 8 ++++++++ src/Thalos.DAL/Thalos.DAL.csproj | 4 ++-- 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 docs/dal/package-consumption-baseline.md create mode 100644 nuget.config diff --git a/docs/dal/package-consumption-baseline.md b/docs/dal/package-consumption-baseline.md new file mode 100644 index 0000000..2552213 --- /dev/null +++ b/docs/dal/package-consumption-baseline.md @@ -0,0 +1,26 @@ +# Thalos DAL Package Consumption Baseline + +## Objective + +Remove cross-repo source coupling from `Thalos.DAL` and consume shared contracts through NuGet packages. + +## Applied Baseline + +`Thalos.DAL.csproj` now consumes: + +- `BuildingBlock.Identity.Contracts` `0.1.0-decouple.20260225140619` +- `Core.Blueprint.Common` `0.1.1-decouple.20260225143446` (runtime-enabled baseline) + +## Feed Configuration + +Repository-level `nuget.config` includes: + +- `gitea-org`: `http://192.168.68.156:3000/api/packages/AgileWebs/nuget/index.json` +- `nuget.org` + +Because feed is currently HTTP, `allowInsecureConnections="true"` is required for the Gitea source. + +## Boundary Notes + +- No cross-repo `ProjectReference` remains in `src/Thalos.DAL/Thalos.DAL.csproj`. +- DAL retains technical/provider ownership only. diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000..ec7b2cd --- /dev/null +++ b/nuget.config @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/Thalos.DAL/Thalos.DAL.csproj b/src/Thalos.DAL/Thalos.DAL.csproj index 4eb2668..a73fdda 100644 --- a/src/Thalos.DAL/Thalos.DAL.csproj +++ b/src/Thalos.DAL/Thalos.DAL.csproj @@ -6,7 +6,7 @@ - - + +