Files
meldestelle/docs/clients/visionen/MP-27.md
T
stefan 114236c8d9 feat(MP-27): backend consolidation, gateway routing & service dockerfiles
Summary
- Backend Services (Entries, Results, Scheduling) haben Dockerfiles.
- Docker Compose Orchestrierung steht (DB + Gateway + Services).
- Gateway Routing für `entries-service` implementiert (StripPrefix, Path Rewrites).
- Health-Checks und 409-Conflict-Demo Endpunkt verifiziert.

Verification
- `docker compose up --build` -> Success
- `curl http://localhost:8081/api/entries` -> 200 OK (routed through Gateway)

Ref: MP-27
2025-12-08 11:39:43 +01:00

19 lines
971 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Epic 7: BackendKonsolidierung Services & Gateway
- Zusammenfassung: Services domänenspezifisch schneiden, Gateway verankern, Compose lauffähig
- Beschreibung:
- Ziel: Minimales, aber kohärentes Backend gemäß Zielstruktur startfähig via Docker Compose.
- Services (erste Iteration):
- `entries-service` (Nennungen/Validierung),
- `results-service` (Ergebnisse),
- `scheduling-service` (Zeit/Abteilungen),
- plus `gateway` (Auth/Routing).
- Anforderungen:
- Pro Service eigener `Dockerfile` im ServiceOrdner.
- Mindestens ein Endpunkt pro Service (Stub akzeptabel), 409Konfliktpfad im `entries-service`.
- Compose: DB + Gateway + `entries-service` startbar.
- Definition of Done (DoD):
- `docker/docker-compose.yml` gestartet → Services erreichbar (Health/HTTP 200/StubDaten).
- Endpoint für 409Konflikt getestet (z. B. Postman/HTTPTest dokumentiert).
- Gateway leitet Requests korrekt weiter.