diff --git a/Dockerfile b/Dockerfile index 5a61b3e..2732cc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG JAVA_VERSION=11 # This image additionally contains function core tools – useful when using custom extensions -FROM mcr.microsoft.com/azure-functions/java:4.0-java$JAVA_VERSION-build AS installer-env +FROM mcr.microsoft.com/azure-functions/java:4.0-java${JAVA_VERSION-build}-core-tools AS installer-env COPY . /src/java-function-app RUN cd /src/java-function-app && \ @@ -11,10 +11,10 @@ RUN cd /src/java-function-app && \ cp -a . /home/site/wwwroot # This image is ssh enabled -FROM mcr.microsoft.com/azure-functions/java:4-java$JAVA_VERSION +FROM mcr.microsoft.com/azure-functions/java:4-java${JAVA_VERSION-build}-core-tools ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ - AzureFunctionsJobHost__Logging__Console__IsEnabled=true + AzureFunctionsJobHost__Logging__Console__IsEnabled=false EXPOSE 80 COPY --from=installer-env ["/home/site/wwwroot", "/home/site/wwwroot"] \ No newline at end of file diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 71c9dea..365874e 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -81,13 +81,15 @@ microservice-chart: WEBSITE_SITE_NAME: "pagopagpduploadfunction" # required to show cloud role name in application insights FUNCTIONS_WORKER_RUNTIME: "java" GPD_HOST: "https://api.dev.platform.pagopa.it/gpd/api" + RETRY_MAX_ATTEMPTS: "1" + RETRY_MAX_DELAY: "10000" + BLOCK_SIZE: "10" COSMOS_URI: "https://pagopa-d-weu-gps-cosmos-account.documents.azure.com:443/" GPD_DB_NAME: "gpd_db" GPD_CONTAINER_NAME: "gpd_upload_status" BLOB_EVENTS_QUEUE: "gpd-blob-events-queue" VALID_POSITIONS_QUEUE: "gpd-valid-debt-position-queue" CHUNK_SIZE: "50" - BLOCK_SIZE: "10" MAX_RETRY: "1" RETRY_DELAY_IN_SECONDS: "300" envFieldRef: