فهرست منبع

增加调用hos-admin微服务的请求头配置

chenyongxing 7 سال پیش
والد
کامیت
a8295caf12
3فایلهای تغییر یافته به همراه117 افزوده شده و 22 حذف شده
  1. 2 1
      application.yml
  2. 110 0
      hos-broker.yml
  3. 5 21
      svr-pack-mgr.yml

+ 2 - 1
application.yml

@ -167,4 +167,5 @@ eureka:
  instance:
    prefer-ip-address: true
eureka-server-ip: 10.176.97.10:8761
#eureka-server-ip: 10.176.97.10:8761
eureka-server-ip: 172.19.103.73:8761

+ 110 - 0
hos-broker.yml

@ -0,0 +1,110 @@
spring:
  application:
    name: hos-broker
server:
  port: 8099
  contextPath:
  sessionTimeout:  300
security:
  basic:
    enabled: false
# the name of Camel
camel:
  springboot:
    name: hos-broker
---
spring:
  profiles: dev
  activemq:
    broker-url: tcp://172.19.103.57:61616
    user: admin
    password: admin
  data:
    mongodb:
      host: 172.19.103.57
      port: 27017
      username: esb
      password: esb
      authenticationDatabase: admin
      database: log
      gridFsDatabase: dfs
eureka:
  client:
    serviceUrl:
      defaultZone: http://192.168.1.221:8761/eureka/
log:
  path: D://logs/logback/dev
  level: info
hos:
  filesystem:
    url: http://172.19.103.57:9010/dfs/file
  arbiter:
    enable: true
    url: http://localhost:10135
  rest:
    url: http://localhost:8088
  timer:
      period: 10000
  tenant:
    name: jkzl
  mycat:
    path: /usr/local/mycat/   ##mycat的安装目录
  #jcraft shell操作
  jcraft:
    host: 172.19.103.57
    port: 22
    user: rootxx
    password: ceshi
hzy:
  hello: hello dev !!!
  
---
spring:
  profiles: test
  activemq:
      broker-url: tcp://172.19.103.42:61616 # activeMq地址
      user: admin
      password: admin
  data:
    mongodb:
      host: 172.19.103.42 # mongodb 连接信息
      port: 27017
      username: esb
      password: esb
      authenticationDatabase: admin
      database: log
      gridFsDatabase: dfs
eureka:
  client:
    serviceUrl:
      defaultZone: http://192.168.1.221:8761/eureka/  # eureka发现服务中心地址
log:
  path: /usr/local/esb/logs/hos-broker  #日志输出地址
  level: info
hos:
  filesystem:
    url: http://172.19.103.37:9010/dfs/file #文件服务器地址
  arbiter:
    enable: true
    url: http://172.19.103.37:10135  # arbiter 的连接地址
  rest:
    url: http://172.19.103.37:8088  # 采集上传档案等服务连接地址
  timer:
      period: 10000
  tenant:
    name: jkzl
  mycat:
    path: /usr/local/mycat/   ##mycat的安装目录
  #jcraft shell操作,连接终端服务器的后门信息
  jcraft:
    host: 172.19.103.37
    port: 22
    user: root
    password: ceshi
hzy:
  hello: hello test !!!

+ 5 - 21
svr-pack-mgr.yml

@ -70,9 +70,6 @@ spring:
fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
---
spring:
@ -97,9 +94,6 @@ spring:
fast-dfs:
  tracker-server: 172.19.103.54:22122
  public-server: http://172.19.103.54:22122
eip:
  schema: hos1
  tenant: ehr
---
spring:
@ -118,9 +112,6 @@ spring:
fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
eip:
  schema: hos1
  tenant: ehr
---
spring:
@ -137,9 +128,7 @@ spring:
fast-dfs:
  tracker-server: 11.1.2.9:22122
  public-server: http://ds.ehr.yihu.com:22122
eip:
  schema: hos1
  tenant: ehr
---
spring:
@ -153,11 +142,9 @@ spring:
    port: 6390
    password: redis!@456
fast-dfs:
  tracker-server: 192.168.135.42:22122
  public-server: http://192.168.135.42:22122
eip:
  schema: hos1
  tenant: ehr
  tracker-server: 192.168.135.25:22122
  public-server: http://192.168.25.42:22122
---
spring:
@ -172,7 +159,4 @@ spring:
    password: q4YaQemf
fast-dfs:
  tracker-server: 10.176.97.5:22122
  public-server: http://10.176.97.5:22122
eip:
  schema: hos1
  tenant: ehr
  public-server: http://10.176.97.5:22122