Principles
Operational restrictions
- Do not access production data directly, except for emergencies.
- Never run
psql
in a pod on preprod or prod namespaces. All input and output are logged and can easily lead to a breach of personal data.
Instead, rely on port-forwarding from preprod.
Inherited principles
- Development principles in the Ministry of Justice
- 🔐 Data principles
Service code principles
- We store when specific actions happen and by whom instead of overwriting a state.
- We build domain APIs, not CRUD APIs.
- We invariably enforce business rules in the domain API.
- We use consumer-driven contract testing.
- We keep the
main
branches deployable at all times. - We use the
hotfix
branch to provide a hotfix in production.
This page was last reviewed on 5 June 2024.
It needs to be reviewed again on 5 September 2024
by the page owner #interventions-dev
.
This page was set to be reviewed before 5 September 2024
by the page owner #interventions-dev.
This might mean the content is out of date.