71 lines
1.6 KiB
YAML
71 lines
1.6 KiB
YAML
spring:
|
|
autoconfigure:
|
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ant_path_matcher
|
|
# i18n resource file path
|
|
messages:
|
|
# i18n resource file path
|
|
basename: optional:file:/opt/wfc/conf/i18n/messages,i18n/messages
|
|
# Enable remote debugging
|
|
devtools:
|
|
remote:
|
|
secret: 123456
|
|
|
|
# feign config
|
|
feign:
|
|
sentinel:
|
|
enabled: true
|
|
okhttp:
|
|
enabled: false
|
|
httpclient:
|
|
enabled: true
|
|
disable-ssl-validation: true
|
|
client:
|
|
config:
|
|
default:
|
|
connectTimeout: 60000
|
|
readTimeout: 60000
|
|
compression:
|
|
request:
|
|
enabled: true
|
|
min-request-size: 8192
|
|
response:
|
|
enabled: true
|
|
|
|
# eureka config
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: '*'
|
|
|
|
mail:
|
|
enabled: true
|
|
host: mail.agrandtech.com
|
|
port: 465
|
|
# Enable authentication
|
|
auth: true
|
|
# Sender, follows RFC-822 standard
|
|
from: smtpex <smtpex@agrantech.com>
|
|
# User name
|
|
user: smtpex
|
|
# Password
|
|
pass: Smtp123@agt
|
|
# Use TLS security connection
|
|
starttlsEnable: true
|
|
# Use SSL security connection
|
|
sslEnable: true
|
|
# Timeout value for sending mail, in milliseconds
|
|
timeout: 0
|
|
# Connection timeout value, in milliseconds
|
|
connectionTimeout: 0
|
|
|
|
# Omada config
|
|
omada:
|
|
# web url or host exp: 'https://192.168.2.249:8043'
|
|
omada-url: 'https://aps1-omada-northbound.tplinkcloud.com'
|
|
omadac-id: 'c4decbf73f80094019d664506ec9b4d4'
|
|
client-id: '6110a77822234243a033e652d1e8a3ae'
|
|
client-secret: '651957da95f14f45b719876bb68bd6f5' |