master
chenbingxuan 2023-12-14 18:58:55 +08:00
parent 09d608215c
commit f4aec38b54
1 changed files with 18 additions and 1 deletions

View File

@ -23,6 +23,7 @@ spring:
- Path=/sys/**
filters:
- StripPrefix=1
- id: srt-cloud-quartz
uri: lb://srt-cloud-quartz
order: 2
@ -30,6 +31,7 @@ spring:
- Path=/schedule/**
filters:
- StripPrefix=1
- id: srt-cloud-message
uri: lb://srt-cloud-message
order: 3
@ -37,6 +39,7 @@ spring:
- Path=/message/**
filters:
- StripPrefix=1
- id: srt-cloud-data-integrate
uri: lb://srt-cloud-data-integrate
order: 4
@ -44,6 +47,7 @@ spring:
- Path=/data-integrate/**
filters:
- StripPrefix=1
- id: srt-cloud-data-development
uri: lb://srt-cloud-data-development
order: 5
@ -51,6 +55,7 @@ spring:
- Path=/data-development/**
filters:
- StripPrefix=1
- id: srt-cloud-data-service
uri: lb://srt-cloud-data-service
order: 6
@ -58,6 +63,7 @@ spring:
- Path=/data-service/**
filters:
- StripPrefix=1
- id: srt-cloud-data-governance
uri: lb://srt-cloud-data-governance
order: 7
@ -65,6 +71,7 @@ spring:
- Path=/data-governance/**
filters:
- StripPrefix=1
- id: srt-cloud-data-assets
uri: lb://srt-cloud-data-assets
order: 8
@ -72,19 +79,29 @@ spring:
- Path=/data-assets/**
filters:
- StripPrefix=1
- id: openapi
uri: http://localhost:${server.port}
predicates:
- Path=/v3/api-docs/**
filters:
- RewritePath=/v3/api-docs/(?<path>.*), /$\{path}/v3/api-docs
- id: srt-cloud-datax # New Gateway
uri: lb://srt-cloud-datax # Update with the correct URI for your new service
predicates:
- Path=/srt-cloud-datax/** # Adjust the path as needed
filters:
- StripPrefix=1
nacos:
discovery:
server-addr: 101.34.77.101:8848
# 命名空间默认public
namespace: c5d32e76-b83c-4254-8176-1c6a2cee8e3b
service: ${spring.application.name}
group: srt2.0
group: srt2.1
springdoc:
swagger-ui: