application-show.yml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. servlet:
  11. encoding:
  12. charset: utf-8
  13. spring:
  14. thymeleaf:
  15. cache: false
  16. datasource:
  17. dynamic:
  18. primary: his
  19. strict: false
  20. datasource:
  21. his:
  22. url: "jdbc:sqlserver://172.16.32.179:1433;databaseName=thxyhisdb"
  23. username: "sa"
  24. password:
  25. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  26. lis:
  27. url: "jdbc:sqlserver://172.16.32.178:1433;databaseName=eLimsCore"
  28. username: "sa"
  29. password: "hnthxyyy"
  30. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  31. druid:
  32. #type: com.alibaba.druid.pool.DruidDataSource
  33. #初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
  34. initial-size: 40
  35. #最大连接池数量
  36. max-active: 100
  37. #最小连接池数量
  38. min-idle: 40
  39. #获取连接时最大等待时间,单位毫秒
  40. max-wait: 60000
  41. #使用非公平锁。
  42. use-unfair-lock: true
  43. #用来检测连接是否有效的sql,要求是一个查询语句。
  44. validation-query: SELECT 1
  45. #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
  46. test-while-idle: true
  47. #申请连接时执行validationQuery检测连接是否有效,
  48. test-on-borrow: true
  49. #归还连接时执行validationQuery检测连接是否有效,
  50. test-on-return: false
  51. #Destroy线程会检测连接的间隔时间,testWhileIdle的判断依据,详细看testWhileIdle属性的说明
  52. time-between-eviction-runs-millis: 60000
  53. #配置一个连接在池中最小生存的时间,单位是毫秒
  54. min-evictable-idle-time-millis: 300000
  55. #监控统计用的filter:stat 日志用的filter:log4j 防御sql注入的filter:wall
  56. filters: stat
  57. #是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
  58. pool-prepared-statements: false
  59. #要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
  60. max-pool-prepared-statement-per-connection-size: 200
  61. #对于长时间不使用的连接强制关闭
  62. remove-abandoned: true
  63. #数据库链接超过180秒开始关闭空闲连接 秒为单位
  64. remove-abandoned-timeout: 180
  65. #将当前关闭动作记录到日志 此配置项会影响性能,只在排查的时候打开,系统运行时最好关闭。
  66. log-abandoned: true
  67. autoconfigure:
  68. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  69. jackson:
  70. time-zone: Asia/Shanghai
  71. date-format: yyyy-MM-dd HH:mm:ss
  72. mvc:
  73. format:
  74. date: yyyy-MM-dd
  75. date-time: yyyy-MM-dd HH:mm:ss
  76. forest:
  77. timeout: 0
  78. read-timeout: 0
  79. log-enabled: true
  80. log-request: true
  81. log-response-status: true
  82. variables:
  83. socketCenter: http://localhost:8707/socketApi
  84. mybatis-plus:
  85. configuration:
  86. map-underscore-to-camel-case: true
  87. execute-scheduled: false
  88. triage-notify-url: http://localhost:8082/triage/roomScreen/pushMsg
  89. si-tj-url: http://jkglcsx.server.zhongmeihealth.com/openInter
  90. #正式环境
  91. si-api-url: http://dms.hun.hsip.gov.cn/isp-api/powercsb/1101
  92. si-access-key: 04eMGRg7beAO6vqwrZiLacV8Uy3jNn7QGDUcBO
  93. si-secret-key: SK3Oip3a2R3NLz2xm58Mpmi69oFu96KrdKNRKglN
  94. si-zy-fee-url: http://172.16.32.166:1000
  95. si-mz-fee-url: http://172.16.32.166:1100/mzFee
  96. si-injury-fee-url: http://172.16.32.163:2100/siInjury
  97. si-injury-systm-url: http://172.16.32.163:2000/siInjury
  98. #thmz-api-url: http://172.16.32.160:81/thmz/api/v1
  99. #测试环境
  100. #si-api-url: http://10.93.30.130:20001/isp-api/powercsb/1101
  101. #si-access-key: Zgs5jfxaKb86XbCuUzLK9EhFjiQfHR1vydaPzp
  102. #si-secret-key: SKT2ETMT3XkAYApqh79DCnN9ZjfbQEBMPU0GyLz9
  103. #si-zy-fee-url: http://localhost:1000
  104. #si-mz-fee-url: http://localhost:1100/mzFee
  105. #si-injury-fee-url: http://localhost:2100/siInjury
  106. #si-injury-systm-url: http://localhost:2000/siInjury
  107. thmz-api-url: http://172.16.30.22:8089/thmz/api/v1
  108. appletThmzUrl: http://172.16.30.119:8089/thmz