|
|
|
@ -14,19 +14,19 @@ server:
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
profiles:
|
|
|
|
|
# active: local
|
|
|
|
|
# active: local
|
|
|
|
|
active: '@spring.profiles.active@'
|
|
|
|
|
# include:
|
|
|
|
|
# prodDB
|
|
|
|
|
# group:
|
|
|
|
|
# local:
|
|
|
|
|
# - localDB
|
|
|
|
|
# prod:
|
|
|
|
|
# - prodDB
|
|
|
|
|
# include:
|
|
|
|
|
# prodDB
|
|
|
|
|
# group:
|
|
|
|
|
# local:
|
|
|
|
|
# - localDB
|
|
|
|
|
# prod:
|
|
|
|
|
# - prodDB
|
|
|
|
|
config:
|
|
|
|
|
import: classpath:config/conf-app.yml, classpath:config/conf-contract.yml, classpath:config/conf-log.yml, classpath:config/conf-mybatis.yml, classpath:config/conf-policy.yml, classpath:config/conf-slack.yml
|
|
|
|
|
# main:
|
|
|
|
|
# allow-bean-definition-overriding: true
|
|
|
|
|
# allow-bean-definition-overriding: true
|
|
|
|
|
|
|
|
|
|
pid:
|
|
|
|
|
file: mdpost.pid
|
|
|
|
@ -49,7 +49,7 @@ spring:
|
|
|
|
|
connection-test-query: SELECT 1
|
|
|
|
|
minimum-idle: 10
|
|
|
|
|
maximum-pool-size: 50
|
|
|
|
|
# transaction-isolation: TRANSACTION_READ_UNCOMMITTED
|
|
|
|
|
# transaction-isolation: TRANSACTION_READ_UNCOMMITTED
|
|
|
|
|
transaction-isolation: TRANSACTION_READ_COMMITTED
|
|
|
|
|
pool-name: pool-xitworld
|
|
|
|
|
data-source-properties:
|
|
|
|
@ -58,23 +58,23 @@ spring:
|
|
|
|
|
|
|
|
|
|
jpa:
|
|
|
|
|
database-platform: org.hibernate.dialect.MariaDB103Dialect
|
|
|
|
|
show-sql: true
|
|
|
|
|
# generate-ddl: true #TODO: 필요 시 주석해제. generate-ddl를 true 설정 시 ddl-auto의 설정값과 무관하게 DDL 스크립트 실행
|
|
|
|
|
# show-sql: true
|
|
|
|
|
# generate-ddl: true #TODO: 필요 시 주석해제. generate-ddl를 true 설정 시 ddl-auto의 설정값과 무관하게 DDL 스크립트 실행
|
|
|
|
|
hibernate:
|
|
|
|
|
ddl-auto: none
|
|
|
|
|
naming:
|
|
|
|
|
# implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
|
|
|
|
|
# implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
|
|
|
|
|
physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
|
|
|
|
|
properties:
|
|
|
|
|
hibernate:
|
|
|
|
|
format_sql: true
|
|
|
|
|
use_sql_comments: true
|
|
|
|
|
# format_sql: true
|
|
|
|
|
# use_sql_comments: true
|
|
|
|
|
order_inserts: true
|
|
|
|
|
order_updates: true
|
|
|
|
|
jdbc:
|
|
|
|
|
batch_size: 200
|
|
|
|
|
# default_batch_fetch_size: ${chunkSize:100}
|
|
|
|
|
# dialect: org.hibernate.dialect.MySQL57InnoDBDialect
|
|
|
|
|
# default_batch_fetch_size: ${chunkSize:100}
|
|
|
|
|
# dialect: org.hibernate.dialect.MySQL57InnoDBDialect
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cache:
|
|
|
|
@ -82,11 +82,11 @@ spring:
|
|
|
|
|
redis:
|
|
|
|
|
host: ${server.host:localhost}
|
|
|
|
|
port: 16379
|
|
|
|
|
# password:
|
|
|
|
|
# database:
|
|
|
|
|
# timeout:
|
|
|
|
|
# sentinel:
|
|
|
|
|
# master:
|
|
|
|
|
# password:
|
|
|
|
|
# database:
|
|
|
|
|
# timeout:
|
|
|
|
|
# sentinel:
|
|
|
|
|
# master:
|
|
|
|
|
data:
|
|
|
|
|
redis:
|
|
|
|
|
repositories:
|
|
|
|
|