Skip to content
Snippets Groups Projects
Commit 3e2fc8b4 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

Merge branch 'OZG-8146-Konfiguration-Eingangsbestätigung' into 'develop'

OZG-8146 helm: Add eingangsbestaetigng config values

See merge request !34
parents 67fa173a 060f56ad
No related branches found
No related tags found
2 merge requests!35OZG-8146 Konfigurierbare Eingangsbestätigung,!34OZG-8146 helm: Add eingangsbestaetigng config values
......@@ -278,9 +278,13 @@ spec:
- name: ozgcloud_feature_bescheid_kielHackathonRoute
value: {{ quote (((.Values.ozgcloud).feature).bescheid).kielHackathonRoute }}
{{- end }}
{{- if (((.Values.ozgcloud).notification).eingangsbestaetigung).replyAllowed }}
- name: ozgcloud_notification_eingangsbestaetigung_replyAllowed
value: {{ quote (((.Values.ozgcloud).notification).eingangsbestaetigung).replyAllowed }}
{{- if (((.Values.ozgcloud).notification).eingangsbestaetigung).forms }}
{{- range $i, $item := (((.Values.ozgcloud).notification).eingangsbestaetigung).forms }}
{{- range $key, $value := $item }}
- name: ozgcloud_notification_eingangsbestaetigung_forms_{{ printf "%d_%s" $i $key | replace "." "_" | replace "-" "" }}
value: {{ quote $value }}
{{- end }}
{{- end }}
{{- end }}
{{- if ((.Values.ozgcloud).xdomea).behoerdenschluessel }}
- name: ozgcloud_xdomea_behoerdenschluessel
......
......@@ -148,10 +148,53 @@ tests:
ozgcloud:
notification:
eingangsbestaetigung:
replyAllowed: true
forms:
- formEngineName: AFM
formId: 'Baumfaell*23'
antragstellerNotification: false
- formEngineName: 'AF?'
formId: '*genehmigung45'
addPrimaryPdf: false
- formEngineName: AFM
allowReplyByAntragsteller: true
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_replyAllowed
name: ozgcloud_notification_eingangsbestaetigung_forms_0_formEngineName
value: "AFM"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_0_formId
value: "Baumfaell*23"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_0_antragstellerNotification
value: "false"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_1_formEngineName
value: "AF?"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_1_formId
value: "*genehmigung45"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_1_addPrimaryPdf
value: "false"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_2_formEngineName
value: "AFM"
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_notification_eingangsbestaetigung_forms_2_allowReplyByAntragsteller
value: "true"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment