bootstrap.properties 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. server.port = 16200
  2. server.servlet.context-path = /energy-manage-service/
  3. server.tomcat.uri-encoding = UTF-8
  4. # 最大连接数
  5. server.tomcat.max-connections=100000
  6. # 最小空闲线程数
  7. server.tomcat.threads.min-spare=100
  8. # 最大线程数
  9. server.tomcat.threads.max=800
  10. # 当tomcat启动线程达到最大时,允许的最大排队请求个数
  11. server.tomcat.accept-count = 1000
  12. # server.tomcat.basedir = /opt/projecttmp
  13. server.maxHttpHeaderSize = 8192
  14. #请求数据量
  15. server.tomcat.max-http-form-post-size = 200MB
  16. #超时时间
  17. server.tomcat.connection-timeout = 180000
  18. # 应用名称
  19. spring.application.name = energy-manage-service
  20. # 自定义配置文件上传
  21. spring.servlet.multipart.enabled = true
  22. spring.servlet.multipart.max-file-size = 314572800
  23. spring.servlet.multipart.max-request-size= 1048576000
  24. # 全局时间格式转化
  25. #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  26. #spring.jackson.time-zone=GMT+8
  27. spring.jackson.serialization.write-dates-as-timestamps=true
  28. # 指定开发环境-由maven控制多环境
  29. spring.profiles.active = @profiles.active@
  30. # nacos 配置
  31. spring.cloud.nacos.config.server-addr = 192.168.50.234:8848
  32. spring.cloud.nacos.config.namespace = 79c42a7a-2c7d-4dcf-8a2c-b334271e2191
  33. spring.cloud.nacos.config.refreshable-dataids = application.properties
  34. spring.cloud.nacos.config.prefix = application
  35. spring.cloud.nacos.config.file-extension = properties
  36. spring.cloud.nacos.config.group = @profiles.active@
  37. # debug - sql显示
  38. logging.level.com.energy.manage.service.mappers= debug
  39. # 接口文档
  40. knife4j.enable=true
  41. spring.jackson.date-format = yyyy-MM-dd HH:mm
  42. spring.jackson.time-zone= GMT+8
  43. template.bzpower = http://192.168.50.234:6900/bucket-zhzn/template/%E6%A0%87%E5%87%86%E5%8A%9F%E7%8E%87%E6%9B%B2%E7%BA%BF%E6%A8%A1%E7%89%88.xlsx
  44. template.htpower = http://192.168.50.234:6900/bucket-zhzn/template/%E5%90%88%E5%90%8C%E5%8A%9F%E7%8E%87%E6%9B%B2%E7%BA%BF%E6%A8%A1%E7%89%88.xlsx
  45. template.field = http://192.168.50.234:6900/bucket-zhzn/template/%E9%A3%8E%E5%9C%BA%E8%A1%A8%E6%A8%A1%E7%89%88.xlsx
  46. template.draught = http://192.168.50.234:6900/bucket-zhzn/template/%E9%A3%8E%E6%9C%BA%E8%A1%A8%E6%A8%A1%E7%89%88.xlsx
  47. #算法调用默认值
  48. analysis.url= http://192.168.50.234:16200/energy-manage-service/analysis/analysisData
  49. #分析算法入参
  50. analysis.json= {}
  51. #需要特殊处理的图像设置属性
  52. graphSets.properties=generatorSpeed,generatorTorque,cp,tsr,pitchAngle,activePower
  53. #需要特设处理分析类型属性
  54. analysis.properties=configAnalysis
  55. #拦截器是否生效
  56. energy.login.enabled=true