application.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. server:
  2. port: ${ag-zuul.server.port}
  3. info:
  4. app:
  5. name: AG-ZUUL
  6. description: EHR Platform Gateway Service
  7. version: 1.0.0
  8. component: Zuul Server
  9. spring:
  10. datasource:
  11. driver-class-name: com.mysql.jdbc.Driver
  12. max-active: 5
  13. max-idle: 2
  14. min-idle: 2
  15. validation-query: SELECT 1
  16. test-on-borrow: true
  17. redis:
  18. database: 0
  19. timeout: 0
  20. pool:
  21. max-active: 8
  22. max-idle: 8
  23. max-wait: -1
  24. min-idle: 1
  25. zuul:
  26. config-priority: false
  27. ignored-services: '*'
  28. sensitive-headers:
  29. routes:
  30. svr-dfs:
  31. path: /dfs/**
  32. serviceId: svr-dfs
  33. svr-basic:
  34. path: /basic/**
  35. serviceId: svr-basic
  36. svr-quota:
  37. path: /quota/**
  38. serviceId: svr-quota
  39. svr-redis:
  40. path: /redis/**
  41. serivceId: svr-redis
  42. svr-resource:
  43. path: /resource/**
  44. serviceId: svr-resource
  45. svr-standard:
  46. path: /standard/**
  47. serviceId: svr-standard
  48. svr-authentication:
  49. path: /authentication/**
  50. serviceId: svr-authentication
  51. svr-health-profile:
  52. path: /profile/**
  53. serviceId: svr-health-profile
  54. svr-pack-analyzer:
  55. path: /pack-analyzer/**
  56. serviceId: svr-pack-analyzer
  57. svr-pack-mgr:
  58. path: /pack-mgr/**
  59. serviceId: svr-pack-mgr
  60. svr-pack-resolv:
  61. path: /pack-resolve/**
  62. serviceId: svr-pack-resolve
  63. hos-admin:
  64. path: /hos-admin/**
  65. serviceId: hos-admin
  66. ---
  67. spring:
  68. profiles: dev
  69. datasource:
  70. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  71. username: chenweishan
  72. password: chenweishan
  73. redis:
  74. host: 172.19.103.47
  75. port: 6379
  76. password: redis!@456
  77. zuul:
  78. routes:
  79. # 福州总部开放平台接口相关
  80. jkzl-server:
  81. path: /jkzl/**
  82. url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
  83. # 福州总部网关
  84. fz-gateway:
  85. path: /fzGateway/**
  86. url: http://service.yihu.com:8085/
  87. fastdfs-server:
  88. path: /file/**
  89. url: http://172.19.103.52:80/
  90. # 卫计委官网
  91. gov-server:
  92. path: /open/govServer/**
  93. url: http://www.srswjw.gov.cn/
  94. # 应急指挥
  95. emergency-server:
  96. path: /open/baidu/**
  97. url: http://yingyan.baidu.com/