feat(#13): S-12a — beoordeling decision model (domain) #82
Reference in New Issue
Block a user
Delete Branch "feat/13-behandel-decision-model"
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
First sub-slice of S-12 (#13) — the beoordeling decision model in the Domain Service. Foundation for the behandel-portal: it gives the domain a proper decision lifecycle before any UI/Flowable/BFF work.
InBehandelingandAfgewezentoRegistrationStatus.TakeIntoBehandeling()(Ingediend → InBehandeling, idempotent, guards terminal states); generalise the behandelaar decision —Approve()(requires a zaak) and newReject()both act on anIngediend/InBehandelingregistration →Ingeschreven/Afgewezen.BeoordeelRegistratie(goedkeurensets the zaak's final status via the ACL §8.1 →Ingeschreven;afwijzen→Afgewezen, domain-only for now). Idempotent.POST /registrations/{id}/decide({ "besluit": "goedkeuren" | "afwijzen" }), superseding the temporary/approve(retired when the portal lands, S-12d).EenRegistratieBeoordelen.feature— goedkeuren + afwijzen scenarios (feature-scoped bindings).Scoped out to later S-12 sub-slices: Flowable user-task claim/complete + BPMN
userTask(S-12b), BFF/behandel/*+ medewerker authz (S-12c), the Angular behandel-portal + e2e (S-12d), and propagating a rejection to the zaak/projection via the ACL.Definition of Done
refs, does not close)make unit): domain 65, acceptance 9FlowableWorkflowClientbaseline)Part of #13.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.