Skip to content

Commit

Permalink
Merge pull request #171 from maykinmedia/feature/new-settings-oab
Browse files Browse the repository at this point in the history
✨ Add settings for request retry in OAB
  • Loading branch information
SilviaAmAm authored Jan 27, 2025
2 parents 145dfa1 + efe3476 commit 7ae07ca
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
4 changes: 4 additions & 0 deletions charts/openarchiefbeheer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.3.0 (2025-01-27)

- Add settings for request retry. This should help reduce the failures when resyncing zaken with openzaak.

## 1.2.0 (2025-01-22)

- [#165] Add possibility to use custom celery queue and worker names when using the worker liveness probe.
Expand Down
2 changes: 1 addition & 1 deletion charts/openarchiefbeheer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: openarchiefbeheer
description: Opstellen, beheren en uitvoeren van vernietigingslijsten, voor gebruik met Zaakgericht werken

type: application
version: 1.2.0
version: 1.3.0
appVersion: latest

dependencies:
Expand Down
5 changes: 4 additions & 1 deletion charts/openarchiefbeheer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openarchiefbeheer

![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

Opstellen, beheren en uitvoeren van vernietigingslijsten, voor gebruik met Zaakgericht werken

Expand Down Expand Up @@ -161,6 +161,9 @@ Opstellen, beheren en uitvoeren van vernietigingslijsten, voor gebruik met Zaakg
| settings.react.apiUrl | string | `""` | |
| settings.react.zaakUrlTemplate | string | `""` | |
| settings.requestsReadTimeout | string | `"30"` | |
| settings.retry.backoffFactor | string | `""` | |
| settings.retry.statusForcelist | string | `""` | |
| settings.retry.total | string | `""` | |
| settings.secretKey | string | `""` | Generate secret key at https://djecrety.ir/ |
| settings.sentry.dsn | string | `""` | |
| settings.throttling.enable | bool | `true` | |
Expand Down
11 changes: 10 additions & 1 deletion charts/openarchiefbeheer/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,13 @@ data:
{{- if .Values.settings.frontendUrl }}
FRONTEND_URL: {{ .Values.settings.frontendUrl | toString | quote }}
{{- end }}

{{- if .Values.settings.retry.total }}
RETRY_TOTAL: {{ .Values.settings.retry.total | toString | quote }}
{{- end }}
{{- if .Values.settings.retry.backoffFactor }}
RETRY_BACKOFF_FACTOR: {{ .Values.settings.retry.backoffFactor | toString | quote }}
{{- end }}
{{- if .Values.settings.retry.statusForcelist }}
RETRY_STATUS_FORCELIST: {{ .Values.settings.retry.statusForcelist | toString | quote }}
{{- end }}

4 changes: 4 additions & 0 deletions charts/openarchiefbeheer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ settings:
zaakUrlTemplate: ""

frontendUrl: ""
retry:
total: ""
backoffFactor: ""
statusForcelist: ""

worker:
label: "1"
Expand Down

0 comments on commit 7ae07ca

Please sign in to comment.