feature(web): 迁移接口调用到 forest 公共模块
This commit is contained in:
@@ -1,35 +1,9 @@
|
||||
server:
|
||||
port: 38000
|
||||
spring:
|
||||
application:
|
||||
name: service-web
|
||||
main:
|
||||
banner-mode: off
|
||||
profiles:
|
||||
include: common,eureka,metrics,forest
|
||||
jackson:
|
||||
serialization:
|
||||
fail-on-empty-beans: false
|
||||
default-property-inclusion: non_null
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
endpoint:
|
||||
prometheus:
|
||||
enabled: true
|
||||
metrics:
|
||||
export:
|
||||
jmx:
|
||||
enabled: false
|
||||
eureka:
|
||||
instance:
|
||||
hostname: localhost
|
||||
prefer-ip-address: true
|
||||
instance-id: ${spring.application.name}-${eureka.instance.hostname}-${random.uuid}-${datetime}
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:35670/eureka/
|
||||
forest:
|
||||
interceptors: com.lanyuanxiaoyao.service.web.configuration.forest.SringCloudDiscovryInterceptor
|
||||
log-enabled: false
|
||||
timeout: 60000
|
||||
server:
|
||||
port: 38000
|
||||
Reference in New Issue
Block a user