application-xk.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. server:
  2. port: 7012
  3. servlet:
  4. context-path: /
  5. spring:
  6. main:
  7. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  8. #redis集群
  9. redis:
  10. host: 10.81.3.155
  11. port: 6379
  12. timeout: 100000
  13. # 集群环境打开下面注释,单机不需要打开
  14. # cluster:
  15. # #集群信息
  16. # nodes: 10.83.68.151:6379,10.83.68.152:6379,10.83.68.153:6379,10.83.68.154:6379,10.83.68.155:6379,10.83.68.156:6379,10.83.68.157:6379,10.83.68.158:6379,10.83.68.159:6379
  17. # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
  18. # maxRedirects: 3
  19. password:
  20. application:
  21. name: test
  22. jedis:
  23. pool:
  24. max-active: 8
  25. min-idle: 0
  26. max-idle: 8
  27. max-wait: -1
  28. database: 0
  29. autoconfigure:
  30. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  31. datasource:
  32. type: com.alibaba.druid.pool.DruidDataSource
  33. driver-class-name: org.postgresql.Driver
  34. url: jdbc:postgresql://192.168.11.248:5432/eng_mctl
  35. username: postgres
  36. password: postgres
  37. oracle-schema=:
  38. # type: com.alibaba.druid.pool.DruidDataSource
  39. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  40. # username: root
  41. # password: root
  42. # driver-class-name: com.mysql.jdbc.Driver
  43. druid:
  44. max-active: 20
  45. initial-size: 1
  46. min-idle: 3
  47. max-wait: 60000
  48. time-between-eviction-runs-millis: 60000
  49. min-evictable-idle-time-millis: 300000
  50. test-while-idle: true
  51. test-on-borrow: false
  52. test-on-return: false
  53. servlet:
  54. multipart:
  55. # 开启 multipart 上传功能
  56. enabled: true
  57. # 文件写入磁盘的阈值
  58. file-size-threshold: 2KB
  59. # 最大文件大小
  60. max-file-size: 200MB
  61. # 最大请求大小
  62. max-request-size: 215MB
  63. mybatis-plus:
  64. configuration:
  65. map-underscore-to-camel-case: true
  66. auto-mapping-behavior: full
  67. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  68. mapper-locations: classpath*:mapper/**/*Mapper.xml
  69. global-config:
  70. # 逻辑删除配置
  71. db-config:
  72. id-type: auto
  73. # 删除前
  74. logic-not-delete-value: 1
  75. # 删除后
  76. logic-delete-value: 0
  77. logging:
  78. level:
  79. root: info
  80. com.example: debug
  81. #db url
  82. db:
  83. url: http://10.81.3.152:8011/ts
  84. #参与计算的场站
  85. runWindpowerstation: GJY_FDC,DJY_FDC,YF_FDC,HSM_FDC,PTZ_FDC,YLZ_FDC,ZK_FDC,NJL_FDC,YTY_FDC,PDL_FDC
  86. #计算状态用ai或者di
  87. clauStatus:
  88. ai: GJY03_GC,YLZ01_GC,PTZ02_GC #配置期次
  89. di: GJY01_GC,GJY02_GC,DJY01_GC,DJY02_GC,YF01_GC,YF02_GC,HSM01_GC,PTZ01_GC,ZK01_GC,NJL01_GC,YTY01_GC,PDL01_GC
  90. #判断数据终端
  91. second: 1800
  92. #判断降出力
  93. AI134: 17.4 #叶轮转速给定
  94. AI178: 17.4 #转矩给定
  95. #AI443:容量
  96. #功率曲线拟合
  97. curvefitting:
  98. #维度
  99. dimension: 20
  100. #尺度
  101. scale: 0.01
  102. shutdown:
  103. keystr: test1,test2