feat(#13): S-12c-2 — behandel decide → domain + complete workflow task #86
Reference in New Issue
Block a user
Delete Branch "feat/13-behandel-decide"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Second half of S-12c (behandel-portal backend), completing the decision path per ADR-0013:
BeoordeelRegistratienow, after applying the decision (aggregate + ACL for approval), completes the open FlowableBeoordelentask for that registration (found by registrationId) with the besluit, so the workflow advances. No open task → the decision still stands (completes nothing); idempotent.POST /behandel/registrations/{id}/decidebehind the medewerker/behandelaarpolicy, forwardinggoedkeuren/afwijzento the domain. Validates the besluit vocabulary (400 on unknown) without troubling the domain.Behavior: decide is 401 without a token, 403 without the role, 400 for an unknown besluit, 204 (forwarded) for a behandelaar.
This completes the behandel backend. S-12d (the Angular behandel-portal + Playwright e2e) closes umbrella #13 and retires the temporary
/approve.Definition of Done
refs)make unit): domain 79, bff 27, acceptance 9 (acl/event-subscriber unaffected)Part of #13.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.