将 system 模块接入 SCA Dubbo 和 Nacos Discovery 组件。

This commit is contained in:
YunaiV
2020-04-11 23:13:00 +08:00
parent 363f6b208d
commit a248a4b3b4
15 changed files with 69 additions and 370 deletions

View File

@@ -1,18 +0,0 @@
spring:
boot:
admin:
client:
enabled: false # 暂时不用了
url: http://127.0.0.1:18097
#management:
# endpoints:
# web:
# exposure:
# include: "*"
# server:
# port: 19083 # 配置独立端口。而该端口,不使用 nginx 对外暴露,从而不配置安全认证。也就是说,内网环境可访问,外网环境不可访问。当然,这么做的前提是,认为内网安全。
swagger:
enable: true # 暂时不去掉

View File

@@ -1,14 +1,7 @@
spring:
application:
name: admin-application
cloud:
sentinel:
transport:
port: 8719
dashboard: localhost:12088
metric:
charset: UTF-8
eager: false
# server
server:
@@ -32,11 +25,3 @@ swagger:
description: 管理员子系统
version: 1.0.0
base-package: cn.iocoder.mall.admin.application.controller
management:
endpoints:
web:
exposure:
include: health,info,env,metrics,prometheus
metrics:
enabled: true