From d5b82babd2520f095fac58c4d5b0446f074b2890 Mon Sep 17 00:00:00 2001 From: andrea-putzu <106688558+andrea-putzu@users.noreply.github.com> Date: Fri, 13 Dec 2024 19:14:36 +0100 Subject: [PATCH] [SELC-6205] chore: Add PDND_INFOCAMERE to SAP_ALLOWED_ORIGINS (#650) --- .../src/main/resources/application.properties | 3 +-- infra/functions/onboarding-functions/env/dev/terraform.tfvars | 2 +- infra/functions/onboarding-functions/env/prod/terraform.tfvars | 2 +- infra/functions/onboarding-functions/env/uat/terraform.tfvars | 2 +- infra/test/env/dev/terraform.tfvars | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/onboarding-functions/src/main/resources/application.properties b/apps/onboarding-functions/src/main/resources/application.properties index 041b91cb7..15e866530 100644 --- a/apps/onboarding-functions/src/main/resources/application.properties +++ b/apps/onboarding-functions/src/main/resources/application.properties @@ -197,8 +197,7 @@ notification.consumers.sap.topic=${SAP_TOPIC_NAME:SC-Contracts-SAP} notification.consumers.sap.name=${SAP_SHARED_ACCESS_KEY_NAME:test} notification.consumers.sap.key=${EVENTHUB_SC_CONTRACTS_SAP_SELFCARE_WO_KEY-LC:test} notification.consumers.sap.allowed-institution-types=${SAP_ALLOWED_INSTITUTION_TYPE:PA,GSP} -notification.consumers.sap.allowed-origins=${SAP_ALLOWED_ORIGINS:IPA,SELC} - +notification.consumers.sap.allowed-origins=${SAP_ALLOWED_ORIGINS:IPA,SELC,PDND_INFOCAMERE} notification.consumers.fd.topic=${FD_TOPIC_NAME:Selfcare-FD} notification.consumers.fd.name=${FD_SHARED_ACCESS_KEY_NAME:test} notification.consumers.fd.key=${EVENTHUB_SC_CONTRACTS_FD_SELFCARE_WO_KEY_LC:test} diff --git a/infra/functions/onboarding-functions/env/dev/terraform.tfvars b/infra/functions/onboarding-functions/env/dev/terraform.tfvars index 06192c148..c4d207b42 100644 --- a/infra/functions/onboarding-functions/env/dev/terraform.tfvars +++ b/infra/functions/onboarding-functions/env/dev/terraform.tfvars @@ -92,7 +92,7 @@ app_settings = { "EVENTHUB_SC_CONTRACTS_FD_SELFCARE_WO_KEY_LC" = "@Microsoft.KeyVault(SecretUri=https://selc-d-kv.vault.azure.net/secrets/eventhub-selfcare-fd-external-interceptor-wo-key-lc/)" "FD_TOPIC_NAME" = "Selfcare-FD", "SAP_ALLOWED_INSTITUTION_TYPE" = "PA,GSP,SA,AS,SCP", - "SAP_ALLOWED_ORIGINS" = "IPA,SELC" + "SAP_ALLOWED_ORIGINS" = "IPA,SELC,PDND_INFOCAMERE" "MINUTES_THRESHOLD_FOR_UPDATE_NOTIFICATION" = "5" "BYPASS_CHECK_ORGANIZATION" = "false" "PROD_FD_URL" = "https://fid00001fe.siachain.sv.sia.eu:30008" diff --git a/infra/functions/onboarding-functions/env/prod/terraform.tfvars b/infra/functions/onboarding-functions/env/prod/terraform.tfvars index 777b962d2..322513c44 100644 --- a/infra/functions/onboarding-functions/env/prod/terraform.tfvars +++ b/infra/functions/onboarding-functions/env/prod/terraform.tfvars @@ -92,7 +92,7 @@ app_settings = { "EVENTHUB_SC_CONTRACTS_FD_SELFCARE_WO_KEY_LC" = "@Microsoft.KeyVault(SecretUri=https://selc-p-kv.vault.azure.net/secrets/eventhub-selfcare-fd-external-interceptor-wo-key-lc/)" "FD_TOPIC_NAME" = "Selfcare-FD" "SAP_ALLOWED_INSTITUTION_TYPE" = "PA,GSP,SA,AS,SCP" - "SAP_ALLOWED_ORIGINS" = "IPA,SELC" + "SAP_ALLOWED_ORIGINS" = "IPA,SELC,PDND_INFOCAMERE" "MINUTES_THRESHOLD_FOR_UPDATE_NOTIFICATION" = "5" "BYPASS_CHECK_ORGANIZATION" = "false" "PROD_FD_URL" = "https://portale.fideiussionidigitali.it" diff --git a/infra/functions/onboarding-functions/env/uat/terraform.tfvars b/infra/functions/onboarding-functions/env/uat/terraform.tfvars index dfa88f580..ba912f59b 100644 --- a/infra/functions/onboarding-functions/env/uat/terraform.tfvars +++ b/infra/functions/onboarding-functions/env/uat/terraform.tfvars @@ -91,7 +91,7 @@ app_settings = { "EVENTHUB_SC_CONTRACTS_FD_SELFCARE_WO_KEY_LC" = "@Microsoft.KeyVault(SecretUri=https://selc-u-kv.vault.azure.net/secrets/eventhub-selfcare-fd-external-interceptor-wo-key-lc/)" "FD_TOPIC_NAME" = "Selfcare-FD" "SAP_ALLOWED_INSTITUTION_TYPE" = "PA,GSP,SA,AS,SCP" - "SAP_ALLOWED_ORIGINS" = "IPA,SELC" + "SAP_ALLOWED_ORIGINS" = "IPA,SELC,PDND_INFOCAMERE" "MINUTES_THRESHOLD_FOR_UPDATE_NOTIFICATION" = "5" "BYPASS_CHECK_ORGANIZATION" = "false" "PROD_FD_URL" = "https://fid00001fe.siachain.ti.sia.eu:30008" diff --git a/infra/test/env/dev/terraform.tfvars b/infra/test/env/dev/terraform.tfvars index 4265d7270..6108a44a3 100644 --- a/infra/test/env/dev/terraform.tfvars +++ b/infra/test/env/dev/terraform.tfvars @@ -71,7 +71,7 @@ app_settings = { "EVENTHUB_SC_CONTRACTS_FD_SELFCARE_WO_KEY_LC" = "@Microsoft.KeyVault(SecretUri=https://selc-d-kv.vault.azure.net/secrets/eventhub-selfcare-fd-external-interceptor-wo-key-lc/)" "FD_TOPIC_NAME" = "Selfcare-FD", "SAP_ALLOWED_INSTITUTION_TYPE" = "PA,GSP,SA,AS,SCP", - "SAP_ALLOWED_ORIGINS" = "IPA,SELC" + "SAP_ALLOWED_ORIGINS" = "IPA,SELC,PDND_INFOCAMERE" "MINUTES_THRESHOLD_FOR_UPDATE_NOTIFICATION" = "5" "BYPASS_CHECK_ORGANIZATION" = "false" "PROD_FD_URL" = "https://fid00001fe.siachain.sv.sia.eu:30008"