Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add settings for request retry in OAB #171

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading