Skip to content

Commit

Permalink
reverted db configuration to use myPay
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioT90 committed Jan 13, 2025
1 parent f6eaff5 commit 7319390
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ microservice-chart:
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: appinsights-connection-string
ORGANIZATION_DB_HOST: db-host
ORGANIZATION_DB_USER: db-piattaforma-unitaria-login-username
ORGANIZATION_DB_PASSWORD: db-piattaforma-unitaria-login-password
ORGANIZATION_DB_USER: db-mypay-login-username
ORGANIZATION_DB_PASSWORD: db-mypay-login-password
# To switch to new db
# ORGANIZATION_DB_USER: db-piattaforma-unitaria-login-username
# ORGANIZATION_DB_PASSWORD: db-piattaforma-unitaria-login-password
BROKER_ENCRYPT_PASSWORD: broker-encrypt-password
JWT_TOKEN_PUBLIC_KEY: jwt-public-key

Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ spring:
virtual:
enabled: "\${VIRTUAL_THREADS_ENABLED:true}"
datasource:
url: "\${ORGANIZATION_DB_URL:jdbc:postgresql://\${ORGANIZATION_DB_HOST:localhost}:\${ORGANIZATION_DB_PORT:5432}/\${ORGANIZATION_DB_NAME:payhub}?currentSchema=organization}"
url: "\${ORGANIZATION_DB_URL:jdbc:postgresql://\${ORGANIZATION_DB_HOST:localhost}:\${ORGANIZATION_DB_PORT:5432}/\${ORGANIZATION_DB_NAME:mypay}}"
# To switch to new db
#url: "\${ORGANIZATION_DB_URL:jdbc:postgresql://\${ORGANIZATION_DB_HOST:localhost}:\${ORGANIZATION_DB_PORT:5432}/\${ORGANIZATION_DB_NAME:payhub}?currentSchema=organization}"
username: "\${ORGANIZATION_DB_USER}"
password: "\${ORGANIZATION_DB_PASSWORD}"
driverClassName: org.postgresql.Driver
Expand Down

0 comments on commit 7319390

Please sign in to comment.