feature(web): 迁移接口调用到 forest 公共模块

This commit is contained in:
2023-05-01 16:48:55 +08:00
parent 8731f641ea
commit 243e162917
19 changed files with 29 additions and 189 deletions

View File

@@ -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