application-dev.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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: 192.168.11.250
  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: 9
  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. url: jdbc:postgresql://192.168.11.248:5432/IMS_NEM
  38. username: postgres
  39. password: postgres
  40. oracle-schema=:
  41. # type: com.alibaba.druid.pool.DruidDataSource
  42. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  43. # username: root
  44. # password: root
  45. # driver-class-name: com.mysql.jdbc.Driver
  46. druid:
  47. max-active: 20
  48. initial-size: 1
  49. min-idle: 3
  50. max-wait: 60000
  51. time-between-eviction-runs-millis: 60000
  52. min-evictable-idle-time-millis: 300000
  53. test-while-idle: true
  54. test-on-borrow: false
  55. test-on-return: false
  56. servlet:
  57. multipart:
  58. # 开启 multipart 上传功能
  59. enabled: true
  60. # 文件写入磁盘的阈值
  61. file-size-threshold: 2KB
  62. # 最大文件大小
  63. max-file-size: 200MB
  64. # 最大请求大小
  65. max-request-size: 215MB
  66. mybatis-plus:
  67. configuration:
  68. map-underscore-to-camel-case: true
  69. auto-mapping-behavior: full
  70. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  71. mapper-locations: classpath*:mapper/**/*Mapper.xml
  72. global-config:
  73. # 逻辑删除配置
  74. db-config:
  75. id-type: auto
  76. # 删除前
  77. logic-not-delete-value: 1
  78. # 删除后
  79. logic-delete-value: 0
  80. logging:
  81. level:
  82. root: info
  83. com.example: debug
  84. #db url
  85. db:
  86. url: http://localhost:8011/ts
  87. #参与计算的场站
  88. runWindpowerstation: HN_GDDL_HZJ_GDC_STA,HN_GDDL_MHS_FDC_STA,HN_LYDL_MCH_GDC_STA,HN_LYDL_NSS_FDC_STA
  89. #计算状态用ai或者di
  90. clauStatus:
  91. ai: GJY03_GC,YLZ01_GC,PTZ02_GC #配置期次
  92. 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
  93. #判断数据终端
  94. second: 1800
  95. #判断降出力
  96. AI134: 17.4 #叶轮转速给定
  97. AI178: 17.4 #转矩给定
  98. #AI443:容量
  99. #功率曲线拟合
  100. curvefitting:
  101. #维度
  102. dimension: 20
  103. #尺度
  104. scale: 0.01
  105. shutdown:
  106. keystr: test1,test2