refactor(all): 初始化项目
迁移项目到独立的 service 进行集中开发 包含以下组件的查询 API 服务 flink hudi database(info) pulsar yarn 包含前端服务和 UI web 包含公共代码 configuration
This commit is contained in:
35
service-web/src/main/resources/application.yml
Normal file
35
service-web/src/main/resources/application.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
server:
|
||||
port: 38000
|
||||
spring:
|
||||
application:
|
||||
name: service-web
|
||||
main:
|
||||
banner-mode: off
|
||||
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
|
||||
Reference in New Issue
Block a user