application-show.yml 4.4 KB

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