Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Account-Service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ spring:
url: jdbc:mysql://localhost:3306/account_service
username: root
password: root
hikari:
maximum-pool-size: 10
minimum-idle: 5
idle-timeout: 600000
connection-timeout: 60000
max-lifetime: 1800000
connection-test-query: SELECT 1

jpa:
hibernate:
Expand Down
9 changes: 8 additions & 1 deletion Fund-Transfer/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ spring:
url: jdbc:mysql://localhost:3306/fund_transfer_service
username: root
password: root
hikari:
maximum-pool-size: 15
minimum-idle: 5
idle-timeout: 600000
connection-timeout: 60000
max-lifetime: 1800000
connection-test-query: SELECT 1

jpa:
hibernate:
Expand All @@ -20,4 +27,4 @@ spring:

properties:
hibernate:
format_sql: true
format_sql: true
9 changes: 8 additions & 1 deletion Transaction-Service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ spring:
url: jdbc:mysql://localhost:3306/transaction_service
username: root
password: root
hikari:
maximum-pool-size: 15
minimum-idle: 5
idle-timeout: 600000
connection-timeout: 60000
max-lifetime: 1800000
connection-test-query: SELECT 1

jpa:
hibernate:
Expand All @@ -19,4 +26,4 @@ spring:
format_sql: true

server:
port: 8084
port: 8084
7 changes: 7 additions & 0 deletions User-Service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ spring:
url: jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DB_NAME:user_service}
username: ${MYSQL_USER:root}
password: ${MYSQL_PASSWORD:root}
hikari:
maximum-pool-size: 10
minimum-idle: 5
idle-timeout: 600000
connection-timeout: 60000
max-lifetime: 1800000
connection-test-query: SELECT 1
jpa:
hibernate:
ddl-auto: update
Expand Down