application-dev.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. bpm:
  2. file-path: /Users/jiez/workspace/haosen/haosen_srm/media
  3. ctx: ''
  4. target-url: http://127.0.0.1:8778
  5. type: 1
  6. callback-url: http://127.0.0.1:8778/bill/rest/callback
  7. pushmsg-url: http://127.0.0.1:8778/bill/rest/pushmsg
  8. spring:
  9. jackson:
  10. time-zone: GMT+8
  11. date-format: yyyy-MM-dd HH:mm:ss
  12. datasource:
  13. druid:
  14. #MySQL
  15. driver-class-name: com.mysql.jdbc.Driver
  16. url: jdbc:mysql://127.0.0.1:3306/jqh_srm_9000?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true
  17. username: root
  18. password: root
  19. initial-size: 10
  20. max-active: 20
  21. min-idle: 2
  22. max-wait: 6000
  23. pool-prepared-statements: true
  24. max-pool-prepared-statement-per-connection-size: 5
  25. time-between-eviction-runs-millis: 60000
  26. min-evictable-idle-time-millis: 300000
  27. #Oracle需要打开注释
  28. #validation-query: SELECT 1 FROM uc_user
  29. test-while-idle: true
  30. test-on-borrow: false
  31. test-on-return: false
  32. filter:
  33. stat:
  34. log-slow-sql: true
  35. slow-sql-millis: 1000
  36. merge-sql: false
  37. wall:
  38. config:
  39. multi-statement-allow: true
  40. redis:
  41. host: 127.0.0.1
  42. port: 6379
  43. database: 2
  44. timeout: 30s
  45. boot:
  46. admin:
  47. client:
  48. url: http://127.0.0.1:9095
  49. mybatis-plus:
  50. mapper-locations: classpath*:/mapper/**/infra/*.xml
  51. #实体扫描,多个package用逗号或者分号分隔
  52. type-aliases-package: com.**.**.infra.entity
  53. type-enums-package: com.**.**.infra.entity.enums
  54. type-handlers-package: com.**.**.infra.entity.typehandler
  55. global-config:
  56. #数据库相关配置
  57. db-config:
  58. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  59. id-type: ID_WORKER
  60. banner: false
  61. #原生配置
  62. configuration:
  63. map-underscore-to-camel-case: true
  64. cache-enabled: false
  65. call-setters-on-nulls: true
  66. jdbc-type-for-null: 'null'
  67. # 配置type-enums-package只对注解方式的枚举处理能提前加载缓存.
  68. default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
  69. logging:
  70. level:
  71. root: info
  72. com.srm: debug
  73. com.srm.bpm.infra.dao.ToaBillDao.selectTodoSizeByStatus: error
  74. seata:
  75. enabled: false
  76. tx-service-group: bpm_tx_group
  77. enable-auto-data-source-proxy: false
  78. transport:
  79. type: tcp
  80. server: nio
  81. heartbeat: true
  82. enable-client-batch-send-request: true
  83. thread-factory:
  84. boss-thread-prefix: 'NettyBoss'
  85. worker-thread-prefix: 'NettyServerNIOWorker'
  86. server-executor-thread-prefix: 'NettyServerBizHandler'
  87. share-boss-worker: false
  88. client-selector-thread-prefix: 'NettyClientSelector'
  89. client-selector-thread-size: 1
  90. client-worker-thread-prefix: 'NettyClientWorkerThread'
  91. boss-thread-size: 1
  92. worker-thread-size: default
  93. shutdown:
  94. wait: 3
  95. serialization: seata
  96. compressor: none
  97. service:
  98. default:
  99. grouplist: "127.0.0.1:8091"
  100. enable-degrade: false
  101. disable-global-transaction: false
  102. vgroup-mapping:
  103. bpm_tx_group: 'default'
  104. client:
  105. rm:
  106. async-commit-buffer-limit: 10000
  107. lock:
  108. retry-interval: 10
  109. retry-times: 30
  110. retry-policy-branch-rollback-on-conflict: true
  111. tm:
  112. commit-retry-count: 5
  113. rollback-retry-count: 5
  114. undo:
  115. log-table: 'undo_log'
  116. log-serialization: jackson
  117. data-validation: true
  118. log:
  119. exception-rate: 100