فهرست منبع

增加应用配置

Progr1mmer 6 سال پیش
والد
کامیت
b827326f80
2فایلهای تغییر یافته به همراه210 افزوده شده و 0 حذف شده
  1. 150 0
      app-ehr-admin.yml
  2. 60 0
      app-ehr-portal.yml

+ 150 - 0
app-ehr-admin.yml

@ -0,0 +1,150 @@
server:
  contextPath: /ehr
  port: 8090
  sessionTimeout:  30000000
spring:
  redis:
    database: 0 # Database index used by the connection factory.
    timeout: 0 # Connection timeout in milliseconds.
    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.
multipart:
  maxFileSize: 50Mb
  maxRequestSize: 50Mb
fast-dfs:
  pool:
    init-size: 5
    max-size: 20
    wait-time: 500
  connect-timeout: 2
  network-timeout: 30
  http:
    tracker-http-port: 80
    anti-steal-token: no
    secret-key: FastDFS1234567890
permissions:
  info: admin
---
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: chenweishan
    password: chenweishan
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  baseClientId: zkGuSIm2Fg  # 【基础信息管理】应用
  qcReportClientId: 2YTOSRI0tw
  resourceBrowseClientId: W8RDizgDIB
  browseClientId: uzs5G0HgTp
  oauth2InnerUrl: http://172.19.103.70:1235/gateway/authentication/
  oauth2OuterUrl: http://27.154.233.186:10260/  #厦门-认证外网
service-gateway:
  username: user
  password: eureka
  url: http://172.19.103.73:10000/api/v1.0/admin
  adminInnerUrl: http://172.19.103.73:10000
  stdurl: http://172.19.103.73:10000/api/v1.0/admin/std
  versionurl: http://172.19.103.73:10000/api/v1.0/admin/version
  cdatypeurl: http://172.19.103.73:10000/api/v1.0/admin/cda_type
  stdsourceurl: http://172.19.103.73:10000/api/v1.0/admin/standard_source
  adaption: http://172.19.103.73:10000/api/v1.0/adapter
  standard: http://172.19.103.73:10000/api/v1.0/std
  #browseClientUrl: http://192.168.1.221:8010/profile/browser
  browseClientUrl: http://172.19.103.70:1235/profile
  browseClientOutSizeUrl: http://27.154.233.186:9480/profile
  profileurl: http://172.19.103.74:9009/api/v1.0
fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
std:
  version: 59083976eebd
---
spring:
  profiles: alpha
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: chenweishan
    password: chenweishan
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  baseClientId: zkGuSIm2Fg  # 【基础信息管理】应用
  qcReportClientId: 2YTOSRI0tw
  resourceBrowseClientId: W8RDizgDIB
  browseClientId: uzs5G0HgTp
  oauth2InnerUrl: http://172.19.103.70:1235/gateway/authentication/
  oauth2OuterUrl: http://27.154.233.186:10260/  #厦门-认证外网
service-gateway:
  username: user
  password: eureka
  url: http://172.19.103.73:10000/api/v1.0/admin
  adminInnerUrl: http://172.19.103.73:10000
  stdurl: http://172.19.103.73:10000/api/v1.0/admin/std
  versionurl: http://172.19.103.73:10000/api/v1.0/admin/version
  cdatypeurl: http://172.19.103.73:10000/api/v1.0/admin/cda_type
  stdsourceurl: http://172.19.103.73:10000/api/v1.0/admin/standard_source
  adaption: http://172.19.103.73:10000/api/v1.0/adapter
  standard: http://172.19.103.73:10000/api/v1.0/std
  #browseClientUrl: http://192.168.1.221:8010/profile/browser
  browseClientUrl: http://172.19.103.70:1235/profile
  browseClientOutSizeUrl: http://27.154.233.186:9480/profile
  profileurl: http://172.19.103.74:9009/api/v1.0
fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
std:
  version: 59083976eebd
---
spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: chenweishan
    password: chenweishan
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  baseClientId: zkGuSIm2Fg  # 【基础信息管理】应用
  qcReportClientId: 2YTOSRI0tw
  resourceBrowseClientId: W8RDizgDIB
  browseClientId: uzs5G0HgTp
  oauth2InnerUrl: http://172.19.103.70:1235/gateway/authentication/
  oauth2OuterUrl: http://27.154.233.186:10260/  #厦门-认证外网
service-gateway:
  username: user
  password: eureka
  url: http://172.19.103.73:10000/api/v1.0/admin
  adminInnerUrl: http://172.19.103.73:10000
  stdurl: http://172.19.103.73:10000/api/v1.0/admin/std
  versionurl: http://172.19.103.73:10000/api/v1.0/admin/version
  cdatypeurl: http://172.19.103.73:10000/api/v1.0/admin/cda_type
  stdsourceurl: http://172.19.103.73:10000/api/v1.0/admin/standard_source
  adaption: http://172.19.103.73:10000/api/v1.0/adapter
  standard: http://172.19.103.73:10000/api/v1.0/std
  #browseClientUrl: http://192.168.1.221:8010/profile/browser
  browseClientUrl: http://172.19.103.70:1235/profile
  browseClientOutSizeUrl: http://27.154.233.186:9480/profile
  profileurl: http://172.19.103.74:9009/api/v1.0
fast-dfs:
  tracker-server: 172.19.103.13:22122
  public-server: http://172.19.103.52:80
std:
  version: 59083976eebd

+ 60 - 0
app-ehr-portal.yml

@ -0,0 +1,60 @@
server:
  port: 8011
  session:
    timeout: 30000
spring:
  redis:
    database: 0 # Database index used by the connection factory.
    timeout: 0 # Connection timeout in milliseconds.
    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.
  application:
    message: EHR Portal
app:
  clientId: 3CDhsgepr4
  baseClientId: zkGuSIm2Fg  #【基础信息管理】应用
---
spring:
  profiles: dev
  redis:
    host: 172.19.103.47
    port: 6379
    password: redis!@456
service-gateway:
  adminInnerUrl: http://172.19.103.73:10000
  zuulOuterUrl: http://172.19.103.73:10001
  profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
server:
  jsp-servlet:
    init-parameters:
      development: true
---
spring:
  profiles: alpha
  redis:
    host: 172.19.103.47
    port: 6379
    password: redis!@456
service-gateway:
  adminInnerUrl: http://172.19.103.73:10000
  zuulOuterUrl: http://172.19.103.73:10001
  profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
---
spring:
  profiles: prod
  redis:
    host: 192.168.135.40
    port: 6390
    password: redis!@456
service-gateway:
  adminInnerUrl: http://11.1.2.13:10000
  zuulOuterUrl: http://11.1.2.13:10001
  profileInnerUrl: http://11.1.2.13:10000/api/v1.0/admin