Quellcode durchsuchen

1.7.0配置修改-- by zdm

zdm vor 7 Jahren
Ursprung
Commit
3d0f801065
2 geänderte Dateien mit 72 neuen und 0 gelöschten Zeilen
  1. 38 0
      ag-admin.yml
  2. 34 0
      svr-quota.yml

+ 38 - 0
ag-admin.yml

@ -18,6 +18,44 @@ zuul:
eip:
  tenant: jkzl
zuul:
  ignored-services: '*'
  routes:
    svr-dfs:
      path: /dfs/**
      serviceId: svr-dfs
    svr-ehr-basic:
      path: /basic/**
      serviceId: svr-ehr-basic
    svr-quota:
      path: /quota/**
      serviceId: svr-quota
    svr-redis:
      path: /redis/**
      serivceId: svr-redis
    svr-resource:
      path: /resource/**
      serviceId: svr-resource
    svr-standard:
      path: /standard/**
      serviceId: svr-standard
    svr-authentication:
      path: /authentication/**
      serviceId: svr-authentication
    #档案包相关
    svr-health-profile:
      path: /profile/**
      serviceId: svr-health-profile
    svr-pack-analyzer:
      path: /pack-analyzer/**
      serviceId: svr-pack-analyzer
    svr-pack-mgr:
      path: /pack-mgr/**
      serviceId: svr-pack-mgr
    svr-pack-resolv:
      path: /pack-resolve/**
      serviceId: svr-pack-resolve
---
spring:
  profiles: dev

+ 34 - 0
svr-quota.yml

@ -1,4 +1,14 @@
spring:
  # REDIS
  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
@ -19,6 +29,10 @@ spring:
    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
  data:
    solr:
      zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
@ -36,6 +50,10 @@ spring:
    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
  data:
    solr:
      zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
@ -53,6 +71,12 @@ spring:
    url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: healthcloud
    password: GP8Qz4qU
  redis:
    host: 11.1.2.22 # Redis server host.
    port: 6390
    # Login password of the redis server.
    password: Kb6wKDQP1W4
  data:
    solr:
      zk-host: node1.ehr.h3c.com,node2.ehr.h3c.com,node3.ehr.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
@ -70,6 +94,11 @@ spring:
    url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: healthcloud
    password: GP8Qz4qU
  redis:
    host: 10.176.97.5 # Redis server host.
    port: 6390
    password: q4YaQemf
  data:
    solr:
      zk-host: node1.jkzl.com,node2.jkzl.com,node3.jkzl.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
@ -87,6 +116,11 @@ spring:
    url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: healthcloud
    password: GP8Qz4qU
  redis:
    host: 100.100.1.161 # Redis server host.
    port: 6390
    password: q4YaQemf
  data:
    solr:
      zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com,node4.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.