From 2a0172a97114f341d00127f7b6291b1a5806657f Mon Sep 17 00:00:00 2001 From: dbarber-cps Date: Fri, 17 Jul 2026 07:08:57 +0100 Subject: [PATCH 1/4] Fct2 20654 cors policy (#2095) * updating cors policy to allow outsystems web component poc. * added tst1 into logic as well * updated staging slot with QA updates --- polaris-terraform/main-terraform/function-gateway-staging.tf | 2 ++ polaris-terraform/main-terraform/function-gateway.tf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/polaris-terraform/main-terraform/function-gateway-staging.tf b/polaris-terraform/main-terraform/function-gateway-staging.tf index b2c7fdfe7..b162e5724 100644 --- a/polaris-terraform/main-terraform/function-gateway-staging.tf +++ b/polaris-terraform/main-terraform/function-gateway-staging.tf @@ -77,6 +77,8 @@ resource "azurerm_linux_function_app_slot" "fa_polaris_staging1" { "https://as-web-${local.global_resource_name}.azurewebsites.net", "https://${local.global_resource_name}-cmsproxy.azurewebsites.net", "https://${local.global_resource_name}-notprod.cps.gov.uk", + var.env == "qa" ? "https://cps-tst.outsystemsenterprise.com" : "", + var.env == "qa" ? "https://cps-tst1.outsystemsenterprise.com" : "", var.env == "dev" ? "http://localhost:3000" : "" ] support_credentials = true diff --git a/polaris-terraform/main-terraform/function-gateway.tf b/polaris-terraform/main-terraform/function-gateway.tf index 65dd32bb1..181603845 100644 --- a/polaris-terraform/main-terraform/function-gateway.tf +++ b/polaris-terraform/main-terraform/function-gateway.tf @@ -84,6 +84,8 @@ resource "azurerm_linux_function_app" "fa_polaris" { "https://as-web-${local.global_resource_name}.azurewebsites.net", "https://${local.global_resource_name}-cmsproxy.azurewebsites.net", "https://${local.global_resource_name}-notprod.cps.gov.uk", + var.env == "qa" ? "https://cps-tst.outsystemsenterprise.com" : "", + var.env == "qa" ? "https://cps-tst1.outsystemsenterprise.com" : "", var.env == "dev" ? "http://localhost:3000" : "" ] support_credentials = true From 281890897b92ff7ec075e980e17b76fae6d75dbd Mon Sep 17 00:00:00 2001 From: stef Date: Mon, 20 Jul 2026 10:58:12 +0100 Subject: [PATCH 2/4] #FCT2-20670 - add London OS region to handover whitelist (#2097) --- polaris-terraform/main-terraform/qa.tfvars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polaris-terraform/main-terraform/qa.tfvars b/polaris-terraform/main-terraform/qa.tfvars index ef12a7654..b2139b7d6 100644 --- a/polaris-terraform/main-terraform/qa.tfvars +++ b/polaris-terraform/main-terraform/qa.tfvars @@ -75,7 +75,7 @@ cms_details = { cin5_upstream_cms_services_domain_name = "cin5.cps.gov.uk" } -auth_handover_whitelist = "/auth-refresh-inbound,https://cps-tst.outsystemsenterprise.com/,https://housekeeping-fn-staging.int.cps.gov.uk/,https://fa-lacc-api-staging.azurewebsites.net/,https://fa-cmrc-api-staging.azurewebsites.net/,https://polaris-qa-notprod.cps.gov.uk/auth-refresh-inbound?polaris-ui-url=/materials-ui" +auth_handover_whitelist = "/auth-refresh-inbound,https://cps-tst.outsystemsenterprise.com/,https://cpslon-tst.outsystemsenterprise.com/,https://housekeeping-fn-staging.int.cps.gov.uk/,https://fa-lacc-api-staging.azurewebsites.net/,https://fa-cmrc-api-staging.azurewebsites.net/,https://polaris-qa-notprod.cps.gov.uk/auth-refresh-inbound?polaris-ui-url=/materials-ui" app_service_log_retention = 90 app_service_log_total_retention = 2555 From d5cf8afce5a4e1db745d78af02bdb7f54458d0de Mon Sep 17 00:00:00 2001 From: robmolloy-cps Date: Mon, 20 Jul 2026 15:54:28 +0100 Subject: [PATCH 3/4] FCT2-20395-cwa-make-supporting-notes-required-where-redaction-type-other-is-selected-2 (#2098) --- .../case-details/redactionLog/RedactionLogContent.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/polaris-ui/src/app/features/cases/presentation/case-details/redactionLog/RedactionLogContent.tsx b/polaris-ui/src/app/features/cases/presentation/case-details/redactionLog/RedactionLogContent.tsx index c36127e1c..f97d264b9 100644 --- a/polaris-ui/src/app/features/cases/presentation/case-details/redactionLog/RedactionLogContent.tsx +++ b/polaris-ui/src/app/features/cases/presentation/case-details/redactionLog/RedactionLogContent.tsx @@ -910,7 +910,11 @@ export const RedactionLogContent: React.FC = ({ children: ( Supporting notes{" "} - (optional) + {!isSelectedRedactionOfOtherType && ( + + (optional) + + )} ), }} From 39dcb4853d152f24b209c462d7c0f69758ded4d1 Mon Sep 17 00:00:00 2001 From: kramduny-cps Date: Tue, 21 Jul 2026 10:54:41 +0100 Subject: [PATCH 4/4] Disable PDF Redactor Integration Tests as tests are no longer valid (#2099) --- polaris-e2e/pipelines/stages/stage_run-e2e-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polaris-e2e/pipelines/stages/stage_run-e2e-tests.yml b/polaris-e2e/pipelines/stages/stage_run-e2e-tests.yml index 5696fe45f..04938d92d 100644 --- a/polaris-e2e/pipelines/stages/stage_run-e2e-tests.yml +++ b/polaris-e2e/pipelines/stages/stage_run-e2e-tests.yml @@ -21,7 +21,8 @@ stages: parameters: checkoutRef: ${{ parameters.checkoutRef }} - - template: jobs/job_run-dot-net-tests.yml +# Disable dotnet tests as pdf-redactor have changed drastically and tests are no longer valid. Will need to be re-written and re-enabled in the future. +# - template: jobs/job_run-dot-net-tests.yml - template: jobs/job_run-cypress-tests-a.yml parameters: