Browse Source

Merge branch 'dev' of http://192.168.1.220:10080/linaz/ehr.config into dev

Sand Wen 9 years ago
parent
commit
eb80aa81f4
2 changed files with 43 additions and 1 deletions
  1. 2 1
      application.yml
  2. 41 0
      svr-family.yml

+ 2 - 1
application.yml

@ -31,7 +31,7 @@ ehr.common.invalid.parameter: 参数解析错误
ehr.common.query.not.found: 不存在该对象
ehr.common.repeat.code: 代码重复
#Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10180
#Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10190
svr-adaption.server.port: 10150
svr-app.server.port: 10160
svr-dict.server.port: 10050
@ -48,6 +48,7 @@ svr-standard.server.port: 10040
svr-user.server.port: 10120
ag-ehr-platform.server.port: 443
ag-admin.server.port: 10000
svr-family.server.port: 10190
#Application acuator
endpoints:

+ 41 - 0
svr-family.yml

@ -0,0 +1,41 @@
logging:
  level:
    com:
      netflix: DEBUG
data-source:
  driver-class-name: com.mysql.jdbc.Driver
  initialize-size: 1
  max-total: 20
  max-idle: 10
  min-idle: 1
  validation-query: SELECT 1
  test-on-borrow: true
  remove-abandoned-timeout: 55
---
spring:
  profiles: dev
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha
---
spring:
  profiles: test
data-source:
  url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: weifuwu
  password: weifuwu
---
spring:
  profiles: prod
data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm