Browse Source

配置追加

zdm 6 years ago
parent
commit
942b0d2928
3 changed files with 186 additions and 0 deletions
  1. 70 0
      app-emergency-server.yml
  2. 50 0
      svr-authentication.yml
  3. 66 0
      svr-log-collection.yml

+ 70 - 0
app-emergency-server.yml

@ -0,0 +1,70 @@
server:
  contextPath: /emergency
  port: 9099
  session:
    timeout: 30000000
logging:
  level:
    org.springframework: INFO
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:
    name: app-emergency-server
    message: EHR Emergency Server
app:
  clientId: 5DloGvRVVZ
---
spring:
  profiles: dev
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  oauth2InnerUrl: http://172.19.103.73:10260/
  oauth2OuterUrl: http://27.154.233.186:10260/
service-gateway:
  adminInnerUrl: http://172.19.103.73:10000
  profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  yingyanUrl: http://172.19.103.73:10001/open/baidu
---
spring:
  profiles: alpha
  redis:
    host: 172.19.103.47 # Redis server host.
    port: 6379
    password: redis!@456
app:
  oauth2InnerUrl: http://172.19.103.73:10260/
  oauth2OuterUrl: http://27.154.233.186:10260/
service-gateway:
  adminInnerUrl: http://172.19.103.73:10000
  profileInnerUrl: http://172.19.103.73:10000/api/v1.0/admin
  yingyanUrl: http://172.19.103.73:10001/open/baidu
---
spring:
  profiles: prod
  redis:
    host: 192.168.50.82 # Redis server host.
    port: 6379
    password: q4YaQemf
app:
  oauth2InnerUrl: http://192.168.220.84:10000/authentication/
  oauth2OuterUrl: http://jksr.srswjw.gov.cn:1235/gateway/authentication/  #上饶-授权外网映射
service-gateway:
  adminInnerUrl: http://192.168.220.84:10000
  profileInnerUrl: http://192.168.220.84:10000/api/v1.0/admin
  yingyanUrl: http://192.168.220.84:10001/open/baidu

+ 50 - 0
svr-authentication.yml

@ -0,0 +1,50 @@
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.
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 20
    max-idle: 8
    min-idle: 8
    validation-query: SELECT 1
    test-on-borrow: true
---
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
    port: 6379
    password: redis!@456
fz-gateway:
  url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  clientId: 9000401
  clientVersion: 1.0
  handlerId: 50871
---
spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: healthcloud
    password: GP8Qz4qU
  redis:
    host: 192.168.50.82
    port: 6379
    password: q4YaQemf
fz-gateway:
  url: http://192.168.220.84:10001/fzGateway/WSGW/rest
  clientId: 9000401
  clientVersion: 1.0
  handlerId: 50641

+ 66 - 0
svr-log-collection.yml

@ -0,0 +1,66 @@
logging:
  level:
    root: INFO
#kafka:
 # broker:
  #  address: node1.hde.h3c.com:6667
#zookeeper:
 # broker:
  #  address: node1.hde.h3c.com:2181,node2.hde.h3c.com:2181
spring:
  session:
    store-type: none
  jpa:
    database-platform: org.hibernate.dialect.MySQL5Dialect
    hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
    show-sql: false
---
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: chenweishan
    password: chenweishan
service-gateway:
  username: user
  password: eureka
  url: http://192.168.1.221:10000/api/v1.0/admin
kafka:
  broker:
    address: node1.hde.h3c.com:6667
zookeeper:
  broker:
    address: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181
---
spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: healthcloud
    password: GP8Qz4qU
service-gateway:
  username: user
  password: eureka
  url: http://192.168.220.84:10000/api/v1.0/admin
  data:
    mongodb:
      host: 192.168.50.26
      port: 20000
      username: jkzlehr
      password: GMLBq1LG
      authenticationDatabase: admin
      database: ehr
kafka:
  broker:
    address: 172.10.10.2:6667,172.10.10.5:6667
es:
  index: wlyy_quota
  type: wlyy_quota
  host:  http://172.10.10.5:9200
  tHost: 172.10.10.5:9300
  clusterName: jkzl
zookeeper:
  broker:
    address: node1.jkzl.com,node2.jkzl.com,node4.jkzl.com:2181