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

pom

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