Skip to content

Commit

Permalink
Update Application Properties (DEV, PROD)
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Diger committed Mar 19, 2024
1 parent a88ddd9 commit a1740b9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
16 changes: 16 additions & 0 deletions shorts-domain/src/main/resources/domain-config/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,24 @@ spring:
show_sql: true
format_sql: true
use_sql_comments: true
jdbc:
batch_size: 101
order_inserts: true
order_updates: true
cache:
use_second_level_cache: true
use_query_cache: true
region.factory_class: org.hibernate.cache.jcache.JCacheRegionFactory

datasource:
url: ENC(m/cWWqilVqoIWWZKyTOxLLsTKnV35HECpNON0Hkw0X4k8S/VPOYbRlchcchUBnwkU54flUpjJFJo29Zj+2rsVXbPDP3RxooQAcptBDZJXDz5TT4eX0N2W3NPg/L9fqVgDR76wNMvxNNBDh2xUVmeumlj63Ej/zEHG3qrms2BtCo=)
username: ENC(VWvxuZYAz4whqGlh7q636WiTgrkjfRG2LWNmIBu3chYPC1M/S9hBESk+44smnAyY)
password: ENC(XyE1+hgtbCB30SYGXjjc2nAitbDxk88KGPpdNx3dUWwiB5rxI4Lv0NLMUCKWO83f)
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
maximum-pool-size: 20
minimum-idle: 5
idle-timeout: 10000
pool-name: SpringHikariCP
max-lifetime: 2000000
connection-timeout: 30000
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,26 @@ spring:
database-platform: org.hibernate.dialect.MySQL8Dialect
hibernate:
ddl-auto: validate
properties:
hibernate:
jdbc:
batch_size: 101
order_inserts: true
order_updates: true
cache:
use_second_level_cache: true
use_query_cache: true
region.factory_class: org.hibernate.cache.jcache.JCacheRegionFactory

datasource:
url: ENC(m/cWWqilVqoIWWZKyTOxLLsTKnV35HECpNON0Hkw0X4k8S/VPOYbRlchcchUBnwkU54flUpjJFJo29Zj+2rsVXbPDP3RxooQAcptBDZJXDz5TT4eX0N2W3NPg/L9fqVgDR76wNMvxNNBDh2xUVmeumlj63Ej/zEHG3qrms2BtCo=)
username: ENC(VWvxuZYAz4whqGlh7q636WiTgrkjfRG2LWNmIBu3chYPC1M/S9hBESk+44smnAyY)
password: ENC(XyE1+hgtbCB30SYGXjjc2nAitbDxk88KGPpdNx3dUWwiB5rxI4Lv0NLMUCKWO83f)
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
maximum-pool-size: 20
minimum-idle: 5
idle-timeout: 10000
pool-name: SpringHikariCP
max-lifetime: 2000000
connection-timeout: 30000

0 comments on commit a1740b9

Please sign in to comment.