Skip to content

Commit

Permalink
Merge pull request #31 from pagopa/NOD-383-jdbc-connection-error
Browse files Browse the repository at this point in the history
[NOD-383] jdbc connection error
  • Loading branch information
aomegax authored Jul 21, 2023
2 parents ce59665 + 2d6f273 commit 23f077b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion helm/weu-prod/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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(/|$)(.*)
Expand Down
2 changes: 1 addition & 1 deletion helm/weu-uat/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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(/|$)(.*)
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_nodev1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_verifierv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>it.gov.pagopa.api-config</groupId>
<artifactId>cache</artifactId>
<version>0.6.0-2-NOD-378-out-of-memory</version>
<version>0.6.0-3-NOD-383-jdbc-connection-error</version>
<name>API-Config Cacher</name>
<description>Generate cache for regarding Nodo dei Pagamenti configuration</description>

Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 23f077b

Please sign in to comment.