hos-central-rest.yml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. security:
  2. basic:
  3. enabled: false
  4. ---
  5. spring:
  6. profiles: dev
  7. datasource:
  8. driverClassName: com.mysql.jdbc.Driver
  9. url: jdbc:mysql://127.0.0.1:3306/prod_sr?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&useSSL=false
  10. username: root
  11. password: 1234
  12. test-on-borrow: true
  13. validation-query: SELECT 1
  14. test-while-idle: true
  15. max-total: 100
  16. default-auto-commit: true
  17. max-idle: 200
  18. min-idle: 50
  19. initial-size: 10
  20. max-active: 200
  21. max-wait: 50
  22. minEvictableIdleTimeMillis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  23. timeBetweenEvictionRunsMillis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  24. testOnBorrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  25. testOnReturn: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  26. testWhileIdle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  27. poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
  28. maxPoolPreparedStatementPerConnectionSize: 50
  29. removeAbandoned: false #超过时间限制是否回收
  30. removeAbandonedTimeout: 7200 #超时时间;单位为秒。180秒=3分钟
  31. logAbandoned: false #关闭abanded连接时输出错误日志
  32. filters: stat,wall #配置监控统计拦截的filters,去掉后监控界面sql将无法统计,'wall'用于防火墙
  33. jpa:
  34. database-platform: org.hibernate.dialect.MySQL5Dialect
  35. hibernate:
  36. dialect: org.hibernate.dialect.MySQL5Dialect
  37. format-sql: true
  38. show-sql: false
  39. aop:
  40. proxy-target-class: false
  41. crawler:
  42. upload:
  43. ip: localhost
  44. port: 8088
  45. api: crawler/patient
  46. storage:
  47. ip: localhost
  48. port: 8088
  49. api: crawler/datapush
  50. elasticsearch:
  51. cluster-name: elasticsearch
  52. cluster-nodes: 172.19.103.9:9300
  53. service-gateway:
  54. url:
  55. ehrMgrUrl: http://172.19.103.74:10220/api/v1.0
  56. ehrCouldUrl: http://172.19.103.73:10400/api/v1.0
  57. ehrAdminUrl: http://172.19.103.73:10000/api/v1.0
  58. sslKeystore: D://tomcat.keystore
  59. sslPassword: 123456
  60. clientId: zkGuSIm2Fg
  61. clientKey: emtHdVNJbTJGZzpnUGR2VFJBWVVoc2tjaHht
  62. # 中间库连接地址信息
  63. temp:
  64. datasource:
  65. driverClassName: oracle.jdbc.driver.OracleDriver
  66. url: jdbc:oracle:thin:@219.139.128.22:1521/orcl
  67. username: yongxing
  68. password: yongxing
  69. validation-query: select 1 from dual
  70. ---
  71. spring:
  72. profiles: prod_sr
  73. datasource:
  74. driverClassName: com.mysql.jdbc.Driver
  75. url: jdbc:mysql://192.168.210.3:3310/tenant_central?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  76. username: jkzlesb
  77. password: Ajch6o@Y
  78. test-on-borrow: true
  79. validation-query: SELECT 1
  80. test-while-idle: true
  81. max-total: 100
  82. default-auto-commit: true
  83. max-idle: 200
  84. min-idle: 50
  85. initial-size: 10
  86. max-active: 200
  87. max-wait: 50
  88. minEvictableIdleTimeMillis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  89. timeBetweenEvictionRunsMillis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  90. testOnBorrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  91. testOnReturn: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  92. testWhileIdle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  93. poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
  94. maxPoolPreparedStatementPerConnectionSize: 50
  95. removeAbandoned: false #超过时间限制是否回收
  96. removeAbandonedTimeout: 7200 #超时时间;单位为秒。180秒=3分钟
  97. logAbandoned: false #关闭abanded连接时输出错误日志
  98. filters: stat,wall #配置监控统计拦截的filters,去掉后监控界面sql将无法统计,'wall'用于防火墙
  99. jpa:
  100. database-platform: org.hibernate.dialect.MySQL5Dialect
  101. hibernate:
  102. dialect: org.hibernate.dialect.MySQL5Dialect
  103. format-sql: true
  104. show-sql: false
  105. aop:
  106. proxy-target-class: false
  107. crawler:
  108. upload:
  109. ip: localhost
  110. port: 8088
  111. api: crawler/patient
  112. storage:
  113. ip: localhost
  114. port: 8088
  115. api: crawler/datapush
  116. elasticsearch:
  117. cluster-name: elasticsearch
  118. cluster-nodes: 172.10.10.5:9300
  119. service-gateway:
  120. url:
  121. ehrMgrUrl: http://192.168.200.76:10220/api/v1.0
  122. ehrCouldUrl: http://192.168.200.67:10400/api/v1.0
  123. ehrAdminUrl: http://192.168.220.84:10000/api/v1.0
  124. sslKeystore: /root/jkzl/tomcat.keystore
  125. sslPassword: 123456
  126. clientId: zkGuSIm2Fg
  127. clientKey: emtHdVNJbTJGZzpnUGR2VFJBWVVoc2tjaHht
  128. # 中间库连接地址信息
  129. temp:
  130. datasource:
  131. driverClassName: oracle.jdbc.driver.OracleDriver
  132. url: jdbc:oracle:thin:@10.16.11.9:1522/sjpt_p4
  133. username: shangrao
  134. password: shangrao_2017
  135. validation-query: select 1 from dual
  136. ---
  137. spring:
  138. profiles: test
  139. datasource:
  140. driverClassName: com.mysql.jdbc.Driver
  141. url: jdbc:mysql://171.35.109.39:3310/tenant_a?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&useSSL=false
  142. username: chenweishan
  143. password: GP8Qz4qU
  144. test-on-borrow: true
  145. validation-query: SELECT 1
  146. test-while-idle: true
  147. max-total: 100
  148. default-auto-commit: true
  149. max-idle: 200
  150. min-idle: 50
  151. initial-size: 10
  152. max-active: 200
  153. max-wait: 50
  154. minEvictableIdleTimeMillis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  155. timeBetweenEvictionRunsMillis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  156. testOnBorrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  157. testOnReturn: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  158. testWhileIdle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  159. poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
  160. maxPoolPreparedStatementPerConnectionSize: 50
  161. removeAbandoned: false #超过时间限制是否回收
  162. removeAbandonedTimeout: 7200 #超时时间;单位为秒。180秒=3分钟
  163. logAbandoned: false #关闭abanded连接时输出错误日志
  164. filters: stat,wall #配置监控统计拦截的filters,去掉后监控界面sql将无法统计,'wall'用于防火墙
  165. jpa:
  166. database-platform: org.hibernate.dialect.MySQL5Dialect
  167. hibernate:
  168. dialect: org.hibernate.dialect.MySQL5Dialect
  169. format-sql: true
  170. show-sql: false
  171. aop:
  172. proxy-target-class: false
  173. crawler:
  174. upload:
  175. ip: localhost
  176. port: 8088
  177. api: crawler/patient
  178. storage:
  179. ip: localhost
  180. port: 8088
  181. api: crawler/datapush
  182. elasticsearch:
  183. cluster-name: elasticsearch
  184. cluster-nodes: 172.19.103.9:9300
  185. service-gateway:
  186. url:
  187. ehrMgrUrl: http://171.35.109.42:10220/api/v1.0
  188. ehrCouldUrl: http://171.35.109.42:10400/api/v1.0
  189. ehrAdminUrl: http://171.35.109.40:10000/api/v1.0
  190. sslKeystore: D://tomcat.keystore
  191. sslPassword: 123456
  192. clientId: zkGuSIm2Fg
  193. clientKey: emtHdVNJbTJGZzpnUGR2VFJBWVVoc2tjaHht
  194. # 中间库连接地址信息
  195. temp:
  196. datasource:
  197. driverClassName: oracle.jdbc.driver.OracleDriver
  198. url: jdbc:oracle:thin:@192.168.0.105:1521/orcl
  199. username: jkzl
  200. password: jkzl
  201. validation-query: select 1 from dual