zdm 7 years ago
parent
commit
a16662f119
7 changed files with 164 additions and 4 deletions
  1. 12 0
      ag-admin.yml
  2. 13 1
      ag-ehr-cloud.yml
  3. 13 1
      ag-portal-cloud.yml
  4. 2 1
      application.yml
  5. 6 1
      hos-admin.yml
  6. 110 0
      hos-broker.yml
  7. 8 0
      svr-security.yml

+ 12 - 0
ag-admin.yml

@ -33,23 +33,35 @@ zuul:
---
spring:
  profiles: dev
eip:
  tenant: jkzl
---
spring:
  profiles: alpha
eip:
  tenant: jkzl
---
spring:
  profiles: test
eip:
  tenant: jkzl
---
spring:
  profiles: prod
eip:
  tenant: jkzl
---
spring:
  profiles: prod_fz
eip:
  tenant: jkzl
---
spring:
  profiles: prod_sr
eip:
  tenant: jkzl

+ 13 - 1
ag-ehr-cloud.yml

@ -56,6 +56,8 @@ spring:
      statsd:
        host: 172.19.103.73
        port: 8125
eip:
  tenant: jkzl
#server:
#  ssl:
@ -78,6 +80,8 @@ spring:
      statsd:
        host: 192.168.1.221
        port: 8125
eip:
  tenant: jkzl
---
spring:
@ -94,6 +98,8 @@ spring:
      statsd:
        host: 172.19.103.73
        port: 8125
eip:
  tenant: jkzl
---
spring:
@ -109,6 +115,8 @@ spring:
      statsd:
        host: 11.1.2.5
        port: 8125
eip:
  tenant: jkzl
---
spring:
@ -124,6 +132,8 @@ spring:
      statsd:
        host: 192.168.135.29
        port: 8125
eip:
  tenant: jkzl
---
spring:
@ -138,4 +148,6 @@ spring:
    export:
      statsd:
        host: 10.176.97.10
        port: 8125
        port: 8125
eip:
  tenant: jkzl

+ 13 - 1
ag-portal-cloud.yml

@ -34,23 +34,35 @@ spring:
---
spring:
  profiles: dev
eip:
  tenant: jkzl
---
spring:
  profiles: alpha
eip:
  tenant: jkzl
---
spring:
  profiles: test
eip:
  tenant: jkzl
---
spring:
  profiles: prod
eip:
  tenant: jkzl
---
spring:
  profiles: prod_fz
eip:
  tenant: jkzl
---
spring:
  profiles: prod_sr
  profiles: prod_sr
eip:
  tenant: jkzl

+ 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

+ 6 - 1
hos-admin.yml

@ -62,7 +62,7 @@ spring:
      INDENT_OUTPUT: true
  datasource:
      driverClassName: com.mysql.jdbc.Driver
      url: jdbc:mysql://172.19.103.42:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
      url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
      username: hos
      password: 123456
      test-on-borrow: true
@ -92,3 +92,8 @@ spring:
    proxy-target-class: true
hos:
  saasAdmin: jkzl  #SAAS管理员账号,暂时配置在此处
jwt:
  header: Authorization
  secret: mySecret
  expiration: 604800
  tokenHead: "Bearer "

+ 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 !!!

+ 8 - 0
svr-security.yml

@ -24,6 +24,8 @@ spring:
    url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: ha
eip:
  tenant: jkzl
---
spring:
@ -33,6 +35,8 @@ spring:
    url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: ha
eip:
  tenant: jkzl
---
spring:
@ -42,6 +46,8 @@ spring:
    url: jdbc:mysql://172.19.103.38:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: cloud
    password: cloud
eip:
  tenant: jkzl
---
spring:
@ -51,3 +57,5 @@ spring:
    url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: jkzlxm
eip:
  tenant: jkzl