S-19b-1 · Objecten publishes to NRC (broker, worker, kanaal, notifications config) #152

Closed
opened 2026-08-14 09:43:25 +00:00 by not · 0 comments
Contributor

Split from #150 (S-19b), CLAUDE.md §13. First of two.

Outcome: a write to the Objecten API produces a delivered notification on the objecten kanaal in Open Notificaties. S-19a (#149) set NOTIFICATIONS_DISABLED: "true" for Objecten deliberately — there was no broker, worker, kanaal or abonnement, and wiring only the client side would have dropped every message on the floor (ADR-0028). This slice builds the real path and turns it back on.

Needs, at minimum:

  • CELERY_BROKER_URL / CELERY_RESULT_BACKEND on the objecten env (objecten-redis already exists but is cache-only)
  • an objecten-celery worker container, mirroring oz-celery
  • an NRC service + JWT credential in infra/objecten/setup_configuration/data.yaml, plus its notifications_config step
  • an objecten kanaal in infra/opennotificaties/setup_configuration/data.yaml
  • NOTIFICATIONS_DISABLED: "false" in both compose files
  • a verify-objecten-notifications check: write a RegisterRecord, assert the notification reaches a sink

Out of scope: the Event Subscriber consuming it and the projection re-source (S-19b-2). The ACL's write path is unchanged.

Definition of Done

  • Failing test/verify committed first; implementation makes it 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).
Split from #150 (S-19b), CLAUDE.md §13. First of two. **Outcome:** a write to the Objecten API produces a **delivered** notification on the `objecten` kanaal in Open Notificaties. S-19a (#149) set `NOTIFICATIONS_DISABLED: "true"` for Objecten deliberately — there was no broker, worker, kanaal or abonnement, and wiring only the client side would have dropped every message on the floor (ADR-0028). This slice builds the real path and turns it back on. Needs, at minimum: - `CELERY_BROKER_URL` / `CELERY_RESULT_BACKEND` on the objecten env (objecten-redis already exists but is cache-only) - an `objecten-celery` worker container, mirroring `oz-celery` - an NRC service + JWT credential in `infra/objecten/setup_configuration/data.yaml`, plus its `notifications_config` step - an `objecten` kanaal in `infra/opennotificaties/setup_configuration/data.yaml` - `NOTIFICATIONS_DISABLED: "false"` in both compose files - a `verify-objecten-notifications` check: write a RegisterRecord, assert the notification reaches a sink **Out of scope:** the Event Subscriber consuming it and the projection re-source (S-19b-2). The ACL's write path is unchanged. ## Definition of Done - [ ] Failing test/verify committed first; implementation makes it 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`).
not added this to the Iteration 4 — Objecten milestone 2026-08-14 09:43:25 +00:00
not added the area:infratype:slice labels 2026-08-14 09:43:25 +00:00
not closed this issue 2026-08-28 10:11:55 +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#152