application-prod.yml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. server:
  2. port: 8706
  3. tomcat:
  4. uri-encoding: utf-8
  5. threads:
  6. min-spare: 20
  7. max: 800
  8. accept-count: 200
  9. max-connections: 10000
  10. spring:
  11. application:
  12. name: web-server
  13. thymeleaf:
  14. cache: false
  15. datasource:
  16. dynamic:
  17. primary: his
  18. strict: false
  19. datasource:
  20. his:
  21. url: "jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb"
  22. username: "sa"
  23. password:
  24. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  25. lis:
  26. url: "jdbc:sqlserver://172.16.32.178:1433;databaseName=eLimsCore"
  27. username: "sa"
  28. password: "hnthxyyy"
  29. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  30. adicon:
  31. url: "jdbc:sqlserver://172.16.32.100:1433;databaseName=CYYFCheckUPV5_HNTHYY"
  32. username: "sa"
  33. password: "*ThyyHis2018#"
  34. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  35. druid:
  36. #type: com.alibaba.druid.pool.DruidDataSource
  37. #初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
  38. initial-size: 40
  39. #最大连接池数量
  40. max-active: 100
  41. #最小连接池数量
  42. min-idle: 40
  43. #获取连接时最大等待时间,单位毫秒
  44. max-wait: 60000
  45. #使用非公平锁。
  46. use-unfair-lock: true
  47. #用来检测连接是否有效的sql,要求是一个查询语句。
  48. validation-query: SELECT 1
  49. #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
  50. test-while-idle: true
  51. #申请连接时执行validationQuery检测连接是否有效,
  52. test-on-borrow: true
  53. #归还连接时执行validationQuery检测连接是否有效,
  54. test-on-return: false
  55. #Destroy线程会检测连接的间隔时间,testWhileIdle的判断依据,详细看testWhileIdle属性的说明
  56. time-between-eviction-runs-millis: 60000
  57. #配置一个连接在池中最小生存的时间,单位是毫秒
  58. min-evictable-idle-time-millis: 300000
  59. #监控统计用的filter:stat 日志用的filter:log4j 防御sql注入的filter:wall
  60. filters: stat
  61. #是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
  62. pool-prepared-statements: false
  63. #要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
  64. max-pool-prepared-statement-per-connection-size: 200
  65. #对于长时间不使用的连接强制关闭
  66. remove-abandoned: true
  67. #数据库链接超过180秒开始关闭空闲连接 秒为单位
  68. remove-abandoned-timeout: 180
  69. #将当前关闭动作记录到日志 此配置项会影响性能,只在排查的时候打开,系统运行时最好关闭。
  70. log-abandoned: true
  71. autoconfigure:
  72. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  73. jackson:
  74. time-zone: Asia/Shanghai
  75. date-format: yyyy-MM-dd HH:mm:ss
  76. mvc:
  77. format:
  78. date: yyyy-MM-dd
  79. date-time: yyyy-MM-dd HH:mm:ss
  80. mybatis-plus:
  81. configuration:
  82. map-underscore-to-camel-case: true
  83. logging:
  84. level:
  85. thyyxxk.webserver.dao: info
  86. forest:
  87. timeout: 0
  88. read-timeout: 0
  89. log-enabled: true
  90. log-request: true
  91. log-response-status: true
  92. connect-timeout: 1500
  93. variables:
  94. emrUrl: "http://172.16.32.125:8001/emr/runtime/api/v1"
  95. management:
  96. server:
  97. port: 9091
  98. endpoints:
  99. web:
  100. base-path: /actuator
  101. exposure:
  102. include: '*'
  103. metrics:
  104. export:
  105. simple:
  106. enabled: true
  107. jmx:
  108. enabled: true
  109. prometheus:
  110. enabled: true
  111. distribution:
  112. percentiles-histogram:
  113. http:
  114. server:
  115. requests: false
  116. minimum-expected-value:
  117. http:
  118. server:
  119. requests: 20ms
  120. maximum-expected-value:
  121. http:
  122. server:
  123. requests: 200ms
  124. endpoint:
  125. metrics:
  126. enabled: true
  127. health:
  128. show-details: always
  129. probes:
  130. enabled: true
  131. prometheus:
  132. enabled: true
  133. is-prod: true
  134. si-api-url: http://webhis.thyy.cn:8077/ybjkdz
  135. si-access-key: 04eMGRg7beAO6vqwrZiLacV8Uy3jNn7QGDUcBO
  136. si-secret-key: SK3Oip3a2R3NLz2xm58Mpmi69oFu96KrdKNRKglN
  137. si-zy-fee-url: http://172.16.32.166:1000
  138. si-mz-fee-url: http://172.16.32.166:1100/mzFee
  139. si-injury-fee-url: http://172.16.32.163:2100/siInjury
  140. si-injury-systm-url: http://172.16.32.163:2000/siInjury
  141. thmz-api-url: http://172.16.32.160:81/thmz
  142. rmHkUserApi: http://172.16.32.167:20923/thyy/api/haikang/door/destructionUser
  143. thyy:
  144. system:
  145. yz-config:
  146. yz-allow-invalidation: true
  147. exceeding-discharge-days: 4
  148. prescribe-medical-advice-after-discharge: false
  149. ignore-dis-order-role: 85
  150. shoushubingqu: "8000130"
  151. rational-use-url: http://172.16.32.121:8016/Audit.ashx
  152. institution-name: "长沙泰和医院"
  153. institution-id: "H43010500370"
  154. institution-area: "430105"
  155. emr-zy-dept-code: "3020000"
  156. archive:
  157. path: "/mnt/archive"
  158. archive-url: http://172.16.32.197:20921/thyy/api/archive
  159. emr-archive-url: "http://webhis.thyy.cn:8080/thyyemrpdfserver/emr/archive/pdf"
  160. apiurl:
  161. socket-api: http://172.16.32.160:20922/thyy/api/socket
  162. scheduled-api: http://172.16.32.133:21702/thyy/scheduled/api
  163. thirdpart-api: http://172.16.32.160:21701/thyy/thirdpart/api
  164. drg-web-api: "http://172.16.32.126:8080"
  165. emr-editor-template-url: "http://webhis.thyy.cn:9281/"
  166. jcptmobile:
  167. address: "https://emr.hnthyy.cn:8080"
  168. agentid: 1000050
  169. url: "https://open.weixin.qq.com/connect/oauth2/authorize"
  170. appid: "wwf0b23c8b36012b34"
  171. public-key: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDN7dqjx3C71g7P6qlcMHsnxawNSdgx7C0nHreDzAk0GFUO2xAkhxrYT9P2KQTPWzFQOje/DaxhWhJHssRQc8Q9lnaDZXta3wZvIvkLhW/NfJQNMLpOhYS6wyfTHrppSw/52TcxttmzmAEsza2ekkZbSvTwyVU4rIpKHyYt9r7bQIDAQAB"
  172. we-com:
  173. wply: 1236 #物品领用:肖帅