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 @@ - - + +