application.yml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. #log level
  2. logging:
  3. level:
  4. org:
  5. apache:
  6. zookeeper: WARN
  7. hadoop: WARN
  8. hibernate: ERROR
  9. #set max http header size
  10. server:
  11. tomcat:
  12. max-http-header-size: 100000
  13. #The region code, where application deployed
  14. deploy:
  15. region: 3502
  16. #EHR platform user default password
  17. default:
  18. password: 123456
  19. #Actuator
  20. management:
  21. security:
  22. enabled: false
  23. #Hystrix
  24. hystrix:
  25. command:
  26. default:
  27. execution:
  28. isolation:
  29. thread:
  30. timeoutInMilliseconds: 300000
  31. #Ribbon
  32. ribbon:
  33. ReadTimeout: 300000
  34. ConnectTimeout: 5000
  35. #Application error definition, this file define common errors,
  36. #if the error is used only in your application, please define it in your application configuration file.
  37. ehr.common.invalid.parameter: 参数解析错误
  38. ehr.common.query.not.found: 不存在该对象
  39. ehr.common.repeat.code: 代码重复
  40. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
  41. ag-ehr-platform.server.port: 443
  42. ag-ehr-cloud.server.port: 10400
  43. ag-portal-cloud.server.port: 10280
  44. ag-admin.server.port: 10000
  45. ag-zuul.server.port: 10001
  46. svr-adaption.server.port: 10150
  47. svr-app.server.port: 10160
  48. svr-dict.server.port: 10050
  49. svr-esb.server.port: 10130
  50. svr-geography.server.port: 10090
  51. svr-health-profile.server.port: 9009
  52. svr-organization.server.port: 10070
  53. svr-pack-mgr.server.port: 10140
  54. svr-pack-resolve.server.port: 10170
  55. svr-pack-analyzer.server.port: 10340
  56. svr-patient.server.port: 10100
  57. svr-security.server.port: 10110
  58. svr-special-dict.server.port: 10180
  59. svr-standard.server.port: 10040
  60. svr-user.server.port: 10120
  61. svr-family.server.port: 10190
  62. svr-health-profile-search.server.port: 10200
  63. svr-workflow.server.port: 10210
  64. svr-resource.server.port: 10220
  65. svr-archive-security.server.port: 10230
  66. svr-profile-statistics.server.port: 10240
  67. svr-authentication.server.port: 10260
  68. svr-portal.server.port: 10250
  69. svr-file-resource.server.port: 10270
  70. svr-ehr-basic.server.port: 10300
  71. svr-redis.server.port: 10310
  72. svr-redis-memory.server.port: 10311
  73. svr-log-collection.server.port: 10320
  74. svr-quota.server.port: 10330
  75. svr-dfs.server.port: 10770
  76. #Application acuator
  77. endpoints:
  78. restart:
  79. enabled: true
  80. shutdown:
  81. enabled: true
  82. health:
  83. sensitive: false
  84. spring:
  85. jmx:
  86. enabled: false
  87. jpa:
  88. database-platform: org.hibernate.dialect.MySQL5Dialect
  89. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  90. show-sql: false
  91. #session:
  92. #store-type: none
  93. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  94. cloud:
  95. inetutils:
  96. ignoredInterfaces:
  97. - docker0
  98. - veth.*
  99. - vmnet.*
  100. - TAP-Win.*
  101. - Software Loopback.*
  102. - .*VPN.*
  103. - .*Virtual.*
  104. - .*Debug.*
  105. eureka:
  106. client:
  107. serviceUrl:
  108. defaultZone: http://${eureka-server-ip}/eureka/
  109. healthcheck:
  110. enabled: false
  111. ---
  112. spring:
  113. profiles: dev
  114. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  115. #else the server must have host map.
  116. eureka:
  117. instance:
  118. prefer-ip-address: false
  119. #eureka-server-ip: 127.0.0.1:8761
  120. #eureka-server-ip: 192.168.1.221:8761
  121. eureka-server-ip: 172.19.103.73:8761
  122. #eureka-server-ip: 172.19.103.58:8761
  123. #eureka-server-ip: 172.19.103.33:8761
  124. ---
  125. spring:
  126. profiles: alpha
  127. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  128. #else the server must have host map.
  129. eureka:
  130. instance:
  131. prefer-ip-address: false
  132. eureka-server-ip: 192.168.1.221:8761
  133. ---
  134. spring:
  135. profiles: test
  136. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  137. #else the server must have host map.
  138. eureka:
  139. instance:
  140. prefer-ip-address: false
  141. eureka-server-ip: 172.19.103.73:8761
  142. ---
  143. spring:
  144. profiles: prod
  145. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  146. #else the server must have host map.
  147. eureka:
  148. instance:
  149. prefer-ip-address: false
  150. eureka-server-ip: 11.1.2.21:8761
  151. ---
  152. spring:
  153. profiles: prod_fz
  154. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  155. #else the server must have host map.
  156. eureka:
  157. instance:
  158. prefer-ip-address: true
  159. eureka-server-ip: 11.1.2.1:8761
  160. ---
  161. spring:
  162. profiles: prod_sr
  163. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  164. #else the server must have host map.
  165. eureka:
  166. instance:
  167. prefer-ip-address: true
  168. eureka-server-ip: 10.176.97.10:8761
  169. #eureka-server-ip: 171.35.109.46:8761
  170. ---
  171. spring:
  172. profiles: prod_fzzy
  173. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  174. #else the server must have host map.
  175. eureka:
  176. instance:
  177. prefer-ip-address: true
  178. eureka-server-ip: 100.100.1.162:8761