reductionservice-pro.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. server:
  2. port: 10007
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /reduction
  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: reductionservice
  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: 6 # Redis数据库索引(默认为0)
  39. port: 6379 # Redis服务器连接端口
  40. password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
  41. jedis:
  42. pool:
  43. max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
  44. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  45. max-idle: 20 # 连接池中的最大空闲连接
  46. min-idle: 10 # 连接池中的最小空闲连接
  47. datasource:
  48. url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/reductionservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
  49. username: fujicaV2user
  50. password: BGbn4jP!mq4jxn@o4fQyp5*@
  51. type: com.zaxxer.hikari.HikariDataSource
  52. driver-class-name: com.mysql.cj.jdbc.Driver
  53. validation-timeout: 3000
  54. idle-timeout: 60000
  55. minimum-idle: 30
  56. read-only: false
  57. connection-timeout: 60000 #请求连接的超时时间
  58. maximum-pool-size: 200 #最大连接数量
  59. max-lifetime: 1800000 #连接的最长生命周期
  60. connection-test-query: select 1 #连接验证sql
  61. jackson:
  62. time-zone: GMT+8
  63. date-format: yyyy-MM-dd HH:mm:ss
  64. default-property-inclusion: NON_NULL
  65. serialization:
  66. WRITE_DATES_AS_TIMESTAMPS: false
  67. fail-on-empty-beans: false
  68. #指定mybatis映射文件的地址
  69. mybatis:
  70. mapper-locations: classpath*:mapper/*.xml
  71. #特来电
  72. telaidian:
  73. operatorID: 395815801
  74. operatorSecret: WJLl3phtlBNBak0p
  75. sigSecret: LvbyJyrAoXOvWCBL
  76. dataSecret: 5QHCkDEXRAvVRkNZ
  77. dataSecretIV: OHIAiIXYIvPivFSM
  78. operatorIDForPark: 760481427
  79. mainUrl: https://hlht.teld.cn/evcs/v20161110
  80. accessToken: kVnStIRknCCOBdXgJrmu8rb3pcccifKW2NcQrysKKIzb7iQBxkkjeq3WoGdjgrIL
  81. #小桔充电
  82. xiaoju:
  83. signKey: 6d505fb04c0d495c8712fa4d5c972434
  84. appKey: ig/vFInn02swHPMZccuf1QyH6iWm8sZZkMwXqelnEFQ=
  85. appSecret: tKLXRx9h9i4jpMHGgbQYVtFl34QSkt8I3Gf7RDpUDEw=
  86. apiUrl: https://gw.am.xiaojukeji.com/parking/gateway/standardModel/pushWaiverResult
  87. #特斯拉
  88. tesla:
  89. apiUrl: 123
  90. publicKey: 123123
  91. preferredUsername: 123
  92. #星星充电
  93. star:
  94. operatorID: 313744932
  95. mainUrl: http://parking.ccchong.com/parking/
  96. pushResultUrl: query_parking_discount_result
  97. queryResultUrl: query_parking_charge_result
  98. pagehelper:
  99. reasonable: false
  100. pageSizeZero: false
  101. defaultCount: true
  102. async:
  103. corePoolSize: 5
  104. maxPoolSize: 10
  105. queueCapacity: 20
  106. namePrefix: async-service-
  107. rocketmq:
  108. name-server: 10.16.0.48:9876
  109. producer:
  110. group: fujica-producer
  111. topic:
  112. topicDcEventAdd: topic_dc_event_add_pro
  113. topicDcEventBatchAdd: topic_dc_event_batch_add_pro
  114. topicPayRefund: topic_pay_refund_create_pro
  115. topicDcEventUpdate: topic_dc_service_update_pro
  116. consumer:
  117. topic:
  118. parkCarAuthResult: park_car_auth_result_pro
  119. payResult: topic_pay_result_sync_merchant_pro
  120. topicExPushParkIn: ex_park_in_data_pro
  121. topicExPushParkOut: ex_park_out_data_pro
  122. parkPromotionRecordResult: park_promotion_record_result_pro
  123. group:
  124. parkCarAuthResult: park_car_auth_result_pro
  125. payResult: pay_result_sync_merchant_pro
  126. topicExPushParkIn: rd_ex_park_in_data_pro
  127. topicExPushParkOut: rd_ex_park_out_data_pro
  128. parkPromotionRecordResult: park_promotion_record_result_pro
  129. qrcode:
  130. pageurl: https://fsp.fujica.com.cn/#/qrCode
  131. feign:
  132. httpclient:
  133. enabled: true #开启feign连接池
  134. max-connections: 100
  135. max-connections-per-route: 50
  136. client:
  137. config:
  138. default:
  139. connect-timeout: 2000 #默认连接超时时间
  140. read-timeout: 8000 #默认请求超时时间
  141. payCenterProxy:
  142. connect-timeout: 2000 #代理服务连接超时时间
  143. read-timeout: 25000 #代理服务请求超时时