|
|
@ -3,30 +3,30 @@ server:
|
|
|
|
servlet:
|
|
|
|
servlet:
|
|
|
|
context-path:
|
|
|
|
context-path:
|
|
|
|
error:
|
|
|
|
error:
|
|
|
|
include-exception: true
|
|
|
|
include-exception: true
|
|
|
|
include-stacktrace: never
|
|
|
|
include-stacktrace: never
|
|
|
|
path: '/error' #http://~/error 호출
|
|
|
|
path: '/error' #http://~/error 호출
|
|
|
|
whitelabel:
|
|
|
|
whitelabel:
|
|
|
|
enabled: true
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
profiles:
|
|
|
|
profiles:
|
|
|
|
# active: local
|
|
|
|
# active: local
|
|
|
|
active: '@spring.profiles.active@'
|
|
|
|
active: '@spring.profiles.active@'
|
|
|
|
# include:
|
|
|
|
# include:
|
|
|
|
# prodDB
|
|
|
|
# prodDB
|
|
|
|
# group:
|
|
|
|
# group:
|
|
|
|
# local:
|
|
|
|
# local:
|
|
|
|
# - localDB
|
|
|
|
# - localDB
|
|
|
|
# prod:
|
|
|
|
# prod:
|
|
|
|
# - prodDB
|
|
|
|
# - prodDB
|
|
|
|
config:
|
|
|
|
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
|
|
|
|
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:
|
|
|
|
# main:
|
|
|
|
# allow-bean-definition-overriding: true
|
|
|
|
# allow-bean-definition-overriding: true
|
|
|
|
|
|
|
|
|
|
|
|
pid:
|
|
|
|
pid:
|
|
|
|
file: mdpost.pid
|
|
|
|
file: mdpost.pid
|
|
|
@ -37,7 +37,7 @@ spring:
|
|
|
|
suffix: .jsp
|
|
|
|
suffix: .jsp
|
|
|
|
devtools:
|
|
|
|
devtools:
|
|
|
|
livereload:
|
|
|
|
livereload:
|
|
|
|
enabled: true
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
sql:
|
|
|
|
sql:
|
|
|
|
init:
|
|
|
|
init:
|
|
|
@ -49,44 +49,44 @@ spring:
|
|
|
|
connection-test-query: SELECT 1
|
|
|
|
connection-test-query: SELECT 1
|
|
|
|
minimum-idle: 10
|
|
|
|
minimum-idle: 10
|
|
|
|
maximum-pool-size: 50
|
|
|
|
maximum-pool-size: 50
|
|
|
|
# transaction-isolation: TRANSACTION_READ_UNCOMMITTED
|
|
|
|
# transaction-isolation: TRANSACTION_READ_UNCOMMITTED
|
|
|
|
transaction-isolation: TRANSACTION_READ_COMMITTED
|
|
|
|
transaction-isolation: TRANSACTION_READ_COMMITTED
|
|
|
|
pool-name: pool-xitworld
|
|
|
|
pool-name: pool-xitworld
|
|
|
|
data-source-properties:
|
|
|
|
data-source-properties:
|
|
|
|
rewriteBatchedStatments: true
|
|
|
|
rewriteBatchedStatments: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jpa:
|
|
|
|
jpa:
|
|
|
|
database-platform: org.hibernate.dialect.MariaDB103Dialect
|
|
|
|
database-platform: org.hibernate.dialect.MariaDB103Dialect
|
|
|
|
show-sql: true
|
|
|
|
# show-sql: true
|
|
|
|
# generate-ddl: true #TODO: 필요 시 주석해제. generate-ddl를 true 설정 시 ddl-auto의 설정값과 무관하게 DDL 스크립트 실행
|
|
|
|
# generate-ddl: true #TODO: 필요 시 주석해제. generate-ddl를 true 설정 시 ddl-auto의 설정값과 무관하게 DDL 스크립트 실행
|
|
|
|
hibernate:
|
|
|
|
hibernate:
|
|
|
|
ddl-auto: none
|
|
|
|
ddl-auto: none
|
|
|
|
naming:
|
|
|
|
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
|
|
|
|
physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
hibernate:
|
|
|
|
hibernate:
|
|
|
|
format_sql: true
|
|
|
|
# format_sql: true
|
|
|
|
use_sql_comments: true
|
|
|
|
# use_sql_comments: true
|
|
|
|
order_inserts: true
|
|
|
|
order_inserts: true
|
|
|
|
order_updates: true
|
|
|
|
order_updates: true
|
|
|
|
jdbc:
|
|
|
|
jdbc:
|
|
|
|
batch_size: 200
|
|
|
|
batch_size: 200
|
|
|
|
# default_batch_fetch_size: ${chunkSize:100}
|
|
|
|
# default_batch_fetch_size: ${chunkSize:100}
|
|
|
|
# dialect: org.hibernate.dialect.MySQL57InnoDBDialect
|
|
|
|
# dialect: org.hibernate.dialect.MySQL57InnoDBDialect
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cache:
|
|
|
|
cache:
|
|
|
|
type: redis
|
|
|
|
type: redis
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
host: ${server.host:localhost}
|
|
|
|
host: ${server.host:localhost}
|
|
|
|
port: 16379
|
|
|
|
port: 16379
|
|
|
|
# password:
|
|
|
|
# password:
|
|
|
|
# database:
|
|
|
|
# database:
|
|
|
|
# timeout:
|
|
|
|
# timeout:
|
|
|
|
# sentinel:
|
|
|
|
# sentinel:
|
|
|
|
# master:
|
|
|
|
# master:
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
repositories:
|
|
|
|
repositories:
|
|
|
|