提交 12f4d1b0 编写于 作者: zhouweidong's avatar zhouweidong

支持引用组件包

上级 fb12cb17
...@@ -52,10 +52,10 @@ zuul: ...@@ -52,10 +52,10 @@ zuul:
<#assign serviceUrl=srfpluralize(appDataEntity.name?lower_case)> <#assign serviceUrl=srfpluralize(appDataEntity.name?lower_case)>
<#if serviceId!=""> <#if serviceId!="">
<#assign serviceId="$"+"{ibiz.ref.service."+serviceId?lower_case+":"+serviceId+"}"> <#assign serviceId="$"+"{ibiz.ref.service."+serviceId?lower_case+":"+serviceId+"}">
${appEntity}: ${appEntity}:
path: /${serviceUrl}/** path: /${serviceUrl}/**
serviceId: ${serviceId} serviceId: ${serviceId}
stripPrefix: false stripPrefix: false
</#if> </#if>
</#if> </#if>
</#list> </#list>
...@@ -66,59 +66,59 @@ zuul: ...@@ -66,59 +66,59 @@ zuul:
stripPrefix: true stripPrefix: true
</#if> </#if>
<#if sys.getPSSystemSetting()?? && sys.getPSSystemSetting().getDataAccCtrlArch()?? && sys.getPSSystemSetting().getDataAccCtrlArch()==1> <#if sys.getPSSystemSetting()?? && sys.getPSSystemSetting().getDataAccCtrlArch()?? && sys.getPSSystemSetting().getDataAccCtrlArch()==1>
loginv7: loginv7:
path: /v7/login path: /v7/login
serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'} serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'}
stripPrefix: false stripPrefix: false
changepwd: changepwd:
path: /v7/changepwd path: /v7/changepwd
serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'} serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'}
stripPrefix: false stripPrefix: false
uaa: uaa:
path: /uaa/** path: /uaa/**
serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'} serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'}
stripPrefix: false stripPrefix: false
config: config:
path: /configs/** path: /configs/**
serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'} serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'}
stripPrefix: false stripPrefix: false
<#if sys.getCodeName()!='ibzou' && sys.getCodeName()!='ibzrt'> <#if sys.getCodeName()!='ibzou' && sys.getCodeName()!='ibzrt'>
oucore: oucore:
path: /ibzorganizations/** path: /ibzorganizations/**
serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'} serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'}
stripPrefix: false stripPrefix: false
oudict: oudict:
path: /dictionarys/**/Ibzou** path: /dictionarys/**/Ibzou**
serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'} serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'}
stripPrefix: false stripPrefix: false
ou: ou:
path: /ibzdepartments/** path: /ibzdepartments/**
serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'} serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'}
stripPrefix: false stripPrefix: false
uaadict: uaadict:
path: /dictionarys/**/SysOperator path: /dictionarys/**/SysOperator
serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'} serviceId: ${r'${ibiz.ref.service.uaa:ibzuaa-api}'}
stripPrefix: false stripPrefix: false
dict: dict:
path: /dictionarys/** path: /dictionarys/**
serviceId: ${r'${ibiz.ref.service.dict:ibzdict-api}'} serviceId: ${r'${ibiz.ref.service.dict:ibzdict-api}'}
stripPrefix: false stripPrefix: false
disk: disk:
path: /net-disk/** path: /net-disk/**
serviceId: ${r'${ibiz.ref.service.disk:ibzdisk-api}'} serviceId: ${r'${ibiz.ref.service.disk:ibzdisk-api}'}
stripPrefix: false stripPrefix: false
ou_sys_org: ou_sys_org:
path: /sysorganizations/** path: /sysorganizations/**
serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'} serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'}
stripPrefix: false stripPrefix: false
ou_sys_dept: ou_sys_dept:
path: /sysdepartments/** path: /sysdepartments/**
serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'} serviceId: ${r'${ibiz.ref.service.ou:ibzou-api}'}
stripPrefix: false stripPrefix: false
lite-core: lite-core:
path: /lite/** path: /lite/**
serviceId: ${r'${ibiz.ref.service.lite:ibzlite-api}'} serviceId: ${r'${ibiz.ref.service.lite:ibzlite-api}'}
stripPrefix: false stripPrefix: false
</#if> </#if>
</#if> </#if>
<#comment>通过设置该参数,避免Zuul转发请求时丢失Authorization请求头信息</#comment> <#comment>通过设置该参数,避免Zuul转发请求时丢失Authorization请求头信息</#comment>
......
...@@ -429,6 +429,16 @@ TARGET=PSSYSTEM ...@@ -429,6 +429,16 @@ TARGET=PSSYSTEM
<artifactId>spring-boot-starter-data-elasticsearch</artifactId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
</dependency> </dependency>
</#if> </#if>
<#comment>引用组件包</#comment>
<#if sys.getPSSysSFPubPkgs?? && sys.getPSSysSFPubPkgs()??>
<#list sys.getPSSysSFPubPkgs() as package>
<#if package.getVerParam?? && package.getVerParam()??>
${package.getVerParam()}
</#if>
</#list>
</#if>
</dependencies> </dependencies>
</project> </project>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册