From c1550e95b10e9c2f3e1f18e721afe522babe18b8 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:38:06 -0600 Subject: [PATCH] refactor(furniture-dal): replace cross-repo project references with package references --- .../package-consumption-baseline.md | 26 +++++++++++++++++++ nuget.config | 8 ++++++ src/Furniture.DAL/Furniture.DAL.csproj | 4 +-- 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 docs/architecture/package-consumption-baseline.md create mode 100644 nuget.config diff --git a/docs/architecture/package-consumption-baseline.md b/docs/architecture/package-consumption-baseline.md new file mode 100644 index 0000000..b03dd0f --- /dev/null +++ b/docs/architecture/package-consumption-baseline.md @@ -0,0 +1,26 @@ +# Furniture DAL Package Consumption Baseline + +## Objective + +Remove cross-repo source coupling from `Furniture.DAL` and consume shared contracts through NuGet packages. + +## Applied Baseline + +`Furniture.DAL.csproj` now consumes: + +- `BuildingBlock.Catalog.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/Furniture.DAL/Furniture.DAL.csproj`. +- DAL remains technical/provider-oriented and independent from BFF/Service source coupling. 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/Furniture.DAL/Furniture.DAL.csproj b/src/Furniture.DAL/Furniture.DAL.csproj index ba51331..4dd59a6 100644 --- a/src/Furniture.DAL/Furniture.DAL.csproj +++ b/src/Furniture.DAL/Furniture.DAL.csproj @@ -6,7 +6,7 @@ - - + +