middleware_agent/config/application-common.yml

44 lines
904 B
YAML

server :
port : 9276
servlet :
context-path: /cmhi
compression:
# 开启响应压缩
enabled : true
mime-types :
- application/json # RESTful API JSON
# 进行压缩的最小体积
min-response-size: 1KB
# Crypto Configure
jasypt :
encryptor:
algorithm: PBEWITHHMACSHA512ANDAES_256
password :
spring :
mvc :
throw-exception-if-no-handler-found: true
web :
resources:
add-mappings: false
jackson:
date-format : yyyy-MM-dd HH:mm:ss.SSS
timezone : GMT+8
default-property-inclusion: non_null
mapper :
default-view-inclusion: true
deserialization :
fail-on-unknown-properties: false
log4j :
logger:
org:
mybatis: info
# swagger-ui custom path
springdoc:
swagger-ui:
path: /swagger-ui.html