36 lines
667 B
YAML
36 lines
667 B
YAML
server:
|
|
port: 38011
|
|
spring:
|
|
profiles:
|
|
active: local
|
|
application:
|
|
name: xservice-auth-center
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ant_path_matcher
|
|
main:
|
|
allow-bean-definition-overriding: true
|
|
headless: true
|
|
cloud:
|
|
loadbalancer:
|
|
retry:
|
|
enabled: false
|
|
cache:
|
|
enabled: true
|
|
cache:
|
|
type: caffeine
|
|
caffeine:
|
|
spec: initialCapacity=100,maximumSize=1000,expireAfterWrite=30s
|
|
|
|
mybatis:
|
|
mapper-locations:
|
|
- classpath*:mapper/*/*.xml
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
|
|
feign:
|
|
client:
|
|
config:
|
|
default:
|
|
connectTimeout: 1000
|
|
readTimeout: 3000 |