Browse Source

修改调用hos-admin微服务的请求头配置,只需传tenant即可

chenyongxing 7 years ago
parent
commit
46518a0a00
9 changed files with 52 additions and 105 deletions
  1. 6 12
      ag-admin.yml
  2. 6 12
      ag-ehr-cloud.yml
  3. 6 12
      ag-portal-cloud.yml
  4. 6 13
      svr-ehr-basic.yml
  5. 6 12
      svr-health-profile.yml
  6. 6 12
      svr-pack-mgr.yml
  7. 6 12
      svr-resource.yml
  8. 4 8
      svr-security.yml
  9. 6 12
      svr-standard.yml

+ 6 - 12
ag-admin.yml

@ -34,40 +34,34 @@ zuul:
spring:
  profiles: dev
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: alpha
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: test
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: prod
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: prod_fz
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: prod_sr
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 12
ag-ehr-cloud.yml

@ -57,8 +57,7 @@ spring:
        host: 172.19.103.73
        port: 8125
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
#server:
#  ssl:
@ -82,8 +81,7 @@ spring:
        host: 192.168.1.221
        port: 8125
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -101,8 +99,7 @@ spring:
        host: 172.19.103.73
        port: 8125
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -119,8 +116,7 @@ spring:
        host: 11.1.2.5
        port: 8125
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -137,8 +133,7 @@ spring:
        host: 192.168.135.29
        port: 8125
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -155,5 +150,4 @@ spring:
        host: 10.176.97.10
        port: 8125
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 12
ag-portal-cloud.yml

@ -35,40 +35,34 @@ spring:
spring:
  profiles: dev
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: alpha
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: test
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: prod
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: prod_fz
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: prod_sr
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 13
svr-ehr-basic.yml

@ -70,8 +70,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -85,9 +84,7 @@ fast-dfs:
  tracker-server: 172.19.103.54:22122
  public-server: http://172.19.103.54
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
  profiles: test
@ -107,8 +104,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -122,8 +118,7 @@ fast-dfs:
  tracker-server: 11.1.2.9:22122
  public-server: http://ds.ehr.yihu.com:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -145,8 +140,7 @@ fast-dfs:
  tracker-server: 192.168.135.42:22122
  public-server: http://192.168.135.42:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -168,5 +162,4 @@ fast-dfs:
  tracker-server: 10.176.97.5:22122
  public-server: http://10.176.97.5:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 12
svr-health-profile.yml

@ -75,8 +75,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -94,8 +93,7 @@ fast-dfs:
  tracker-server: 172.19.103.54:22122
  public-server: http://172.19.103.54:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -112,8 +110,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -131,8 +128,7 @@ fast-dfs:
  tracker-server: 11.1.2.9:22122
  public-server: http://ds.ehr.yihu.com:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
@ -148,8 +144,7 @@ fast-dfs:
  tracker-server: 192.168.135.42:22122
  public-server: http://192.168.135.42:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -169,5 +164,4 @@ fast-dfs:
  tracker-server: 10.176.97.5:22122
  public-server: http://10.176.97.5:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 12
svr-pack-mgr.yml

@ -71,8 +71,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -98,8 +97,7 @@ fast-dfs:
  tracker-server: 172.19.103.54:22122
  public-server: http://172.19.103.54:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -119,8 +117,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -138,8 +135,7 @@ fast-dfs:
  tracker-server: 11.1.2.9:22122
  public-server: http://ds.ehr.yihu.com:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -156,8 +152,7 @@ fast-dfs:
  tracker-server: 192.168.135.25:22122
  public-server: http://192.168.25.42:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -174,5 +169,4 @@ fast-dfs:
  tracker-server: 10.176.97.5:22122
  public-server: http://10.176.97.5:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 12
svr-resource.yml

@ -45,8 +45,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -64,8 +63,7 @@ hadoop:
  hbase-properties:
    - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -87,8 +85,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -111,8 +108,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -137,8 +133,7 @@ fast-dfs:
  tracker-server: 192.168.135.42:22122
  public-server: http://192.168.135.42:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -163,6 +158,5 @@ fast-dfs:
  tracker-server: 10.176.97.5:22122
  public-server: http://10.176.97.5:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
  

+ 4 - 8
svr-security.yml

@ -25,8 +25,7 @@ spring:
    username: ha
    password: ha
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -37,8 +36,7 @@ spring:
    username: ha
    password: ha
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -49,8 +47,7 @@ spring:
    username: cloud
    password: cloud
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -61,5 +58,4 @@ spring:
    username: ha
    password: jkzlxm
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl

+ 6 - 12
svr-standard.yml

@ -74,8 +74,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -93,8 +92,7 @@ fast-dfs:
  tracker-server: 172.19.103.54:22122
  public-server: http://172.19.103.54:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -112,8 +110,7 @@ fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -131,8 +128,7 @@ fast-dfs:
  tracker-server: 11.1.2.9:22122
  public-server: http://ds.ehr.yihu.com:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -149,8 +145,7 @@ fast-dfs:
  tracker-server: 192.168.135.42:22122
  public-server: http://192.168.135.42:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl
---
spring:
@ -167,5 +162,4 @@ fast-dfs:
  tracker-server: 10.176.97.5:22122
  public-server: http://10.176.97.5:22122
eip:
  schema: hos1
  tenant: ehr
  tenant: jkzl