server: port: 8080 spring: application: name: energy-eq-run-diagnose datasource: dynamic: enabled: true primary: master #设置默认的数据源或者数据源组,默认值即为master strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源 datasource: master: url: ${spring.datasource.url} username: ${spring.datasource.username} password: ${spring.datasource.password} driver-class-name: ${spring.datasource.driver-class-name} continue-on-error: true separator: ";" schema: classpath*:db/init/table.sql # 日志管理方式使用集成框架的logback logging: config: classpath:logback-spring.xml EUREKA_CLIENT_DEFAULT_ZONE: http://frame:123456@develop.persagy.com/integrated-eureka/eureka/ mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl integrated: swagger: title: energy-eq-run-diagnose 接口文档 description: -- version: v1.0.0 termsOfServiceUrl: v1.0.0 contact: name: lixing # 只展示com.persagy包下的接口 basePackage: "com.persagy" dmp: alarm: exchange: exchange-dmp #报警定义变化交换器 routingKey: routing-dmp-alarm #报警定义变化路由键 queue: eq-run-diagnose-alarm-queue #中控订阅报警定义变化队列 alarm: obj: routingKey: routing-alarm-obj category: list: Eqwb,Eqdx #报警系统编码