From 16e53f6dcda43b1da63b47ead0898b4192200f64 Mon Sep 17 00:00:00 2001 From: manuraf Date: Wed, 8 Nov 2023 14:52:04 +0100 Subject: [PATCH] add secret connection string --- .container_apps/onboarding-ms/env/dev/terraform.tfvars | 7 ++++++- .../src/main/resources/application.properties | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.container_apps/onboarding-ms/env/dev/terraform.tfvars b/.container_apps/onboarding-ms/env/dev/terraform.tfvars index 1c0624e84..a027f4eca 100644 --- a/.container_apps/onboarding-ms/env/dev/terraform.tfvars +++ b/.container_apps/onboarding-ms/env/dev/terraform.tfvars @@ -29,6 +29,10 @@ app_settings = [ { name = "ONBOARDING_ALLOWED_INSTITUTIONS_PRODUCTS" value = "{'prod-interop': ['*'], 'prod-pn': ['*'], 'prod-io': ['*'], 'prod-io-premium': ['*'], 'prod-pagopa': ['*'], 'prod-fd': ['*'], 'prod-fd-garantito': ['*']}" + }, + { + name = "STORAGE_CONTAINER_PRODUCT" + value = "product" } ] @@ -39,6 +43,7 @@ key_vault = { "jwt-public-key", "mongodb-connection-string", "user-registry-api-key", - "onboarding-functions-api-key" + "onboarding-functions-api-key", + "blob-storage-product-connection-string" ] } diff --git a/apps/onboarding-ms/src/main/resources/application.properties b/apps/onboarding-ms/src/main/resources/application.properties index db9abaa7a..5f4d957e7 100644 --- a/apps/onboarding-ms/src/main/resources/application.properties +++ b/apps/onboarding-ms/src/main/resources/application.properties @@ -48,7 +48,7 @@ quarkus.rest-client."org.openapi.quarkus.core_json.api.OnboardingApi".url=${MS_C onboarding-ms.blob-storage.container-product=${STORAGE_CONTAINER_PRODUCT:selc-d-product} onboarding-ms.blob-storage.filepath-product = products.json -onboarding-ms.blob-storage.connection-string-product = ${BLOB_STORAGE_CONN_STRING_PRODUCT:UseDevelopmentStorage=true;} +onboarding-ms.blob-storage.connection-string-product = ${BLOB-STORAGE-PRODUCT-CONNECTION-STRING:UseDevelopmentStorage=true;} ## Jacoco quarkus.jacoco.includes=it/pagopa/selfcare/controller/*,it/pagopa/selfcare/service/**,it/pagopa/selfcare/repository/** \ No newline at end of file