superdesk-app-services-coupon-test.properties 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. #use local config
  2. spring.profiles.active=simple
  3. spring.application.name=superdesk-app-services-coupon
  4. server.port=8165
  5. server.servlet.context-path=/
  6. server.error.whitelabel.enabled=false
  7. #mybatis
  8. mybatis.type-aliases-package=cn.superdesk.app.coupon.dao.entity
  9. mybatis.mapper-locations=classpath*:mapper/*Mapper.xml
  10. mybatis.configuration.map-underscore-to-camel-case=true
  11. mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  12. eureka.instance.instanceId=${spring.cloud.client.ip-address}:${spring.application.name}-1.0.0:${server.port}
  13. eureka.instance.metadataMap.nodeId=${client.nodeId}
  14. # spring-kafka
  15. spring.kafka.bootstrap-servers=127.0.0.1:9092
  16. # topic
  17. # 发送微信模板消息topic
  18. superdesk.kafka.topic.notify.wxTemplateMessage=superdesk-notify-wxTemplateMessage
  19. info.app.name=@project.artifactId@
  20. info.app.version=@project.version@
  21. #spring
  22. spring.jackson.time-zone=GMT+8
  23. spring.http.encoding.charset=UTF-8
  24. spring.http.encoding.force=true
  25. spring.http.encoding.enabled=true
  26. server.tomcat.uri-encoding=UTF-8
  27. # 配置文件说明
  28. #- mode
  29. # standalone 单机模式
  30. # sentinel 哨兵模式(主从)
  31. # cluster 集群模式
  32. # shard 分片模式
  33. #- servers
  34. # redis server列表,多个','隔开
  35. # sentinel 模式要配置哨兵地址
  36. #- group
  37. # 即多套redis配置的支持。如果你的服务里面用到了多组缓存就必须指定组名,组名不能重复,不指定缺省为[default]。
  38. #- database
  39. # 默认为 0
  40. #- password
  41. # redis设置了密码就配置
  42. superdesk.cache.mode=standalone
  43. #superdesk.cache.groupName=default
  44. superdesk.cache.servers=127.0.0.1:6379
  45. superdesk.cache.password=
  46. superdesk.cache.database=1
  47. superdesk.cache.maxPoolSize=10000
  48. superdesk.cache.maxPoolIdle=10
  49. superdesk.cache.minPoolIdle=1
  50. superdesk.cache.maxPoolWaitMillis=10000
  51. auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
  52. swagger.enable=false
  53. #datasource
  54. db.group.size=1
  55. db.shard.size=1000
  56. db.driverClass=com.mysql.jdbc.Driver
  57. db.initialSize=2
  58. db.minIdle=1
  59. db.maxActive=50
  60. db.maxWait=60000
  61. db.timeBetweenEvictionRunsMillis=60000
  62. db.minEvictableIdleTimeMillis=300000
  63. db.testOnBorrow=true
  64. db.testOnReturn=false
  65. master.db.url=jdbc:mysql://172.18.223.211:53307/super_service_new_bak?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  66. master.db.username=root
  67. master.db.password=service_newbak2019
  68. #mybatis
  69. superdesk.mybatis.crudDriver=mapper3
  70. #superdesk.mybatis.dbType=Mysql
  71. superdesk.mybatis.cacheEnabled=true
  72. #superdesk.mybatis.cacheEnabled=false
  73. superdesk.mybatis.dynamicExpire=false
  74. superdesk.mybatis.cacheExpireSeconds=3600
  75. #superdesk.mybatis.rwRouteEnabled=false
  76. superdesk.mybatis.paginationEnabled=true
  77. #pagehelper
  78. pagehelper.helper-dialect=mysql
  79. pagehelper.reasonable=false
  80. pagehelper.support-methods-arguments=true
  81. pagehelper.params=count=countSqllow_query_log_file=mysql_slow_query.log
  82. #eureka
  83. eureka.instance.preferIpAddress=true
  84. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@127.0.0.1:19991/eureka/
  85. eureka.client.registry-fetch-interval-seconds=5
  86. eureka.instance.lease-expiration-duration-in-seconds=30
  87. eureka.instance.lease-renewal-interval-in-seconds=10
  88. #hystrix
  89. hystrix.command.default.execution.timeout.enabled=true
  90. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
  91. #ribbon
  92. ribbon.eureka.enabled=true
  93. ribbon.ServerListRefreshInterval=2000
  94. ribbon.ConnectTimeout = 20000
  95. ribbon.ReadTimeout = 100000
  96. ribbon.OkToRetryOnAllOperations=false
  97. ribbon.MaxAutoRetriesNextServer=0
  98. ribbon.MaxAutoRetries = 0
  99. #spring
  100. #spring
  101. spring.servlet.multipart.max-file-size=1Mb
  102. spring.servlet.multipart.max-request-size=1Mb
  103. spring.servlet.multipart.location=C:/Users/Administrator/AppData/Local/superdesk-app-services-common
  104. #loadbalancer
  105. spring.cloud.loadbalancer.retry.enabled=false
  106. clientNo=test
  107. ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
  108. xxl.job.admin.addresses=http://172.18.223.211:8168/superdesk/jobadmin
  109. ### xxl-job, access token
  110. xxl.job.accessToken=6f970743bfccc4633cffa89791f1392d
  111. ### xxl-job executor appname
  112. xxl.job.executor.appname=superdesk-coupon-job-executor
  113. ### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
  114. xxl.job.executor.address=
  115. ### xxl-job executor server-info
  116. xxl.job.executor.ip=
  117. xxl.job.executor.port=18082
  118. ### xxl-job executor log-path
  119. xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/coupon
  120. ### xxl-job executor log-retention-days
  121. xxl.job.executor.logretentiondays=30