提交 0ccb2802 编写于 作者: ibiz4j's avatar ibiz4j

pom

上级 996e0021
...@@ -25,44 +25,60 @@ spring: ...@@ -25,44 +25,60 @@ spring:
uri: lb://${ibiz.ref.service.uaa:ibzuaa-api} uri: lb://${ibiz.ref.service.uaa:ibzuaa-api}
order: 10 order: 10
predicates: predicates:
- Path=/${ibiz.gateway}/v7/**,/${ibiz.gateway}/uaa/**,/${ibiz.gateway}/sysauthlogs - Path=/${ibiz.gateway.prefix}/v7/**,/${ibiz.gateway.prefix}/uaa/**,/${ibiz.gateway.prefix}/sysauthlogs
filters: filters:
- StripPrefix=1 - StripPrefix=1
- id: ibizcloud_ou - id: ibizcloud_ou
uri: lb://${ibiz.ref.service.ou:ibzou-api} uri: lb://${ibiz.ref.service.ou:ibzou-api}
order: 20 order: 20
predicates: predicates:
- Path=/${ibiz.gateway}/ibzemployees**,/${ibiz.gateway}/sysemployees**,/${ibiz.gateway}/ibzdepartments**,/${ibiz.gateway}/sysdepartments**,/${ibiz.gateway}/ibzorganizations**,/${ibiz.gateway}/sysorganizations** - Path=/${ibiz.gateway.prefix}/ibzemployees**,/${ibiz.gateway.prefix}/sysemployees**,/${ibiz.gateway.prefix}/ibzdepartments**,/${ibiz.gateway.prefix}/sysdepartments**,/${ibiz.gateway.prefix}/ibzorganizations**,/${ibiz.gateway.prefix}/sysorganizations**
filters: filters:
- StripPrefix=1 - StripPrefix=1
- id: cloud_workflow - id: cloud_workflow
uri: lb://${ibiz.ref.service.wf:ibzwf-api} uri: lb://${ibiz.ref.service.wf:ibzwf-api}
order: 30 order: 30
predicates: predicates:
- Path=/${ibiz.gateway}/wfcore/** - Path=/${ibiz.gateway.prefix}/wfcore/**
filters: filters:
- StripPrefix=1 - StripPrefix=1
- id: cloud_oss - id: cloud_oss
uri: lb://${ibiz.ref.service.disk:ibzdisk-api} uri: lb://${ibiz.ref.service.disk:ibzdisk-api}
order: 40 order: 40
predicates: predicates:
- Path=/${ibiz.gateway}/ibizutil/**,/${ibiz.gateway}/net-disk/** - Path=/${ibiz.gateway.prefix}/ibizutil/**,/${ibiz.gateway.prefix}/net-disk/**
filters: filters:
- StripPrefix=1 - StripPrefix=1
- id: cloud_conf - id: cloud_conf
uri: lb://${ibiz.ref.service.conf:ibzuaa-api} uri: lb://${ibiz.ref.service.conf:ibzuaa-api}
order: 50 order: 50
predicates: predicates:
- Path=/${ibiz.gateway}/configs/** - Path=/${ibiz.gateway.prefix}/configs/**
filters: filters:
- StripPrefix=1 - StripPrefix=1
- id: cloud_dict - id: cloud_dict
uri: lb://${ibiz.ref.service.dict:ibzdict-api} uri: lb://${ibiz.ref.service.dict:ibzdict-api}
order: 60 order: 60
predicates: predicates:
- Path=/${ibiz.gateway}/dictionar**/** - Path=/${ibiz.gateway.prefix}/dictionar**/**
filters: filters:
- StripPrefix=1 - StripPrefix=1
- id: gw-default-appdata
uri: lb://${ibiz.gateway.defaultServiceId}
order: 101
predicates:
- Path=/${ibiz.gateway.prefix}/appdata
filters:
- StripPrefix=1
- PrefixPath=/${ibiz.gateway.defaultServiceId}
- id: gw-default-api
uri: lb://${ibiz.gateway.defaultServiceId}
order: 102
predicates:
- Path=/${ibiz.gateway.prefix}/**
filters:
- StripPrefix=1
- PrefixPath=/${ibiz.gateway.defaultServiceId}/${ibiz.gateway.defaultApi}
#跨域设置 #跨域设置
globalcors: globalcors:
...@@ -88,4 +104,7 @@ logging: ...@@ -88,4 +104,7 @@ logging:
root: error root: error
ibiz: ibiz:
gateway: ${spring.application.name} gateway:
\ No newline at end of file prefix: ${spring.application.name}
defaultServiceId: system
defaultApi: api
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册