|
@@ -1,15 +1,6 @@
|
|
|
-
|
|
|
server:
|
|
|
port:
|
|
|
${SERVER_PORT:8080}
|
|
|
-paas:
|
|
|
- nacos:
|
|
|
- ip: ${pass.nacos.ip}
|
|
|
- port: ${pass.nacos.port}
|
|
|
- username: ${pass.nacos.username}
|
|
|
- password: ${pass.nacos.password}
|
|
|
- namespace: ${pass.nacos.namespace}
|
|
|
- group: ${pass.nacos.group}
|
|
|
spring:
|
|
|
application:
|
|
|
name: dmp-alarm
|
|
@@ -49,8 +40,8 @@ spring:
|
|
|
cloud:
|
|
|
nacos:
|
|
|
config:
|
|
|
- server-addr: ${paas.nacos.ip}:${paas.nacos.port}
|
|
|
- namespace: ${pass.nacos.namespace}
|
|
|
+ server-addr: ${persagy.nacos.ip}:${persagy.nacos.port}
|
|
|
+ namespace: ${persagy.nacos.namespace}
|
|
|
shared-configs:
|
|
|
- dataId: common
|
|
|
refresh: true
|
|
@@ -58,14 +49,14 @@ spring:
|
|
|
refresh: true
|
|
|
group: v4.2.0
|
|
|
enabled: true
|
|
|
- username: ${paas.nacos.username}
|
|
|
- password: ${paas.nacos.password}
|
|
|
+ username: ${persagy.nacos.username}
|
|
|
+ password: ${persagy.nacos.password}
|
|
|
configLongPollTimeout: 6000
|
|
|
discovery:
|
|
|
- username: ${paas.nacos.username}
|
|
|
- password: ${paas.nacos.password}
|
|
|
- server-addr: ${paas.nacos.ip}:${paas.nacos.port}
|
|
|
- namespace: ${pass.nacos.namespace}
|
|
|
+ username: ${persagy.nacos.username}
|
|
|
+ password: ${persagy.nacos.password}
|
|
|
+ server-addr: ${persagy.nacos.ip}:${persagy.nacos.port}
|
|
|
+ namespace: ${persagy.nacos.namespace}
|
|
|
metadata: # 元数据,用于权限服务实时获取各个服务的所有接口
|
|
|
management.context-path: ${server.servlet.context-path:}${spring.mvc.servlet.path:}${management.endpoints.web.base-path:}
|
|
|
feign:
|