cardservice-pro.yaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. server:
  2. port: 10009
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /card
  8. compression:
  9. enabled: true #开启数据压缩
  10. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  11. min-response-size: 2048
  12. logging:
  13. file:
  14. path: log/wookit
  15. level:
  16. root: info
  17. "[javax.management]": INFO
  18. "[org.apache.http]": INFO
  19. "[org.apache.tomcat.util.net.NioEndpoint]": INFO
  20. "[sun.rmi]": INFO
  21. "[com.alibaba.nacos]": ERROR
  22. tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
  23. spring:
  24. application:
  25. name: cardservice
  26. cloud:
  27. gateway:
  28. discovery:
  29. locator:
  30. lower-case-service-id: true
  31. enabled: true
  32. nacos:
  33. discovery:
  34. server-addr: 10.16.0.49:8848
  35. namespace: 02f60846-3747-424e-a598-2ea9e66dfe87
  36. redis:
  37. host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
  38. database: 8 # Redis数据库索引(默认为0)
  39. port: 6379 # Redis服务器连接端口
  40. password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
  41. prefix: fsv2_pro
  42. jedis:
  43. pool:
  44. max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
  45. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  46. max-idle: 20 # 连接池中的最大空闲连接
  47. min-idle: 10 # 连接池中的最小空闲连接
  48. datasource:
  49. url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/cardservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
  50. username: fujicaV2user
  51. password: BGbn4jP!mq4jxn@o4fQyp5*@
  52. type: com.zaxxer.hikari.HikariDataSource
  53. driver-class-name: com.mysql.cj.jdbc.Driver
  54. validation-timeout: 3000
  55. idle-timeout: 60000
  56. minimum-idle: 30
  57. read-only: false
  58. connection-timeout: 60000 #请求连接的超时时间
  59. maximum-pool-size: 100 #最大连接数量
  60. max-lifetime: 1800000 #连接的最长生命周期
  61. connection-test-query: SELECT 1
  62. #指定mybatis映射文件的地址
  63. mybatis:
  64. mapper-locations: classpath:mapper/*.xml
  65. rocketmq:
  66. name-server: 10.16.0.48:9876
  67. producer:
  68. group: fujica-producer
  69. topic:
  70. topicDcEventAdd: topic_dc_event_add_pro
  71. topicDcEventBatchAdd: topic_dc_event_batch_add_pro
  72. topicPayRefund: topic_pay_refund_create_pro
  73. cardEnterpriseParkRelationSync: sys_card_company_park_relation_pro
  74. consumer:
  75. topic:
  76. parkcardblacksheet: park_card_black_sheet_pro
  77. parkcardlongleasecancel: park_card_long_lease_cancel_pro
  78. parkcardlongleaseunfreeze: park_card_long_lease_unfreeze_pro
  79. parkcardlongleasechange: park_card_long_lease_change_pro
  80. parkcardlongleaserefund: park_card_long_lease_refund_pro
  81. parkcardlongleaserenew: park_card_long_lease_renew_pro
  82. parkcardlongleasefreeze: park_card_long_lease_freeze_pro
  83. parkcardlongleaseinfo: park_card_long_lease_info_pro
  84. parkcardtypeinfo: park_card_Billing_rule_pro
  85. payresult: topic_pay_result_sync_card_pro
  86. sysCustomerSync: topic_sys_customer_sync_pro
  87. storedValueAccount: park_stored_value_account_pro
  88. storedRechargeRecord: park_stored_value_recharge_pro
  89. storedRefundRecord: park_stored_value_refund_pro
  90. storedCancelRecord: park_stored_value_cancel_pro
  91. storedConsumeRecord: park_stored_value_comsume_pro
  92. storedPayResult: topic_pay_result_sync_stored_pro
  93. group:
  94. parkcardblacksheet: park_card_black_sheet_pro
  95. parkcardlongleasecancel: park_card_long_lease_cancel_pro
  96. parkcardlongleaseunfreeze: park_card_long_lease_unfreeze_pro
  97. parkcardlongleasechange: park_card_long_lease_change_pro
  98. parkcardlongleaserefund: park_card_long_lease_refund_pro
  99. parkcardlongleaserenew: park_card_long_lease_renew_pro
  100. parkcardlongleasefreeze: park_card_long_lease_freeze_pro
  101. parkcardlongleaseinfo: park_card_long_lease_info_pro
  102. parkcardtypeinfo: park_card_Billing_rule_pro
  103. payresult: topic_pay_result_sync_card_pro
  104. sysCustomerSync: topic_sys_customer_sync_pro
  105. storedValueAccount: park_stored_value_account_pro
  106. storedRechargeRecord: park_stored_value_recharge_pro
  107. storedRefundRecord: park_stored_value_refund_pro
  108. storedCancelRecord: park_stored_value_cancel_pro
  109. storedConsumeRecord: park_stored_value_comsume_pro
  110. storedPayResult: topic_pay_result_sync_stored_pro
  111. feign:
  112. httpclient:
  113. enabled: true #开启feign连接池
  114. max-connections: 100
  115. max-connections-per-route: 50
  116. client:
  117. config:
  118. default:
  119. connect-timeout: 2000 #默认连接超时时间
  120. read-timeout: 8000 #默认请求超时时间
  121. payCenterProxy:
  122. connect-timeout: 2000 #代理服务连接超时时间
  123. read-timeout: 25000 #代理服务请求超时时
  124. async:
  125. thread-pool: #为@Async功能配置的线程池
  126. common: #卡服务通用线程池
  127. core-pool-size: 2
  128. max-pool-size: 2
  129. queue-capacity: 1000
  130. name-prefix: card
  131. xxl:
  132. job:
  133. admin:
  134. addresses: http://10.16.0.49:8088/xxl-job-admin
  135. executor:
  136. appname: cardservice
  137. address:
  138. port: 9999
  139. logretentiondays: 30
  140. accessToken: default_token