Browse Source

整理服务配置

Sand Wen 9 years ago
parent
commit
b3819893b8
15 changed files with 40 additions and 316 deletions
  1. 0 45
      ag-admin.yml
  2. 0 66
      ag-ehr-platform.yml
  3. 39 28
      application.yml
  4. 0 17
      svr-adaption.yml
  5. 0 24
      svr-app.yml
  6. 0 14
      svr-archive.yml
  7. 0 28
      svr-dict.yml
  8. 0 26
      svr-geography.yml
  9. 0 2
      svr-profile-browser.yml
  10. 0 9
      svr-org.yml
  11. 0 9
      svr-pack-mgr.yml
  12. 0 10
      svr-patient.yml
  13. 0 13
      svr-security.yml
  14. 0 10
      svr-standard.yml
  15. 1 15
      svr-user.yml

+ 0 - 45
ag-admin.yml

@ -1,58 +1,13 @@
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
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
---
spring:
  profiles: dev
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha
hibernate:
  show-sql: true
  format-sql: true
---
spring:
  profiles: test
data-source:
  url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  username: fujian
  password: fujian
hibernate:
  hibernate-properties:
    hibernate:
      show-sql: true
      format-sql: true
---
spring:
  profiles: prod
data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  username: ha
  password: jkzlxm
hibernate:
  hibernate-properties:
    hibernate:
      show-sql: false
      format-sql: false

+ 0 - 66
ag-ehr-platform.yml

@ -1,11 +1,3 @@
endpoints:
  restart:
    enabled: true
  shutdown:
    enabled: true
  health:
    sensitive: false
---
spring:
@ -14,71 +6,23 @@ spring:
  thymeleaf:
    cache: false
fast-dfs:
  tracker-server: 172.19.103.54:22122
server:
  ssl:
    key-store: C:/Windows/tomcat.keystore
    key-store-password: 123456
    key-password: 123456
eureka:
  instance:
    ip-address: localhost
  client:
    registerWithEureka: true
    fetchRegistry: true
    serviceUrl.defaultZone: ${vcap.services.eureka-service.credentials.uri:http://user:eureka@localhost:8761}/eureka/
---
spring:
  profiles: sand-home-dev
  thymeleaf:
      cache: false
server:
  ssl:
    key-store: C:/Windows/tomcat.keystore
    key-store-password: 123456
    key-password: 123456
fast-dfs:
  tracker-server: 172.19.103.54:22122
eureka:
  instance:
    ip-address: 127.0.0.1
  client:
    registerWithEureka: true
    fetchRegistry: true
    serviceUrl.defaultZone: ${vcap.services.eureka-service.credentials.uri:http://user:eureka@127.0.0.1:8761}/eureka/
---
spring:
  profiles: test
  thymeleaf:
    cache: false
fast-dfs:
  tracker-server: 172.19.103.13:22122
server:
  ssl:
    key-store-password: 123456
    key-password: 123456
eureka:
  instance:
    ip-address: 172.19.103.73
  client:
    registerWithEureka: true
    fetchRegistry: true
    serviceUrl.defaultZone: ${vcap.services.eureka-service.credentials.uri:http://user:eureka@172.19.103.73:8761}/eureka/
---
spring:
  profiles: prod
@ -88,13 +32,3 @@ server:
    key-store-password: 123456
    key-password: 123456
fast-dfs:
  tracker-server: 11.1.2.9:22122
eureka:
  instance:
    ip-address: 11.1.2.21
  client:
    registerWithEureka: true
    fetchRegistry: true
    serviceUrl.defaultZone: ${vcap.services.eureka-service.credentials.uri:http://user:eureka@11.1.2.21:8761}/eureka/

+ 39 - 28
application.yml

@ -1,22 +1,4 @@
logging:
  level:
    com:
      netflix: DEBUG
eureka:
  instance:
    prefer-ip-address: true
spring:
  jpa:
    database-platform: org.hibernate.dialect.MySQL5Dialect
    hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
#应用部署所在区域
deploy:
  region: 3502
#服务端口,以10100开始,每个服务间隔为10,当前最大:10180
#服务端口,以10100开始,每个服务间隔为10,若有新服务,请更新最大端口号。当前最大:10180
svr-adaption.server.port: 10150
svr-app.server.port: 10160
svr-configuration.server.port: 1221
@ -33,32 +15,61 @@ svr-special-dict.server.port: 10180
svr-standard.server.port: 10040
svr-user.server.port: 10120
ag-ehr-platform.server.port: 443
ag-admin.server.port: 0
#错误消息
ehr.common.invalid.parameter: 参数解析错误
ehr.common.query.not.found: 不存在该对象
ehr.common.repeat.code: 代码重复
---
#应用部署所在区域
deploy:
  region: 3502
#用户默认密码
default:
  password: 123456
endpoints:
  restart:
    enabled: true
  shutdown:
    enabled: true
  health:
    sensitive: false
spring:
  profiles: dev
  jpa:
    database-platform: org.hibernate.dialect.MySQL5Dialect
    hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
logging:
  level:
    com:
      netflix: DEBUG
eureka:
  instance:
    ipAddress: 127.0.0.1
    prefer-ip-address: true
  client:
    serviceUrl:
      defaultZone: http://user:eureka@${eureka-server-ip}/eureka/
---
spring:
  profiles: dev
eureka-server-ip: 192.168.1.220:8761
---
spring:
  profiles: test
eureka:
  instance:
    ipAddress: 172.19.103.73
eureka-server-ip: 172.19.103.73:8761
---
spring:
  profiles: prod
eureka:
  instance:
    ipAddress: 11.1.2.21
eureka-server-ip: 11.1.2.21:8761

+ 0 - 17
svr-adaption.yml

@ -7,8 +7,6 @@ data-source:
  validation-query: SELECT 1
  test-on-borrow: true
  remove-abandoned-timeout: 55
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
fast-dfs:
  pool:
@ -26,10 +24,6 @@ fast-dfs:
    anti-steal-token: no
    secret-key: FastDFS1234567890
ehr.common.invalid.parameter: 参数解析错误
ehr.common.query.not.found: 不存在该对象
ehr.common.repeat.code: 代码重复
---
spring:
  profiles: dev
@ -68,14 +62,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 24
svr-app.yml

@ -8,10 +8,6 @@ data-source:
  test-on-borrow: true
  remove-abandoned-timeout: 55
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
---
spring:
  profiles: dev
@ -21,11 +17,6 @@ data-source:
  user-name: ha
  password: ha
hibernate:
  show-sql: true
  format-sql: true
---
spring:
  profiles: test
@ -35,12 +26,6 @@ data-source:
  user-name: weifuwu
  password: weifuwu
hibernate:
  hibernate-properties:
    hibernate:
      show-sql: true
      format-sql: true
---
spring:
  profiles: prod
@ -54,12 +39,3 @@ data-source:
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 14
svr-archive.yml

@ -1,14 +0,0 @@
archive:
  data-set:
    include-identity-info:
      - HDSA00_01: 人口学信息
      - HDSC01_02: 门诊-挂号
      - HDSC02_09: 住院-入院记录
    include-card-info:
      - HDSC01_02: 门诊-挂号
      - HDSC02_09: 住院-入院记录
    include-summary-info:
      - HDSC01_02: 门诊
      - HDSC02_09: 住院

+ 0 - 28
svr-dict.yml

@ -8,10 +8,6 @@ data-source:
  test-on-borrow: true
  remove-abandoned-timeout: 55
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
---
spring:
  profiles: dev
@ -21,11 +17,6 @@ data-source:
  user-name: ha
  password: ha
hibernate:
  show-sql: true
  format-sql: true
---
spring:
  profiles: test
@ -35,30 +26,11 @@ data-source:
  user-name: weifuwu
  password: weifuwu
hibernate:
  show-sql: true
  format-sql: true
---
spring:
  profiles: prod
hibernate:
  show-sql: true
  format-sql: true
data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 26
svr-geography.yml

@ -8,10 +8,6 @@ data-source:
  test-on-borrow: true
  remove-abandoned-timeout: 55
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
---
spring:
  profiles: dev
@ -21,11 +17,6 @@ data-source:
  user-name: ha
  password: ha
hibernate:
  show-sql: true
  format-sql: true
---
spring:
  profiles: test
@ -35,12 +26,6 @@ data-source:
  user-name: weifuwu
  password: weifuwu
hibernate:
  hibernate-properties:
    hibernate:
      show-sql: true
      format-sql: true
---
spring:
  profiles: prod
@ -53,14 +38,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 2
svr-profile-browser.yml

@ -18,8 +18,6 @@ solr:
  zkClientTimeout: 10000
  zkConnectTimeout: 10000
#error code and message
---
spring:
  profiles: dev

+ 0 - 9
svr-org.yml

@ -34,12 +34,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 9
svr-pack-mgr.yml

@ -61,12 +61,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 10
svr-patient.yml

@ -50,13 +50,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 13
svr-security.yml

@ -8,9 +8,6 @@ data-source:
  test-on-borrow: true
  remove-abandoned-timeout: 55
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
---
spring:
  profiles: dev
@ -37,13 +34,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 0 - 10
svr-standard.yml

@ -74,13 +74,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha

+ 1 - 15
svr-user.yml

@ -1,8 +1,4 @@
#用户默认密码
default:
  password: 123456
data-source:
data-source:
  driver-class-name: com.mysql.jdbc.Driver
  initialize-size: 1
  max-total: 20
@ -42,13 +38,3 @@ data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
---
spring:
  profiles: ha
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha