From a71b83e98cfd92f066cce75778325fed309addd2 Mon Sep 17 00:00:00 2001 From: Jacopo Date: Fri, 7 Jun 2024 18:01:20 +0200 Subject: [PATCH 1/2] hotfix parallel stream idDominio --- helm/values-dev.yaml | 1 + helm/values-prod.yaml | 1 + helm/values-uat.yaml | 1 + .../service/CreditorInstitutionsService.java | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 22d8f74..61dd1f9 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -101,6 +101,7 @@ microservice-chart: µservice-chart CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}' APP_LOGGING_LEVEL: 'DEBUG' DEFAULT_LOGGING_LEVEL: 'INFO' + SHOW_SQL: 'false' OTEL_SERVICE_NAME: "pagopa-api-config-selfcare-integration" OTEL_RESOURCE_ATTRIBUTES: "deployment.environment=azure-dev" OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector.elastic-system.svc:4317" diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index f2400e5..226a10a 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -101,6 +101,7 @@ microservice-chart: µservice-chart CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}' APP_LOGGING_LEVEL: 'DEBUG' DEFAULT_LOGGING_LEVEL: 'INFO' + SHOW_SQL: 'false' OTEL_SERVICE_NAME: "pagopa-api-config-selfcare-integration" OTEL_RESOURCE_ATTRIBUTES: "deployment.environment=azure-prod" OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector.elastic-system.svc:4317" diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 29150f0..8a1ff86 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -101,6 +101,7 @@ microservice-chart: µservice-chart CORS_CONFIGURATION: '{"origins": ["*"], "methods": ["*"]}' APP_LOGGING_LEVEL: 'DEBUG' DEFAULT_LOGGING_LEVEL: 'INFO' + SHOW_SQL: 'false' OTEL_SERVICE_NAME: "pagopa-api-config-selfcare-integration" OTEL_RESOURCE_ATTRIBUTES: "deployment.environment=azure-uat" OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector.elastic-system.svc:4317" diff --git a/src/main/java/it/gov/pagopa/apiconfig/selfcareintegration/service/CreditorInstitutionsService.java b/src/main/java/it/gov/pagopa/apiconfig/selfcareintegration/service/CreditorInstitutionsService.java index cd81a7c..8560707 100644 --- a/src/main/java/it/gov/pagopa/apiconfig/selfcareintegration/service/CreditorInstitutionsService.java +++ b/src/main/java/it/gov/pagopa/apiconfig/selfcareintegration/service/CreditorInstitutionsService.java @@ -154,7 +154,7 @@ public List getStationCreditorInstitutions(String stationCode) { .orElseThrow(() -> new AppException(AppError.STATION_NOT_FOUND, stationCode)); List stazionePaList = this.ciStationRepository.findByFkStazione(station); - return stazionePaList.parallelStream() + return stazionePaList.stream() .map(paStazionePa -> paStazionePa.getPa().getIdDominio()) .toList(); } From e5f02ce0e2cf389af2dca6d08629a0e343ab6efd Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Fri, 7 Jun 2024 16:04:56 +0000 Subject: [PATCH 2/2] Bump to version 1.11.0-1-hotfix-iddominio [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 7745e09..c89cdb8 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-api-config-selfcare-integration description: Microservice that manages requests from selfcare type: application -version: 1.91.0 -appVersion: 1.11.0 +version: 1.92.0 +appVersion: 1.11.0-1-hotfix-iddominio dependencies: - name: microservice-chart version: 2.8.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 61dd1f9..0cc720e 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart envSecret: {} image: repository: ghcr.io/pagopa/pagopa-api-config-selfcare-integration - tag: "1.11.0" + tag: "1.11.0-1-hotfix-iddominio" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 226a10a..72e7737 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart envSecret: {} image: repository: ghcr.io/pagopa/pagopa-api-config-selfcare-integration - tag: "1.11.0" + tag: "1.11.0-1-hotfix-iddominio" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 8a1ff86..d04a93c 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart envSecret: {} image: repository: ghcr.io/pagopa/pagopa-api-config-selfcare-integration - tag: "1.11.0" + tag: "1.11.0-1-hotfix-iddominio" pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index eb2260f..1fb1716 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "title": "API-Config - SelfCare Integration", "description": "Spring application exposes APIs for SelfCare", "termsOfService": "https://www.pagopa.gov.it/", - "version": "1.11.0" + "version": "1.11.0-1-hotfix-iddominio" }, "servers": [ { diff --git a/pom.xml b/pom.xml index 65bf25b..5d766d1 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.gov.pagopa.api-config selfcareintegration - 1.11.0 + 1.11.0-1-hotfix-iddominio API-Config - SelfCare Integration Spring application exposes APIs for SelfCare