Browse Source

去掉无用配置

Progr1mmer 6 years ago
parent
commit
4b1381fd33
1 changed files with 27 additions and 43 deletions
  1. 27 43
      ag-zuul.yml

+ 27 - 43
ag-zuul.yml

@ -34,7 +34,6 @@ zuul:
    svr-authentication:
      path: /authentication/**
      serviceId: svr-authentication
    #档案包相关
    svr-health-profile:
      path: /profile/**
      serviceId: svr-health-profile
@ -57,61 +56,44 @@ spring:
      max-idle: 8
      max-wait: -1
      min-idle: 1
  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
    dbcp2:
      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: weifuwu
    password: weifuwu
  redis:
    host: 172.19.103.47
    port: 6379
    password: redis!@456
zuul:
  routes:
    # 福州总部开放平台接口相关
    jkzl-server:
      path: /jkzl/**
      url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
    fastdfs-server:
      path: /file/**
      url: http://172.19.103.52:80/
---
spring:
  profiles: test
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: weifuwu
    password: weifuwu
  redis:
    host: 172.19.103.47
    port: 6379
    password: redis!@456
zuul:
  routes:
    # 福州总部开放平台接口相关
    jkzl-server:
      path: /jkzl/**
      url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
    fastdfs-server:
      path: /file/**
      url: http://172.19.103.52:80/
---
spring:
  profiles: prod_fz
  datasource:
    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
@ -120,56 +102,58 @@ zuul:
  routes:
    jkzl-server:
      path: /jkzl/**
      url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
      url: https://api.yihu.com/OpenPlatform/cgiBin/1.0/
    fastdfs-server:
      path: /file/**
      url: http://11.1.2.9:80/
---
spring:
  profiles: prod_sr
  datasource:
    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
    port: 6390
    password: q4YaQemf
zuul:
  routes:
    # 福州总部开放平台接口相关
    jkzl-server:
      path: /jkzl/**
      url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
      url: https://api.yihu.com/OpenPlatform/cgiBin/1.0/
    fastdfs-server:
      path: /file/**
      url: http://10.176.97.5:8888/
---
spring:
  profiles: prod_fzzy
  datasource:
    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
    port: 6390
    password: q4YaQemf
zuul:
  routes:
    # 福州总部开放平台接口相关
    jkzl-server:
      path: /jkzl/**
      url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
      url: https://api.yihu.com/OpenPlatform/cgiBin/1.0/
    fastdfs-server:
      path: /file/**
      url: http://100.100.1.157:8888/
---
spring:
  profiles: prod_srformal
  datasource:
    url: jdbc:mysql://192.168.40.34:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: healthcloud
    password: GP8Qz4qU
  redis:
    host: 192.168.50.82
    port: 6379
    password: q4YaQemf
zuul:
  routes:
    # 福州总部开放平台接口相关
    jkzl-server:
      path: /jkzl/**
      url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
      url: https://api.yihu.com/OpenPlatform/cgiBin/1.0/
    fastdfs-server:
      path: /file/**
      url: http://192.168.50.37:8888/