superdesk-app-services-dataview-prd.properties 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. #use local config
  2. spring.profiles.active=prd
  3. spring.application.name=superdesk-app-services-dataview
  4. server.port=8095
  5. server.servlet.context-path=/
  6. server.error.whitelabel.enabled=false
  7. logging.config=classpath:logback-${spring.profiles.active}.xml
  8. #mybatis
  9. mybatis.type-aliases-package=cn.superdesk.app.collection.dao.entity,cn.superdesk.app.wechat.dao.entity
  10. mybatis.mapper-locations=classpath*:mapper/*Mapper.xml
  11. mybatis.configuration.map-underscore-to-camel-case=true
  12. mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  13. superdesk.configcenter.enabled=true
  14. superdesk.configcenter.profile=dev
  15. superdesk.configcenter.appName=superdesk-app-services-collection
  16. superdesk.configcenter.base.url=http://config.superdesk.cn
  17. eureka.instance.preferIpAddress=true
  18. eureka.instance.instanceId=${spring.cloud.client.ip-address}:${spring.application.name}-1.0.0:${server.port}
  19. eureka.instance.metadataMap.nodeId=${client.nodeId}
  20. #schedule
  21. superdesk.task.groupName=${spring.application.name}
  22. superdesk.task.scanPackages=cn.superdesk.app.collection.scheduler
  23. superdesk.task.threadPoolSize=2
  24. #kafka producer
  25. superdesk.kafka.producer.defaultAsynSend=true
  26. superdesk.kafka.producer.monitorEnabled=true
  27. superdesk.kafka.producer.producerGroup=superdesk-app-services-collection
  28. superdesk.kafka.producer.delayRetries=0
  29. kafka.producer.acks=1
  30. kafka.producer.retries=1
  31. #kafka consumer
  32. superdesk.kafka.consumer.useNewAPI=true
  33. superdesk.kafka.consumer.processThreads=100
  34. superdesk.kafka.consumer.scanPackages=cn.superdesk.app.collection.mq
  35. kafka.consumer.group.id=collection
  36. kafka.consumer.enable.auto.commit=true
  37. #spring-boot-admin
  38. spring.boot.admin.client.url=http://127.0.0.1:18990
  39. management.endpoints.web.exposure.include=*
  40. info.app.name=superdesk-generator
  41. info.app.version=1.0.0
  42. #spring
  43. spring.jackson.time-zone=GMT+8
  44. spring.http.encoding.charset=UTF-8
  45. spring.http.encoding.force=true
  46. spring.http.encoding.enabled=true
  47. server.tomcat.uri-encoding=UTF-8
  48. auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
  49. superdesk.cache.mode=standalone
  50. #superdesk.cache.groupName=default
  51. superdesk.cache.servers=172.18.223.212:6379
  52. superdesk.cache.password=
  53. superdesk.cache.database=1
  54. superdesk.cache.maxPoolSize=10000
  55. superdesk.cache.maxPoolIdle=10
  56. superdesk.cache.minPoolIdle=1
  57. superdesk.cache.maxPoolWaitMillis=10000
  58. swagger.enable=false
  59. #datasource
  60. db.group.size=1
  61. db.shard.size=1000
  62. db.driverClass=com.mysql.jdbc.Driver
  63. db.initialSize=2
  64. db.minIdle=1
  65. db.maxActive=50
  66. db.maxWait=60000
  67. db.timeBetweenEvictionRunsMillis=60000
  68. db.minEvictableIdleTimeMillis=300000
  69. db.testOnBorrow=true
  70. db.testOnReturn=false
  71. master.db.url=jdbc:mysql://rm-wz949306t03an8m8s.mysql.rds.aliyuncs.com:3306/superdesk_app_env_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  72. master.db.username=superdesk_app2
  73. master.db.password=qHZu2xi$yG0^NqMD
  74. #mybatis
  75. superdesk.mybatis.crudDriver=mapper3
  76. #superdesk.mybatis.dbType=Mysql
  77. superdesk.mybatis.cacheEnabled=true
  78. #superdesk.mybatis.cacheEnabled=false
  79. superdesk.mybatis.dynamicExpire=false
  80. superdesk.mybatis.cacheExpireSeconds=3600
  81. #superdesk.mybatis.rwRouteEnabled=false
  82. superdesk.mybatis.paginationEnabled=true
  83. #eureka
  84. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@172.18.223.212:19991/eureka/
  85. #eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@eureka.superdesk.cn/eureka/
  86. #eureka.client.healthcheck.enabled=true
  87. eureka.client.registry-fetch-interval-seconds=5
  88. eureka.instance.lease-expiration-duration-in-seconds=30
  89. eureka.instance.lease-renewal-interval-in-seconds=10
  90. #hystrix
  91. hystrix.command.default.execution.timeout.enabled=true
  92. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=100000
  93. #ribbon
  94. ribbon.eureka.enabled=true
  95. ribbon.ServerListRefreshInterval=2000
  96. ribbon.ConnectTimeout = 20000
  97. ribbon.ReadTimeout = 100000
  98. ribbon.OkToRetryOnAllOperations=false
  99. ribbon.MaxAutoRetriesNextServer=0
  100. ribbon.MaxAutoRetries = 0
  101. #spring
  102. spring.servlet.multipart.max-file-size=1Mb
  103. spring.servlet.multipart.max-request-size=1Mb
  104. spring.servlet.multipart.location=C:\\Users
  105. #loadbalancer
  106. spring.cloud.loadbalancer.retry.enabled=false
  107. template.root=/data/wwwroot/storage/template
  108. template.collectionListTemplate=/data/wwwroot/storage/template/CollectionListTemplate.xls
  109. collection.print.url=http://superdesk.avic-s.com/super_cloud/api/collection/wechat/collection/startPrint
  110. collection.msg.url=http://superdesk.avic-s.com/super_cloud/wx/cloud_wallet/#/wallet/tradeDetail?orderNo=#orderNo
  111. collection.msg.state=on
  112. template.merList=/data/wwwroot/storage/template/MerchantExportTemplate.xls
  113. template.collectList=/data/wwwroot/storage/template/CollectionExportTemplate.xls
  114. template.merchantAccount=/data/wwwroot/storage/template/MerchantAccountExportTemplate.xls
  115. template.merchantConsume=/data/wwwroot/storage/template/MerchantConsumeExportTemplate.xls
  116. template.merchantConsume.notShowCost=/data/wwwroot/storage/template/MerchantConsumeNotCostExportTemplate.xls
  117. template.merchantConsume.notShowAll=/data/wwwroot/storage/template/MerchantConsumeNotAllExportTemplate.xls
  118. collection.app.msg.url=http://superdesk.avic-s.com/super_cloud/wx/appPaymentOrder/#/receivingOrder?isURL=true&saleId=#saleId&token=@token
  119. push.notify.url=http://superdesk.avic-s.com/super_cloud/api/collection/wechat/collection/pushMsg
  120. template.refundList=/data/wwwroot/storage/template/RefundExportTemplate.xls
  121. result.page.url=https://superdesk.avic-s.com/super_cloud/wx/entity_shop/#/cashier/payResult?serviceCode=none
  122. template.deductionList=/data/wwwroot/storage/template/DeductionExportTemplate.xls
  123. business.data.base.name=service_superdesk_flashdeliver