Adds SlpModularCms.Api.SlpSoftware and extracts shared CmsHost composition
Continuous Integration / config (pull_request) Successful in 11s
Continuous Integration / changes (pull_request) Successful in 21s
Continuous Integration / backend-build (pull_request) Successful in 6m10s
Continuous Integration / vulnerability-scan (pull_request) Successful in 4m59s
Continuous Integration / frontend-prepare (pull_request) Successful in 1m27s
Continuous Integration / backend-test (pull_request) Failing after 7m48s
Continuous Integration / frontend-build (pull_request) Successful in 2m5s
Continuous Integration / frontend-test (pull_request) Successful in 4m24s
Continuous Integration / frontend-lint (pull_request) Successful in 2m0s
Continuous Integration / publish-test (pull_request) Skipped
Continuous Integration / publish-production (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Skipped

Unit 1 of the slpsoftware-api feature (FR-1/FR-2/FR-3): a new Client project
in the Clients solution folder, intended to eventually become the deployed
API for test.slpsoftware.nl/slpsoftware.nl, hosting the same four modules as
SlpModularCms.Api plus a future Offerings module.

- Extracts SlpModularCms.Api/Program.cs's hosting-pipeline composition into
  SlpModularCms.Core.Hosting.CmsHost (ConfigureServices/ConfigurePipeline),
  shared by both Client projects so they cannot drift apart
- Moves StaticContentExtensions.cs + WebsitePlaceholder.html from Api into
  Core, since CmsHost cannot live in Api but Core cannot depend on Api
- Adds SlpModularCms.Api.SlpSoftware with its own isolated local dev database
  and dev ports (5286/7223, distinct from Api's and Api.Slave's)
- Adds SlpModularCms.Api.Tests with WebApplicationFactory-based pipeline
  regression tests (security headers, health check, SPA fallback, rate
  limiting), scoped to Api per NFR Design
- Adds a frontend dev:slpsoftware pnpm script mirroring dev:slave
- Fixes GlobalExceptionHandler logging routine 401s (e.g. an expired/missing
  refresh token) as unhandled errors -- pre-existing, unrelated to this
  feature's own scope, found while testing the new instance

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FWyStNL2ZsjrS7FLd7xvvN
This commit is contained in:
2026-08-02 01:28:39 +02:00
co-authored by Claude Sonnet 5
parent dcc82cdf62
commit fa389e42ee
51 changed files with 3119 additions and 127 deletions
+30
View File
@@ -30,6 +30,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{77DF
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Clients", "Clients", "{D72703E6-B021-4360-B1EE-0E99999B5899}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SlpModularCms.Api.SlpSoftware", "src\SlpModularCms.Api.SlpSoftware\SlpModularCms.Api.SlpSoftware.csproj", "{9843F0E6-6FC2-4774-B2CD-8B99AB926149}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SlpModularCms.Api.Tests", "src\SlpModularCms.Api.Tests\SlpModularCms.Api.Tests.csproj", "{623A9526-9511-4B3E-957D-0D7E7E3D782B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -160,6 +164,30 @@ Global
{BCBB1ABB-6C22-4F81-BB06-D4FE81B4BED3}.Release|x64.Build.0 = Release|Any CPU
{BCBB1ABB-6C22-4F81-BB06-D4FE81B4BED3}.Release|x86.ActiveCfg = Release|Any CPU
{BCBB1ABB-6C22-4F81-BB06-D4FE81B4BED3}.Release|x86.Build.0 = Release|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Debug|x64.ActiveCfg = Debug|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Debug|x64.Build.0 = Debug|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Debug|x86.ActiveCfg = Debug|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Debug|x86.Build.0 = Debug|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Release|Any CPU.Build.0 = Release|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Release|x64.ActiveCfg = Release|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Release|x64.Build.0 = Release|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Release|x86.ActiveCfg = Release|Any CPU
{9843F0E6-6FC2-4774-B2CD-8B99AB926149}.Release|x86.Build.0 = Release|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Debug|x64.ActiveCfg = Debug|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Debug|x64.Build.0 = Debug|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Debug|x86.ActiveCfg = Debug|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Debug|x86.Build.0 = Debug|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Release|Any CPU.Build.0 = Release|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Release|x64.ActiveCfg = Release|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Release|x64.Build.0 = Release|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Release|x86.ActiveCfg = Release|Any CPU
{623A9526-9511-4B3E-957D-0D7E7E3D782B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -177,5 +205,7 @@ Global
{50951BA1-EC62-49BE-86F5-1CCB76342552} = {77DF6642-7863-4D67-BAEE-217EC2D99894}
{D9F06019-5B34-4D94-8E74-82F378196BDE} = {77DF6642-7863-4D67-BAEE-217EC2D99894}
{BCBB1ABB-6C22-4F81-BB06-D4FE81B4BED3} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{9843F0E6-6FC2-4774-B2CD-8B99AB926149} = {D72703E6-B021-4360-B1EE-0E99999B5899}
{623A9526-9511-4B3E-957D-0D7E7E3D782B} = {2F43D186-C7D5-4AB1-B821-4D595CA2ECB3}
EndGlobalSection
EndGlobal