server:
  port: 8080
#zuul网关路由设置
zuul:
  routes:
    {{#if system.enableWorkflow}}
    wfcore:
      path: /wfcore/**
      serviceId: ${ibiz.ref.service.wf:ibzwf-api}
      stripPrefix: true
    {{/if}}
    loginv7:
      path: /v7/login
      serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
      stripPrefix: false
    changepwd:
      path: /v7/changepwd
      serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
      stripPrefix: false
    uaa:
      path: /uaa/**
      serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
      stripPrefix: false
    config:
      path: /configs/**
      serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
      stripPrefix: false
    oucore:
      path: /ibzorganizations/**
      serviceId: ${ibiz.ref.service.ou:ibzou-api}
      stripPrefix: false
    oudict:
      path: /dictionarys/**/Ibzou**
      serviceId: ${ibiz.ref.service.ou:ibzou-api}
      stripPrefix: false
    ou:
      path: /ibzdepartments/**
      serviceId: ${ibiz.ref.service.ou:ibzou-api}
      stripPrefix: false
    uaadict:
      path: /dictionarys/**/SysOperator
      serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
      stripPrefix: false
    dict:
      path: /dictionarys/**
      serviceId: ${ibiz.ref.service.dict:ibzdict-api}
      stripPrefix: false
    disk:
      path: /net-disk/**
      serviceId: ${ibiz.ref.service.disk:ibzdisk-api}
      stripPrefix: false
    ou_sys_org:
      path: /sysorganizations/**
      serviceId: ${ibiz.ref.service.ou:ibzou-api}
      stripPrefix: false
    ou_sys_dept:
      path: /sysdepartments/**
      serviceId: ${ibiz.ref.service.ou:ibzou-api}
      stripPrefix: false
    lite-core:
      path: /lite/**
      serviceId: ${ibiz.ref.service.lite:ibzlite-api}
      stripPrefix: false
    sysauthlog:
      path: /sysauthlogs
      serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
      stripPrefix: false
  {{#each system.apps as | webapp |}}
    {{#each webapp.appEntities as |appEntity|}}
        {{#eq appEntity.entity.storage "ServiceAPI"}}
        {{#appEntity.serviceId}}
    {{lowerCase webapp.codeName}}-{{lowerCase appEntity.codeName}}:
      path: /{{pluralize appEntity.codeName}}/**
      serviceId: {{refServiceId}}
      stripPrefix: false
        {{/appEntity.serviceId}}
        {{/eq}}
    {{/each}}
  {{/each}}
  sensitive-headers:
    - Cookie,Set-Cookie,Authorization