|
|
|
@ -3,30 +3,30 @@ server:
|
|
|
|
|
servlet:
|
|
|
|
|
context-path:
|
|
|
|
|
error:
|
|
|
|
|
include-exception: true
|
|
|
|
|
include-stacktrace: never
|
|
|
|
|
include-exception: true
|
|
|
|
|
include-stacktrace: never
|
|
|
|
|
path: '/error' #http://~/error 호출
|
|
|
|
|
whitelabel:
|
|
|
|
|
enabled: true
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
@ -37,7 +37,7 @@ spring:
|
|
|
|
|
suffix: .jsp
|
|
|
|
|
devtools:
|
|
|
|
|
livereload:
|
|
|
|
|
enabled: true
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
sql:
|
|
|
|
|
init:
|
|
|
|
@ -49,44 +49,44 @@ 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:
|
|
|
|
|
rewriteBatchedStatments: true
|
|
|
|
|
rewriteBatchedStatments: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
|
|
|
|
|
# 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:
|
|
|
|
|
type: redis
|
|
|
|
|
redis:
|
|
|
|
|
host: ${server.host:localhost}
|
|
|
|
|
port: 16379
|
|
|
|
|
# password:
|
|
|
|
|
# database:
|
|
|
|
|
# timeout:
|
|
|
|
|
# sentinel:
|
|
|
|
|
# master:
|
|
|
|
|
host: ${server.host:localhost}
|
|
|
|
|
port: 16379
|
|
|
|
|
# password:
|
|
|
|
|
# database:
|
|
|
|
|
# timeout:
|
|
|
|
|
# sentinel:
|
|
|
|
|
# master:
|
|
|
|
|
data:
|
|
|
|
|
redis:
|
|
|
|
|
repositories:
|
|
|
|
|