No description
  • Go 89.1%
  • Makefile 6%
  • Dockerfile 3.1%
  • Go Template 1.8%
Find a file
Zamir Amir 12df3004a4
All checks were successful
CI / chart (push) Successful in 11s
CI / image (push) Successful in 13s
CI / test (push) Successful in 57s
CI / specification (push) Successful in 32s
CI / chart-release (push) Successful in 4s
Release 0.2.1
2026-11-25 13:16:01 +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 Publish the OpenAPI document as committed JSON and YAML, as in blauwe knop 2026-11-23 22:19:06 +01:00
cmd/mailbox-host-management-process Publish the OpenAPI document as committed JSON and YAML, as in blauwe knop 2026-11-23 22:19:06 +01:00
helm Release 0.2.1 2026-11-25 13:16:01 +01:00
internal Publish the OpenAPI document as committed JSON and YAML, as in blauwe knop 2026-11-23 22:19:06 +01:00
.dockerignore Host mailboxes and nudge connected devices 2026-11-23 11:13:03 +01:00
Dockerfile Publish the OpenAPI document as committed JSON and YAML, as in blauwe knop 2026-11-23 22:19:06 +01:00
go.mod Turn the copy of mailbox-host into the hoster's management component 2026-11-23 20:46:13 +01:00
go.sum Turn the copy of mailbox-host into the hoster's management component 2026-11-23 20:46:13 +01:00
LICENSE License under EUPL-1.2 2026-11-23 20:10:32 +01:00
Makefile Release mailbox-host-management-process with a version, chart and image together 2026-11-24 19:02:13 +01:00
README.md Release mailbox-host-management-process with a version, chart and image together 2026-11-24 19:02:13 +01:00

mailbox-host-management-process

The management component of the hoster in Notificatie voor Burgers. It builds the overview for mailbox-host-management-ui by reading from mailbox-host-service with its own service key, and holds no data itself. Following the blauwe-knop layering, management is a component of its own: mailbox-host-management-ui → mailbox-host-management-process → mailbox-host-service → mailbox-host-db.

Internal only: its Service is reached through the management UI's proxy and never routed directly.

API

The contract is api/openapi.yaml (OpenAPI 3.1, Dutch interface following the NL API Design Rules), served as JSON at /v1/openapi.json and /v1/openapi.yaml (both committed in api/, as in blauwe knop). Every response carries API-Version; errors are application/problem+json.

  • GET /v1/overzicht → {rol: "hoster", aantalBrievenbussen, aantalApparaten, aantalOpgeslagenEnveloppen, bezorgingenPerUur: [{uur, aantal}], recenteGebeurtenissen: [{tijdstip, soort, envelopGrootte}]}; 502 when the service cannot be read

It can only show what the service stores: never a sender, content, functional address or volume per mailbox. An envelope is only a number of bytes, so nothing changes once envelopes are encrypted.

Configuration

  • MAILBOX_HOST_SERVICE_URL, MAILBOX_HOST_SERVICE_API_KEY: the data layer and this component's service key
  • LISTEN_ADDRESS: defaults to :8080

CI

.forgejo/workflows/ci.yml tests and lints, checks the OpenAPI document with Redocly and the ADR checker, lints the chart, and on main pushes code.digitaledienst.overheid.nl/mijn-betaaloverzicht/mailbox-host-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.