- Go 91.6%
- Makefile 4.6%
- Dockerfile 2.5%
- Go Template 1.3%
| .forgejo/workflows | ||
| api | ||
| cmd/address-register-management-process | ||
| helm | ||
| internal | ||
| .dockerignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
address-register-management-process
The management component of the adresregister in Notificatie voor Burgers. It builds the overview for
the adresregister's beheerscherm from address-register-service and only reads, with a service key that
opens nothing else. It is a component of its own, apart from address-register-process, so management
never reaches the business logic.
API
Dutch, as in api/openapi.yaml (OpenAPI 3.1, NL API Design Rules), served at /v1/openapi.json and /v1/openapi.yaml (both committed in api/, as in blauwe knop).
GET /v1/overzicht:{rol: adresregister, vandaag {registraties, sluitingen}, actieveRegistraties, leveringenPerBronorganisatie [{bronorganisatie, afgeleverd, wachtend, mislukt, volgendePoging}], recenteGebeurtenissen [{tijdstip, soort, burgerservicenummer, versie, bronorganisatie?, pogingen?}]}
"Vandaag" counts from midnight UTC. Every BSN leaves this component masked to its last two digits
(*******94), enough to follow one burger in a demo. Never the full BSN, an adreskaart or a key.
Internal only: the management UI (address-register-management-ui) proxies to this Service. Public for now
through that proxy, because there is no authorisation yet.
Configuration
ADDRESS_REGISTER_SERVICE_URL: internal base URL ofaddress-register-serviceADDRESS_REGISTER_SERVICE_API_KEY: this component's service key foraddress-register-service; the chart takes it from keyADDRESS_REGISTER_MANAGEMENT_PROCESS_API_KEYof Secretaddress-register-api-keysLISTEN_ADDRESS: defaults to:8080
CI
.forgejo/workflows/ci.yml tests, validates the spec with Redocly and the ADR checker, lints the
chart, and on main pushes
code.digitaledienst.overheid.nl/mijn-betaaloverzicht/address-register-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.