No description
  • Go 89.7%
  • Makefile 5.7%
  • Dockerfile 2.9%
  • Go Template 1.7%
Find a file
Zamir Amir 3b35204b55
All checks were successful
CI / chart-release (push) Has been skipped
CI / specification (push) Successful in 29s
CI / image (push) Successful in 14s
CI / chart (push) Successful in 14s
CI / test (push) Successful in 21s
Release 0.2.1
2026-11-25 13:15:50 +01:00
.forgejo/workflows Scan the rendered chart with KICS on every push and pull request 2026-11-25 10:34:12 +01:00
api Pass on retours to the management screen 2026-11-24 00:06:53 +01:00
cmd/dispatch-management-process Turn the copy of dispatch-process into the verzenddienst's management component 2026-11-23 22:09:02 +01:00
helm Release 0.2.1 2026-11-25 13:15:50 +01:00
internal Turn the copy of dispatch-process into the verzenddienst's management component 2026-11-23 22:09:02 +01:00
.dockerignore Forward shipments from allowed senders as verzenddienst 2026-11-23 11:13:02 +01:00
Dockerfile Turn the copy of dispatch-process into the verzenddienst's management component 2026-11-23 22:09:02 +01:00
go.mod Turn the copy of dispatch-process into the verzenddienst's management component 2026-11-23 22:09:02 +01:00
go.sum Turn the copy of dispatch-process into the verzenddienst's management component 2026-11-23 22:09:02 +01:00
LICENSE License under EUPL-1.2 2026-11-23 20:10:32 +01:00
Makefile Release dispatch-management-process with a version, chart and image together 2026-11-24 19:02:12 +01:00
README.md Release dispatch-management-process with a version, chart and image together 2026-11-24 19:02:12 +01:00

dispatch-management-process

The management component of the verzenddienst in Notificatie voor Burgers. It builds the overview for the management screen (dispatch-management-ui) from dispatch-service and only reads. It is a component of its own, apart from dispatch-process, so management never reaches the business logic.

Internal only: it has its own Service, and the management UI's proxy is its only way in. Public for now through that proxy, because there is no authorisation yet.

API

Dutch, OpenAPI 3.1, following the NL API Design Rules. The source is api/openapi.yaml; api/openapi.json is generated from it and committed (npx -y js-yaml@4 api/openapi.yaml > api/openapi.json). Both are served as they are at /v1/openapi.json and /v1/openapi.yaml.

  • GET /v1/overzicht → {rol: verzenddienst, toegelatenAfzenders, zendingenPerAfzenderVandaag, recenteGebeurtenissen: [{tijdstip, afzender, bezorgdienst, resultaat, envelopGrootte}]}

Never anything about the recipient: the verzenddienst knows the sender, not who a shipment is for.

Configuration

  • DISPATCH_SERVICE_URL: the data layer, default http://dispatch-service
  • DISPATCH_SERVICE_API_KEY: this component's service key, from the Secret dispatch-api-keys (key DISPATCH_MANAGEMENT_PROCESS_API_KEY)

Development

go test ./...
golangci-lint run ./...

CI

.forgejo/workflows/ci.yml tests and lints every push and pull request, checks that openapi.json matches openapi.yaml, lints the spec with Redocly and the ADR checker, lints the chart and on main pushes the image code.digitaledienst.overheid.nl/mijn-betaaloverzicht/dispatch-management-process:<commit>.

Release

make release VERSION=1.2.3   # on an up-to-date main: writes helm/Chart.yaml, commits, tags v1.2.3
git push --follow-tags

The tag pipeline tags the image 1.2.3 and v1.2.3 and publishes the chart at 1.2.3 to the Forgejo Helm registry (see the charts repository). The environments repository pins that version.

License

EUPL-1.2, see LICENSE.