diff --git a/helm/weu-prod/values-prod.yaml b/helm/weu-prod/values-prod.yaml
index 28f1a8b1..b07ef8ee 100644
--- a/helm/weu-prod/values-prod.yaml
+++ b/helm/weu-prod/values-prod.yaml
@@ -69,7 +69,7 @@ oracle:
!!merge <<: *basecache
image:
repository: pagopapcommonacr.azurecr.io/pagopaapiconfigcache
- tag: "0.6.0-2-NOD-378-out-of-memory"
+ tag: "0.6.0-3-NOD-383-jdbc-connection-error"
ingress:
!!merge <<: *ingress
path: /api-config-cache/o(/|$)(.*)
diff --git a/helm/weu-uat/values-uat.yaml b/helm/weu-uat/values-uat.yaml
index 17ed04bd..b074d021 100644
--- a/helm/weu-uat/values-uat.yaml
+++ b/helm/weu-uat/values-uat.yaml
@@ -69,7 +69,7 @@ oracle:
!!merge <<: *basecache
image:
repository: pagopaucommonacr.azurecr.io/pagopaapiconfigcache
- tag: "0.6.0-2-NOD-378-out-of-memory"
+ tag: "0.6.0-3-NOD-383-jdbc-connection-error"
ingress:
!!merge <<: *ingress
path: /api-config-cache/o(/|$)(.*)
diff --git a/openapi/openapi.json b/openapi/openapi.json
index de0e45e1..d11804d0 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -4,7 +4,7 @@
"title": "API-Config Cacher",
"description": "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService": "https://www.pagopa.gov.it/",
- "version": "0.6.0-2-NOD-378-out-of-memory"
+ "version": "0.6.0-3-NOD-383-jdbc-connection-error"
},
"servers": [
{
diff --git a/openapi/openapi_fdrv1.json b/openapi/openapi_fdrv1.json
index 2b4bdf7d..cf9ddff2 100644
--- a/openapi/openapi_fdrv1.json
+++ b/openapi/openapi_fdrv1.json
@@ -4,7 +4,7 @@
"title": "API-Config Cacher",
"description": "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService": "https://www.pagopa.gov.it/",
- "version": "0.6.0-2-NOD-378-out-of-memory"
+ "version": "0.6.0-3-NOD-383-jdbc-connection-error"
},
"servers": [
{
diff --git a/openapi/openapi_nodev1.json b/openapi/openapi_nodev1.json
index d8844c37..474429a9 100644
--- a/openapi/openapi_nodev1.json
+++ b/openapi/openapi_nodev1.json
@@ -4,7 +4,7 @@
"title": "API-Config Cacher",
"description": "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService": "https://www.pagopa.gov.it/",
- "version": "0.6.0-2-NOD-378-out-of-memory"
+ "version": "0.6.0-3-NOD-383-jdbc-connection-error"
},
"servers": [
{
diff --git a/openapi/openapi_verifierv1.json b/openapi/openapi_verifierv1.json
index 0e0ecc15..4ace9e22 100644
--- a/openapi/openapi_verifierv1.json
+++ b/openapi/openapi_verifierv1.json
@@ -4,7 +4,7 @@
"title": "API-Config Cacher",
"description": "Generate cache for regarding Nodo dei Pagamenti configuration",
"termsOfService": "https://www.pagopa.gov.it/",
- "version": "0.6.0-2-NOD-378-out-of-memory"
+ "version": "0.6.0-3-NOD-383-jdbc-connection-error"
},
"servers": [
{
diff --git a/pom.xml b/pom.xml
index e302b5c9..8f77c5d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
it.gov.pagopa.api-config
cache
- 0.6.0-2-NOD-378-out-of-memory
+ 0.6.0-3-NOD-383-jdbc-connection-error
API-Config Cacher
Generate cache for regarding Nodo dei Pagamenti configuration
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index cd4507ab..f32ebb61 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -30,7 +30,8 @@ spring.datasource.username=${DB_CONFIG_USER}
spring.datasource.password=${DB_CONFIG_PASSWORD}
spring.datasource.driver-class-name=${DB_CONFIG_DRIVER}
spring.datasource.hikari.maxLifetime=30000
-spring.datasource.hikari.keepaliveTime=5000
+spring.datasource.hikari.keepaliveTime=30000
+spring.datasource.hikari.connection-test-query=${HEALTHCHECK_QUERY:select 1}
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.database.id=${DATABASE_ID}