bootstrap.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. server:
  2. port:
  3. 8080
  4. spring:
  5. application:
  6. name: energy-eq-run-diagnose
  7. datasource:
  8. dynamic:
  9. enabled: true
  10. primary: master #设置默认的数据源或者数据源组,默认值即为master
  11. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  12. datasource:
  13. master:
  14. url: ${spring.datasource.url}
  15. username: ${spring.datasource.username}
  16. password: ${spring.datasource.password}
  17. driver-class-name: ${spring.datasource.driver-class-name}
  18. continue-on-error: true
  19. separator: ";"
  20. schema: classpath*:db/init/table.sql
  21. data:
  22. elasticsearch:
  23. repositories:
  24. enabled: true
  25. client:
  26. reactive:
  27. connection-timeout: 5000
  28. # 日志管理方式使用集成框架的logback
  29. logging:
  30. config: classpath:logback-spring.xml
  31. EUREKA_CLIENT_DEFAULT_ZONE: http://frame:123456@develop.persagy.com/integrated-eureka/eureka/
  32. mybatis-plus:
  33. configuration:
  34. log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
  35. integrated:
  36. swagger:
  37. title: energy-eq-run-diagnose 接口文档
  38. description: --
  39. version: v1.0.0
  40. termsOfServiceUrl: v1.0.0
  41. contact:
  42. name: lixing
  43. # 只展示com.persagy包下的接口
  44. basePackage: "com.persagy"
  45. dmp:
  46. alarm:
  47. exchange: exchange-dmp #报警定义变化交换器
  48. routingKey: routing-dmp-alarm #报警定义变化路由键
  49. queue: eq-run-diagnose-alarm-queue #中控订阅报警定义变化队列