Browse Source

gateway配置航道项目

pull/76/head
chenjiandong 1 year ago
parent
commit
ea4221db8e
3 changed files with 68 additions and 2 deletions
  1. +23
    -1
      src/main/resources/application-dev.yml
  2. +22
    -0
      src/main/resources/application-prod.yml
  3. +23
    -1
      src/main/resources/application-test.yml

+ 23
- 1
src/main/resources/application-dev.yml View File

- Path=/hhz/api/** - Path=/hhz/api/**
filters: filters:
- StripPrefix=2 - StripPrefix=2
# waterway后台管理
- id: tuoheng-waterway-admin
uri: lb://tuoheng-waterway-admin
predicates:
- Path=/waterway/admin/**
filters:
- StripPrefix=2
# waterway小程序服务
- id: tuoheng-waterway-miniprogram
uri: lb://tuoheng-waterway-miniprogram
predicates:
- Path=/waterway/miniprogram/**
filters:
- StripPrefix=2
# waterway api服务
- id: tuoheng-waterway-api
uri: lb://tuoheng-waterway-api
predicates:
- Path=/waterway/web/**
filters:
- StripPrefix=2
# Redis数据源 # Redis数据源
redis: redis:
# 缓存库默认索引0 # 缓存库默认索引0
# 获取 apiUrl 可访问的 roleIdList # 获取 apiUrl 可访问的 roleIdList
tuoheng: tuoheng:
hhz-admin-perUrl: http://192.168.11.11:9055/permission/getRoleIdList hhz-admin-perUrl: http://192.168.11.11:9055/permission/getRoleIdList
freeway-admin-perUrl: http://192.168.11.11:9117/permission/getRoleIdList
freeway-admin-perUrl: http://192.168.11.11:9117/permission/getRoleIdList
waterway-admin-perUrl: http://192.168.11.11:9120/permission/getRoleIdList

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

- Path=/hhz/api/** - Path=/hhz/api/**
filters: filters:
- StripPrefix=2 - StripPrefix=2
# waterway后台管理
- id: tuoheng-waterway-admin
uri: lb://tuoheng-waterway-admin
predicates:
- Path=/waterway/admin/**
filters:
- StripPrefix=2
# waterway小程序服务
- id: tuoheng-waterway-miniprogram
uri: lb://tuoheng-waterway-miniprogram
predicates:
- Path=/waterway/miniprogram/**
filters:
- StripPrefix=2
# waterway api服务
- id: tuoheng-waterway-api
uri: lb://tuoheng-waterway-api
predicates:
- Path=/waterway/web/**
filters:
- StripPrefix=2
# Redis数据源 # Redis数据源
redis: redis:
# 缓存库默认索引0 # 缓存库默认索引0
tuoheng: tuoheng:
hhz-admin-perUrl: https://hhz.t-aaron.com/permission/getRoleIdList hhz-admin-perUrl: https://hhz.t-aaron.com/permission/getRoleIdList
freeway-admin-perUrl: https://freeway.t-aaron.com/permission/getRoleIdList freeway-admin-perUrl: https://freeway.t-aaron.com/permission/getRoleIdList
waterway-admin-perUrl: https://waterway.t-aaron.com/permission/getRoleIdList

+ 23
- 1
src/main/resources/application-test.yml View File

- Path=/hhz/api/** - Path=/hhz/api/**
filters: filters:
- StripPrefix=2 - StripPrefix=2
# waterway后台管理
- id: tuoheng-waterway-admin
uri: lb://tuoheng-waterway-admin
predicates:
- Path=/waterway/admin/**
filters:
- StripPrefix=2
# waterway小程序服务
- id: tuoheng-waterway-miniprogram
uri: lb://tuoheng-waterway-miniprogram
predicates:
- Path=/waterway/miniprogram/**
filters:
- StripPrefix=2
# waterway api服务
- id: tuoheng-waterway-api
uri: lb://tuoheng-waterway-api
predicates:
- Path=/waterway/web/**
filters:
- StripPrefix=2
# Redis数据源 # Redis数据源
redis: redis:
# 缓存库默认索引0 # 缓存库默认索引0
# 获取 apiUrl 可访问的 roleIdList # 获取 apiUrl 可访问的 roleIdList
tuoheng: tuoheng:
hhz-admin-perUrl: http://172.15.1.21:9055/permission/getRoleIdList hhz-admin-perUrl: http://172.15.1.21:9055/permission/getRoleIdList
freeway-admin-perUrl: https://freeway-test.t-aaron.com/permission/getRoleIdList
freeway-admin-perUrl: https://freeway-test.t-aaron.com/permission/getRoleIdList
waterway-admin-perUrl: https://waterway-test.t-aaron.com/permission/getRoleIdList

Loading…
Cancel
Save