S-05 · BIG Domain Service skeleton with the Registration aggregate #6

Closed
opened 2026-06-03 09:52:57 +00:00 by eho · 0 comments
Owner

Outcome: A .NET service exposing a single endpoint POST /registrations. The Registration aggregate has a state machine with at minimum INGEDIEND. The service orchestrates: start a Flowable process → external task callback executes the ACL OpenZaak → zaak URL stored on the aggregate.

Acceptance:

  • BDD scenario: "Given a zorgprofessional submits a registration, when the domain service receives it, then a Flowable process is started and a zaak is opened in OpenZaak."
  • Integration test exercises the full path (no real frontend yet).
  • The Workflow Client is the only code that calls Flowable.

Touches: services/domain/, services/acl/ (consumed), tests, ADR for external-task job-worker pattern.

Out of scope: any other use case, documents, decisions.

Definition of Done

  • A linked Gitea issue exists (this one).
  • Failing test written and committed first.
  • Implementation makes the test pass.
  • Refactor commit follows if structure improved.
  • Conventional Commit messages referencing this issue (refs #NN).
  • All Gitea Actions CI jobs green: lint, unit, integration, mutation (ratchet), e2e, container build + push, compose-up smoke test.
  • docker compose up from a fresh clone reaches green health checks within 3 minutes.
  • Docs touched if behaviour, contracts, or operations changed.
  • ADR added in docs/architecture/ if a non-obvious decision was made.
  • Demo note appended to docs/demo-script.md if the slice is user-visible.
  • This issue closed by the merging PR (closes #NN).
**Outcome:** A .NET service exposing a single endpoint `POST /registrations`. The Registration aggregate has a state machine with at minimum `INGEDIEND`. The service orchestrates: start a Flowable process → external task callback executes the ACL `OpenZaak` → zaak URL stored on the aggregate. **Acceptance:** - BDD scenario: "Given a zorgprofessional submits a registration, when the domain service receives it, then a Flowable process is started and a zaak is opened in OpenZaak." - Integration test exercises the full path (no real frontend yet). - The Workflow Client is the only code that calls Flowable. **Touches:** `services/domain/`, `services/acl/` (consumed), tests, ADR for external-task job-worker pattern. **Out of scope:** any other use case, documents, decisions. ## Definition of Done - [ ] A linked Gitea issue exists (this one). - [ ] Failing test written and committed first. - [ ] Implementation makes the test pass. - [ ] Refactor commit follows if structure improved. - [ ] Conventional Commit messages referencing this issue (`refs #NN`). - [ ] All Gitea Actions CI jobs green: lint, unit, integration, mutation (ratchet), e2e, container build + push, compose-up smoke test. - [ ] `docker compose up` from a fresh clone reaches green health checks within 3 minutes. - [ ] Docs touched if behaviour, contracts, or operations changed. - [ ] ADR added in `docs/architecture/` if a non-obvious decision was made. - [ ] Demo note appended to `docs/demo-script.md` if the slice is user-visible. - [ ] This issue closed by the merging PR (`closes #NN`).
eho added this to the Iteration 1 — Walking Skeleton milestone 2026-06-03 09:52:57 +00:00
eho added the area:domaintype:slice labels 2026-06-03 09:52:57 +00:00
not closed this issue 2026-07-01 08:46:22 +00:00
not referenced this issue from a commit 2026-07-01 08:46:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eho/register-referentie#6