Sand Wen пре 9 година
родитељ
комит
58d8f15496
3 измењених фајлова са 77 додато и 2 уклоњено
  1. 2 2
      application.yml
  2. 70 0
      svr-esb.yml
  3. 5 0
      svr-standard.yml

+ 2 - 2
application.yml

@ -1,7 +1,6 @@
#服务端口,以10100开始,每个服务间隔为10,若有新服务,请更新最大端口号。当前最大:10180
svr-adaption.server.port: 10150
svr-app.server.port: 10160
svr-configuration.server.port: 1221
svr-dict.server.port: 10050
svr-esb.server.port: 10130
svr-geography.server.port: 10090
@ -22,6 +21,7 @@ ehr.common.invalid.parameter: 参数解析错误
ehr.common.query.not.found: 不存在该对象
ehr.common.repeat.code: 代码重复
#应用部署所在区域
deploy:
  region: 3502
@ -54,7 +54,7 @@ eureka:
  client:
    serviceUrl:
      defaultZone: http://user:eureka@${eureka-server-ip}/eureka/
      defaultZone: http://${eureka-server-ip}/eureka/
---
spring:

+ 70 - 0
svr-esb.yml

@ -0,0 +1,70 @@
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
multipart:
  max-file-size: 100MB
  max-request-size: 100MB
fast-dfs:
  pool:
    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
    secret-key: FastDFS1234567890
spring:
  jpa:
    show-sql: true
    hibernate:
      dialect: org.hibernate.dialect.MySQL5Dialect
    database:
      platform: 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
fast-dfs:
  tracker-server: 172.19.103.54:22122
---
spring:
  profiles: test
data-source:
  url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: weifuwu
  password: weifuwu
fast-dfs:
  tracker-server: 172.19.103.54:22122
  
---
spring:
  profiles: prod
data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: jkzlxm
fast-dfs:
  tracker-server: 11.1.2.9:22122

+ 5 - 0
svr-standard.yml

@ -1,3 +1,8 @@
common.query.not.found: 该{0}不存在:{1}
common.miss.parameter: 参数不能为空:{0}!
common.notfound.entity: 没有找到{0}实体:{}
std.version.invalid.stage: 该版本不处于编辑状态!
data-source:
  driver-class-name: com.mysql.jdbc.Driver
  initialize-size: 1