Browse Source

gateway添加dsp 新公共服务component路由

pull/88/head
chenyukun 1 year ago
parent
commit
913a155a92
4 changed files with 29 additions and 0 deletions
  1. +8
    -0
      src/main/resources/application-dev.yml
  2. +7
    -0
      src/main/resources/application-local.yml
  3. +7
    -0
      src/main/resources/application-prod.yml
  4. +7
    -0
      src/main/resources/application-test.yml

+ 8
- 0
src/main/resources/application-dev.yml View File

@@ -109,6 +109,13 @@ spring:
- Path=/api/inspection/**
filters:
- StripPrefix=2
# dsp component服务
- id: tuoheng-dsp-component
uri: lb://tuoheng-dsp-component
predicates:
- Path=/api/component/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
@@ -193,6 +200,7 @@ spring:
- Path=/waterway/web/**
filters:
- StripPrefix=2

# Redis数据源
redis:
# 缓存库默认索引0

+ 7
- 0
src/main/resources/application-local.yml View File

@@ -108,6 +108,13 @@ spring:
- Path=/api/inspection/**
filters:
- StripPrefix=2
# dsp component服务
- id: tuoheng-dsp-component
uri: lb://tuoheng-dsp-component
predicates:
- Path=/api/component/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin

+ 7
- 0
src/main/resources/application-prod.yml View File

@@ -101,6 +101,13 @@ spring:
- Path=/api/inspection/**
filters:
- StripPrefix=2
# dsp component服务
- id: tuoheng-dsp-component
uri: lb://tuoheng-dsp-component
predicates:
- Path=/api/component/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin

+ 7
- 0
src/main/resources/application-test.yml View File

@@ -95,6 +95,13 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# dsp component服务
- id: tuoheng-dsp-component
uri: lb://tuoheng-dsp-component
predicates:
- Path=/api/component/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin

Loading…
Cancel
Save