From f53cc0d0916b24bc902d93913e60e0abcd6af06c Mon Sep 17 00:00:00 2001 From: manuraf Date: Tue, 5 Mar 2024 10:09:50 +0100 Subject: [PATCH] env settings --- .../env/dev-pnpg/terraform.tfvars | 56 ++++++++++++++++ infra/container_apps/env/dev/terraform.tfvars | 64 +++++++++++++++++++ .../env/prod-pnpg/terraform.tfvars | 56 ++++++++++++++++ .../container_apps/env/prod/terraform.tfvars | 52 +++++++++++++++ .../env/uat-pnpg/terraform.tfvars | 56 ++++++++++++++++ infra/container_apps/env/uat/terraform.tfvars | 52 +++++++++++++++ 6 files changed, 336 insertions(+) diff --git a/infra/container_apps/env/dev-pnpg/terraform.tfvars b/infra/container_apps/env/dev-pnpg/terraform.tfvars index 8eae453b..a969d788 100644 --- a/infra/container_apps/env/dev-pnpg/terraform.tfvars +++ b/infra/container_apps/env/dev-pnpg/terraform.tfvars @@ -18,7 +18,63 @@ container_app = { } app_settings = [ + { + name = "JAVA_TOOL_OPTIONS" + value = "-javaagent:applicationinsights-agent.jar" + }, + { + name = "APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL" + value = "OFF" + }, + { + name = "MS_PARTY_REGISTRY_PROXY_LOG_LEVEL" + value = "DEBUG" + }, + { + name = "MOCK_OPEN_DATA_ENABLED" + value = "true" + }, + { + name = "MOCK_OPEN_DATA_URL" + value = "https://selcdweupnpgcheckoutsa.z6.web.core.windows.net/resources" + }, + { + name = "MOCK_OPEN_DATA_INSTITUTION_ENDPOINT" + value = "/institutions-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_CATEGORY_ENDPOINT" + value = "/categories-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_AOO_ENDPOINT" + value = "/aoo-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_UO_ENDPOINT" + value = "/uo-open-data-mock.csv" + }, + { + name = "INFO_CAMERE_URL" + value = "https://icapiscl.infocamere.it" + }, + { + name = "INFO_CAMERE_INSTITUTIONS_BY_LEGAL_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/listaLegaleRappresentante/{taxId}" + }, + { + name = "INFO_CAMERE_AUTHENTICATION_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/authentication" + }, + { + name = "NATIONAL_REGISTRIES_URL" + value = "https://api-selcpg.dev.notifichedigitali.it/national-registries-private" + } ] secrets_names = [ + { + "BLOB_STORAGE_CONN_STRING" = "web-storage-connection-string" + "NATIONAL_REGISTRY_API_KEY" = "national-registry-api-key" + } ] diff --git a/infra/container_apps/env/dev/terraform.tfvars b/infra/container_apps/env/dev/terraform.tfvars index 9d9b0405..31e15f73 100644 --- a/infra/container_apps/env/dev/terraform.tfvars +++ b/infra/container_apps/env/dev/terraform.tfvars @@ -17,7 +17,71 @@ container_app = { } app_settings = [ + { + name = "JAVA_TOOL_OPTIONS" + value = "-javaagent:applicationinsights-agent.jar" + }, + { + name = "APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL" + value = "OFF" + }, + { + name = "MS_PARTY_REGISTRY_PROXY_LOG_LEVEL" + value = "DEBUG" + }, + { + name = "MOCK_OPEN_DATA_ENABLED" + value = "true" + }, + { + name = "MOCK_OPEN_DATA_URL" + value = "https://selcdcheckoutsa.z6.web.core.windows.net/resources" + }, + { + name = "MOCK_OPEN_DATA_INSTITUTION_ENDPOINT" + value = "/institutions-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_CATEGORY_ENDPOINT" + value = "/categories-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_AOO_ENDPOINT" + value = "/aoo-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_UO_ENDPOINT" + value = "/uo-open-data-mock.csv" + }, + { + name = "INFO_CAMERE_URL" + value = "https://icapiscl.infocamere.it" + }, + { + name = "INFO_CAMERE_INSTITUTIONS_BY_LEGAL_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/listaLegaleRappresentante/{taxId}" + }, + { + name = "INFO_CAMERE_AUTHENTICATION_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/authentication" + }, + { + name = "ANAC_FTP_IP" + value = "93.43.119.85" + }, + { + name = "ANAC_FTP_USER" + value = "PagoPA_user" + }, + { + name = "ANAC_FTP_DIRECTORY" + value = "/mnt/RegistroGestoriPiattaforme/Collaudo/" + } ] secrets_names = [ + { + "BLOB_STORAGE_CONN_STRING" = "web-storage-connection-string" + "NATIONAL_REGISTRY_API_KEY" = "national-registry-api-key" + } ] diff --git a/infra/container_apps/env/prod-pnpg/terraform.tfvars b/infra/container_apps/env/prod-pnpg/terraform.tfvars index b9c58dde..e1d09191 100644 --- a/infra/container_apps/env/prod-pnpg/terraform.tfvars +++ b/infra/container_apps/env/prod-pnpg/terraform.tfvars @@ -31,7 +31,63 @@ container_app = { } app_settings = [ + { + name = "JAVA_TOOL_OPTIONS" + value = "-javaagent:applicationinsights-agent.jar" + }, + { + name = "APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL" + value = "OFF" + }, + { + name = "MS_PARTY_REGISTRY_PROXY_LOG_LEVEL" + value = "DEBUG" + }, + { + name = "MOCK_OPEN_DATA_ENABLED" + value = "true" + }, + { + name = "MOCK_OPEN_DATA_URL" + value = "https://selcpweupnpgcheckoutsa.z6.web.core.windows.net/resources" + }, + { + name = "MOCK_OPEN_DATA_INSTITUTION_ENDPOINT" + value = "/institutions-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_CATEGORY_ENDPOINT" + value = "/categories-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_AOO_ENDPOINT" + value = "/aoo-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_UO_ENDPOINT" + value = "/uo-open-data-mock.csv" + }, + { + name = "INFO_CAMERE_URL" + value = "https://icapiscl.infocamere.it" + }, + { + name = "INFO_CAMERE_INSTITUTIONS_BY_LEGAL_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/listaLegaleRappresentante/{taxId}" + }, + { + name = "INFO_CAMERE_AUTHENTICATION_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/authentication" + }, + { + name = "NATIONAL_REGISTRIES_URL" + value = "https://api-selcpg.notifichedigitali.it/national-registries-private" + } ] secrets_names = [ + { + "BLOB_STORAGE_CONN_STRING" = "web-storage-connection-string" + "NATIONAL_REGISTRY_API_KEY" = "national-registry-api-key" + } ] \ No newline at end of file diff --git a/infra/container_apps/env/prod/terraform.tfvars b/infra/container_apps/env/prod/terraform.tfvars index cd8c2942..5e752aba 100644 --- a/infra/container_apps/env/prod/terraform.tfvars +++ b/infra/container_apps/env/prod/terraform.tfvars @@ -30,7 +30,59 @@ container_app = { } app_settings = [ + { + name = "JAVA_TOOL_OPTIONS" + value = "-javaagent:applicationinsights-agent.jar" + }, + { + name = "APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL" + value = "OFF" + }, + { + name = "MS_PARTY_REGISTRY_PROXY_LOG_LEVEL" + value = "DEBUG" + }, + { + name = "MOCK_OPEN_DATA_ENABLED" + value = "true" + }, + { + name = "MOCK_OPEN_DATA_URL" + value = "https://selcdcheckoutsa.z6.web.core.windows.net/resources" + }, + { + name = "MOCK_OPEN_DATA_INSTITUTION_ENDPOINT" + value = "/institutions-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_CATEGORY_ENDPOINT" + value = "/categories-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_AOO_ENDPOINT" + value = "/aoo-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_UO_ENDPOINT" + value = "/uo-open-data-mock.csv" + }, + { + name = "ANAC_FTP_IP" + value = "93.43.119.85" + }, + { + name = "ANAC_FTP_USER" + value = "PagoPA_user" + }, + { + name = "ANAC_FTP_DIRECTORY" + value = "/mnt/RegistroGestoriPiattaforme/Collaudo/" + } ] secrets_names = [ + { + "BLOB_STORAGE_CONN_STRING" = "web-storage-connection-string" + "NATIONAL_REGISTRY_API_KEY" = "national-registry-api-key" + } ] \ No newline at end of file diff --git a/infra/container_apps/env/uat-pnpg/terraform.tfvars b/infra/container_apps/env/uat-pnpg/terraform.tfvars index 01b55faa..2b51ba77 100644 --- a/infra/container_apps/env/uat-pnpg/terraform.tfvars +++ b/infra/container_apps/env/uat-pnpg/terraform.tfvars @@ -18,7 +18,63 @@ container_app = { } app_settings = [ + { + name = "JAVA_TOOL_OPTIONS" + value = "-javaagent:applicationinsights-agent.jar" + }, + { + name = "APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL" + value = "OFF" + }, + { + name = "MS_PARTY_REGISTRY_PROXY_LOG_LEVEL" + value = "DEBUG" + }, + { + name = "MOCK_OPEN_DATA_ENABLED" + value = "true" + }, + { + name = "MOCK_OPEN_DATA_URL" + value = "https://selcuweupnpgcheckoutsa.z6.web.core.windows.net/resources" + }, + { + name = "MOCK_OPEN_DATA_INSTITUTION_ENDPOINT" + value = "/institutions-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_CATEGORY_ENDPOINT" + value = "/categories-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_AOO_ENDPOINT" + value = "/aoo-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_UO_ENDPOINT" + value = "/uo-open-data-mock.csv" + }, + { + name = "INFO_CAMERE_URL" + value = "https://icapiscl.infocamere.it" + }, + { + name = "INFO_CAMERE_INSTITUTIONS_BY_LEGAL_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/listaLegaleRappresentante/{taxId}" + }, + { + name = "INFO_CAMERE_AUTHENTICATION_ENDPOINT" + value = "/ic/ce/wspa/wspa/rest/authentication" + }, + { + name = "NATIONAL_REGISTRIES_URL" + value = "https://api-selcpg.uat.notifichedigitali.it/national-registries-private" + } ] secrets_names = [ + { + "BLOB_STORAGE_CONN_STRING" = "web-storage-connection-string" + "NATIONAL_REGISTRY_API_KEY" = "national-registry-api-key" + } ] diff --git a/infra/container_apps/env/uat/terraform.tfvars b/infra/container_apps/env/uat/terraform.tfvars index 8fca5d36..9f73b53d 100644 --- a/infra/container_apps/env/uat/terraform.tfvars +++ b/infra/container_apps/env/uat/terraform.tfvars @@ -17,7 +17,59 @@ container_app = { } app_settings = [ + { + name = "JAVA_TOOL_OPTIONS" + value = "-javaagent:applicationinsights-agent.jar" + }, + { + name = "APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL" + value = "OFF" + }, + { + name = "MS_PARTY_REGISTRY_PROXY_LOG_LEVEL" + value = "DEBUG" + }, + { + name = "MOCK_OPEN_DATA_ENABLED" + value = "true" + }, + { + name = "MOCK_OPEN_DATA_URL" + value = "https://selcucheckoutsa.z6.web.core.windows.net/resources" + }, + { + name = "MOCK_OPEN_DATA_INSTITUTION_ENDPOINT" + value = "/institutions-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_CATEGORY_ENDPOINT" + value = "/categories-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_AOO_ENDPOINT" + value = "/aoo-open-data-mock.csv" + }, + { + name = "MOCK_OPEN_DATA_UO_ENDPOINT" + value = "/uo-open-data-mock.csv" + }, + { + name = "ANAC_FTP_IP" + value = "93.43.119.85" + }, + { + name = "ANAC_FTP_USER" + value = "PagoPA_user" + }, + { + name = "ANAC_FTP_DIRECTORY" + value = "/mnt/RegistroGestoriPiattaforme/Collaudo/" + } ] secrets_names = [ + { + "BLOB_STORAGE_CONN_STRING" = "web-storage-connection-string" + "NATIONAL_REGISTRY_API_KEY" = "national-registry-api-key" + } ]