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
Branches
No related tags found
2 merge requests!35OZG-8146 Konfigurierbare Eingangsbestätigung,!34OZG-8146 helm: Add eingangsbestaetigng config values
...@@ -278,9 +278,13 @@ spec: ...@@ -278,9 +278,13 @@ spec:
- name: ozgcloud_feature_bescheid_kielHackathonRoute - name: ozgcloud_feature_bescheid_kielHackathonRoute
value: {{ quote (((.Values.ozgcloud).feature).bescheid).kielHackathonRoute }} value: {{ quote (((.Values.ozgcloud).feature).bescheid).kielHackathonRoute }}
{{- end }} {{- end }}
{{- if (((.Values.ozgcloud).notification).eingangsbestaetigung).replyAllowed }} {{- if (((.Values.ozgcloud).notification).eingangsbestaetigung).forms }}
- name: ozgcloud_notification_eingangsbestaetigung_replyAllowed {{- range $i, $item := (((.Values.ozgcloud).notification).eingangsbestaetigung).forms }}
value: {{ quote (((.Values.ozgcloud).notification).eingangsbestaetigung).replyAllowed }} {{- range $key, $value := $item }}
- name: ozgcloud_notification_eingangsbestaetigung_forms_{{ printf "%d_%s" $i $key | replace "." "_" | replace "-" "" }}
value: {{ quote $value }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
{{- if ((.Values.ozgcloud).xdomea).behoerdenschluessel }} {{- if ((.Values.ozgcloud).xdomea).behoerdenschluessel }}
- name: ozgcloud_xdomea_behoerdenschluessel - name: ozgcloud_xdomea_behoerdenschluessel
......
...@@ -148,10 +148,53 @@ tests: ...@@ -148,10 +148,53 @@ tests:
ozgcloud: ozgcloud:
notification: notification:
eingangsbestaetigung: eingangsbestaetigung:
replyAllowed: true forms:
- formEngineName: AFM
formId: 'Baumfaell*23'
antragstellerNotification: false
- formEngineName: 'AF?'
formId: '*genehmigung45'
addPrimaryPdf: false
- formEngineName: AFM
allowReplyByAntragsteller: true
asserts: asserts:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: 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" 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