Fix B2a: Contact.Tests verwees nog naar Api.SlpSoftware; nu echt naar de master-Api. OpenAPI-snapshot: 3 regels (assemblynaam in titel/tags), geen pad of schema gewijzigd

Eerder gemeld als byte-identiek: dat klopte niet, de projectreferentie was bij B2a niet aangepast.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 20:57:17 +01:00
co-authored by Claude Sonnet 5.5
parent 352f84b860
commit c7f0e97478
4 changed files with 22 additions and 5 deletions
@@ -20,7 +20,7 @@
|---|---|
| Website mode | `Website:Mode` (`SpaFallback` default, `PrerenderedPages`) from configuration (`CmsHostOptions.ResolveWebsiteMode`, decided once as `WebsiteModeSelection`). An unknown value stops the host. ASF sets `PrerenderedPages` in its own `appsettings.json`; no site chooses a mode in code. |
| Master host | `SlpModularCms.Api` references all modules and has generic defaults for Website, Email, App, Contact and RateLimiting. |
| Tests | The ASF test project is gone (18 tests moved, none lost). Site composition and committed defaults: `Api.Tests/SiteContractTests` (reads each site's csproj and appsettings.json, no build of the site). Site behaviour: the master host run with a site's committed settings on top (`AsfVariantPipelineTests`, `SiteVariantContactTests`). Contact pipeline tests and the OpenAPI snapshot run on the master `Api` (snapshot unchanged). |
| Tests | The ASF test project is gone (18 tests moved, none lost). Site composition and committed defaults: `Api.Tests/SiteContractTests` (reads each site's csproj and appsettings.json, no build of the site). Site behaviour: the master host run with a site's committed settings on top (`AsfVariantPipelineTests`, `SiteVariantContactTests`). Contact pipeline tests and the OpenAPI snapshot run on the master `Api` (`Contact.Tests` references `SlpModularCms.Api`, not a site project). The snapshot changed in exactly three lines: the document title and two tag/assembly names went from `SlpModularCms.Api.SlpSoftware` to `SlpModularCms.Api` (the names come from the host assembly); no path or schema changed. |
| CI | `backend-build`/`backend-test` use `SlpModularCms.Ci.slnf` (no site projects). `publish-sls-test` no longer runs on pull requests. `compile-sites` (not required) compiles the three site projects. After each test deploy `smoke-sls-test` / `smoke-asf-test` run `scripts/smoke-site.sh`. |
| Branch protection | Required checks on `master`: `backend-test (pull_request)` and `frontend-test (pull_request)` only; the old `publish-test (pull_request)` requirement must be removed before the merge (see `docs/deploy-en-testomgevingen.md`). |