From 8f7f6b87778624126d04fe012a543b04d78454b7 Mon Sep 17 00:00:00 2001 From: Michal Nawrocki Date: Tue, 29 Oct 2024 14:22:12 +0000 Subject: [PATCH] MAP-1775 Activate Service outage banner --- helm_deploy/values-dev.yaml | 1 + helm_deploy/values-preprod.yaml | 1 + helm_deploy/values-prod.yaml | 1 + server/views/pages/report-use-of-force.html | 2 +- server/views/partials/incidentPage.html | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/helm_deploy/values-dev.yaml b/helm_deploy/values-dev.yaml index e7950323..f1cd044a 100644 --- a/helm_deploy/values-dev.yaml +++ b/helm_deploy/values-dev.yaml @@ -19,6 +19,7 @@ generic-service: ENVIRONMENT_NAME: 'DEV' HMPPS_MANAGE_USERS_API_URL: https://manage-users-api-dev.hmpps.service.justice.gov.uk INGRESS_URL: https://dev.use-of-force.service.justice.gov.uk + FEATURE_FLAG_OUTAGE_BANNER_ENABLED: true generic-data-analytics-extractor: args: "extract_table_names.py && extract_psql_all_tables_to_csv.sh && upload_data_file_to_data_platform.sh" diff --git a/helm_deploy/values-preprod.yaml b/helm_deploy/values-preprod.yaml index 8ef6cf9f..a1992f7a 100644 --- a/helm_deploy/values-preprod.yaml +++ b/helm_deploy/values-preprod.yaml @@ -18,6 +18,7 @@ generic-service: ENVIRONMENT_NAME: 'PRE-PRODUCTION' HMPPS_MANAGE_USERS_API_URL: https://manage-users-api-preprod.hmpps.service.justice.gov.uk INGRESS_URL: https://preprod.use-of-force.service.justice.gov.uk + FEATURE_FLAG_OUTAGE_BANNER_ENABLED: false generic-data-analytics-extractor: serviceAccountName: use-of-force-preprod-to-ap-s3 diff --git a/helm_deploy/values-prod.yaml b/helm_deploy/values-prod.yaml index d46ca86c..d6931c79 100644 --- a/helm_deploy/values-prod.yaml +++ b/helm_deploy/values-prod.yaml @@ -18,6 +18,7 @@ generic-service: ENVIRONMENT_NAME: '' HMPPS_MANAGE_USERS_API_URL: https://manage-users-api.hmpps.service.justice.gov.uk INGRESS_URL: https://use-of-force.service.justice.gov.uk + FEATURE_FLAG_OUTAGE_BANNER_ENABLED: false allowlist: groups: diff --git a/server/views/pages/report-use-of-force.html b/server/views/pages/report-use-of-force.html index 248c3af6..7cb3d3ff 100644 --- a/server/views/pages/report-use-of-force.html +++ b/server/views/pages/report-use-of-force.html @@ -42,7 +42,7 @@ {% set html %}

- Maintenance work is planned for 6pm on Saturday 16 September. + Maintenance work is planned for 8am on Tuesday 5 November. Use of force may be temporarily unavailable.

{% endset %} diff --git a/server/views/partials/incidentPage.html b/server/views/partials/incidentPage.html index 506bf3c8..1521f20b 100644 --- a/server/views/partials/incidentPage.html +++ b/server/views/partials/incidentPage.html @@ -18,7 +18,7 @@ {% set html %}

- Maintenance work is planned for 6pm on Saturday 16 September. + Maintenance work is planned for 8am on Tuesday 5 November. Use of force may be temporarily unavailable.

{% endset %}