feat(bff): placeholder BFF + /health endpoint (closes #28) #34

Merged
eho merged 3 commits from feat/28-bff-health into main 2026-06-03 11:38:09 +00:00
Owner

Implements S-00-a (#28) with TDD.

Red → green:

  • test(bff) — failing xUnit test: GET /health expects 200 + Healthy (fails NotFound).
  • feat(bff) — register ASP.NET Core health checks, map /health; test passes.
  • docs(prd) — correct backend target .NET 9 → 10 (9 is STS/EOL; 10 is current LTS), pinned via global.json.

Verified: dotnet test green (1/1); dotnet run + curl /health200 Healthy.

Scope: minimal Api + Tests (.NET 10, net10.0). No Docker/CI/OIDC — those are S-00-b/c.

closes #28

🤖 Generated with Claude Code

Implements **S-00-a** (#28) with TDD. **Red → green:** - `test(bff)` — failing xUnit test: `GET /health` expects 200 + `Healthy` (fails NotFound). - `feat(bff)` — register ASP.NET Core health checks, map `/health`; test passes. - `docs(prd)` — correct backend target .NET 9 → 10 (9 is STS/EOL; 10 is current LTS), pinned via `global.json`. **Verified:** `dotnet test` green (1/1); `dotnet run` + `curl /health` → `200 Healthy`. **Scope:** minimal `Api` + `Tests` (.NET 10, net10.0). No Docker/CI/OIDC — those are S-00-b/c. closes #28 🤖 Generated with [Claude Code](https://claude.com/claude-code)
eho added 3 commits 2026-06-03 11:36:33 +00:00
Add the BFF Api/Tests skeleton (.NET 10, ASP.NET Core minimal API, xUnit
+ WebApplicationFactory) and a failing test asserting GET /health returns
200 with a Healthy body. The endpoint does not exist yet — the test fails
with NotFound, establishing red before the implementation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Register ASP.NET Core health checks and map GET /health. The endpoint
returns 200 with a "Healthy" body by default, making the red test pass.
Smallest change to go green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The PRD pinned ".NET 9 (LTS at iteration time)", but .NET 9 is STS and
reaches end-of-life around now; the actual LTS at this iteration is .NET
10. The BFF (and the services to follow) target net10.0, pinned via
global.json. Correct the PRD to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
eho merged commit dfbaf7640a into main 2026-06-03 11:38:09 +00:00
Sign in to join this conversation.