|
@ -3,6 +3,7 @@ server:
|
|
|
|
|
|
management:
|
|
|
port: ${server.port}
|
|
|
|
|
|
logging:
|
|
|
level:
|
|
|
com:
|
|
@ -11,6 +12,7 @@ logging:
|
|
|
springframework:
|
|
|
web: INFO
|
|
|
hibernate: ERROR
|
|
|
apache: ERROR
|
|
|
|
|
|
spring:
|
|
|
datasource:
|
|
@ -20,7 +22,6 @@ spring:
|
|
|
min-idle: 8
|
|
|
validation-query: SELECT 1
|
|
|
test-on-borrow: true
|
|
|
|
|
|
# REDIS
|
|
|
redis:
|
|
|
database: 0 # Database index used by the connection factory.
|
|
@ -30,13 +31,11 @@ spring:
|
|
|
#sentinel:
|
|
|
# master: # Name of Redis server.
|
|
|
# nodes: # Comma-separated list of host:port pairs.
|
|
|
|
|
|
pool:
|
|
|
max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
|
|
|
max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
|
|
|
max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
|
|
|
min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
|
|
|
|
|
|
# SOLR (SolrProperties)
|
|
|
data:
|
|
|
solr:
|
|
@ -47,11 +46,9 @@ fast-dfs:
|
|
|
init-size: 5
|
|
|
max-size: 20
|
|
|
wait-time: 500
|
|
|
|
|
|
connect-timeout: 2
|
|
|
network-timeout: 30
|
|
|
charset: ISO8859-1
|
|
|
|
|
|
http:
|
|
|
tracker-http-port: 80
|
|
|
anti-steal-token: no
|
|
@ -75,6 +72,7 @@ ehr:
|
|
|
- HDSC01_02: Clinic #门诊-挂号 v1.0
|
|
|
- HDSD00_85: Clinic #门诊-挂号 v1.3
|
|
|
- HDSD00_72: Clinic #门诊-症状 v1.3
|
|
|
- HDSB03_10: Clinic #门诊-传染病报告卡信息 v1.3
|
|
|
- HDSC02_09: Resident #住院-入院记录 v1.0
|
|
|
- HDSC02_01: Resident #检验-报告单 v1.0
|
|
|
- HDSC02_02: Resident #检验-图片报告单 v1.0
|
|
@ -87,7 +85,6 @@ ehr:
|
|
|
- HDSD00_01_575 #入院日期时间 v1.0
|
|
|
- HDSD00_13_057 #入院日期时间 v1.3
|
|
|
- HDSB05_03_011 #体检日期 v1.3
|
|
|
|
|
|
#诊断信息
|
|
|
diagnosis:
|
|
|
data-sets:
|
|
@ -136,26 +133,27 @@ ehr:
|
|
|
- HDSD00_16_005 #出院日期时间 v1.3
|
|
|
#error code and message
|
|
|
|
|
|
resolve:
|
|
|
job:
|
|
|
init-size: 4 #解析入库初始任务数
|
|
|
max-size: 8 #解析入库最大任务数
|
|
|
cron-exp: 0/4 * * * * ? #解析任务触发间隔表达式
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
profiles: dev
|
|
|
|
|
|
# Mysql
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
|
|
|
username: weifuwu
|
|
|
password: weifuwu
|
|
|
|
|
|
redis:
|
|
|
host: 172.19.103.47 # Redis server host.
|
|
|
port: 6379
|
|
|
password: redis!@456
|
|
|
|
|
|
data:
|
|
|
solr:
|
|
|
zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
|
|
|
metrics:
|
|
|
export:
|
|
|
statsd:
|
|
@ -180,11 +178,9 @@ spring:
|
|
|
password: ha
|
|
|
redis:
|
|
|
host: 192.168.1.220 # Redis server host.
|
|
|
|
|
|
data:
|
|
|
solr:
|
|
|
zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
|
|
|
metrics:
|
|
|
export:
|
|
|
statsd:
|
|
@ -203,18 +199,16 @@ hadoop:
|
|
|
spring:
|
|
|
profiles: test
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
|
|
|
url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
|
|
|
username: weifuwu
|
|
|
password: weifuwu
|
|
|
redis:
|
|
|
host: 172.19.103.47 # Redis server host.
|
|
|
port: 6379
|
|
|
password: redis!@456
|
|
|
|
|
|
data:
|
|
|
solr:
|
|
|
zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
|
|
|
metrics:
|
|
|
export:
|
|
|
statsd:
|
|
@ -233,18 +227,16 @@ hadoop:
|
|
|
spring:
|
|
|
profiles: prod
|
|
|
datasource:
|
|
|
url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
|
|
|
url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
|
|
|
username: ha
|
|
|
password: jkzlxm
|
|
|
redis:
|
|
|
host: 11.1.2.20 # Redis server host.
|
|
|
|
|
|
data:
|
|
|
solr:
|
|
|
host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
|
|
|
#zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
|
|
|
|
|
|
metrics:
|
|
|
export:
|
|
|
statsd:
|
|
@ -265,18 +257,16 @@ hadoop:
|
|
|
spring:
|
|
|
profiles: prod_fz
|
|
|
datasource:
|
|
|
url: jdbc:mysql://192.168.135.39:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
|
|
|
username: sr_healtharchive
|
|
|
password: data!@)1
|
|
|
url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
|
|
|
username: healthcloud
|
|
|
password: GP8Qz4qU
|
|
|
redis:
|
|
|
host: 192.168.135.40 # Redis server host.
|
|
|
host: 11.1.2.22 # Redis server host.
|
|
|
port: 6390
|
|
|
password: redis!@456
|
|
|
|
|
|
password: Kb6wKDQP1W4
|
|
|
data:
|
|
|
solr:
|
|
|
zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
|
|
|
zk-host: node1.ehr.h3c.com,node2.ehr.h3c.com,node3.ehr.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
metrics:
|
|
|
export:
|
|
|
statsd:
|
|
@ -284,30 +274,28 @@ spring:
|
|
|
port: 8125
|
|
|
|
|
|
fast-dfs:
|
|
|
tracker-server: 192.168.135.42:22122
|
|
|
public-server: http://192.168.135.42:22122
|
|
|
tracker-server: 11.1.2.9:22122
|
|
|
public-server: http://11.1.2.9:80
|
|
|
|
|
|
hadoop:
|
|
|
hbase-properties:
|
|
|
- hbase.zookeeper.quorum: node1.jkzl.com,node2.jkzl.com,node3.jkzl.com
|
|
|
- hbase.zookeeper.quorum: node1.ehr.h3c.com,node2.ehr.h3c.com,node3.ehr.h3c.com
|
|
|
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
profiles: prod_sr
|
|
|
datasource:
|
|
|
url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8
|
|
|
url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
|
|
|
username: healthcloud
|
|
|
password: GP8Qz4qU
|
|
|
redis:
|
|
|
host: 10.176.97.5 # Redis server host.
|
|
|
port: 6390
|
|
|
password: q4YaQemf
|
|
|
|
|
|
data:
|
|
|
solr:
|
|
|
zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
|
|
|
|
|
|
metrics:
|
|
|
export:
|
|
|
statsd:
|
|
@ -316,7 +304,7 @@ spring:
|
|
|
|
|
|
fast-dfs:
|
|
|
tracker-server: 10.176.97.5:22122
|
|
|
public-server: http://10.176.97.5:22122
|
|
|
public-server: http://10.176.97.5:8888
|
|
|
|
|
|
hadoop:
|
|
|
hbase-properties:
|