server: port: 8778 # 驱动配置信息 spring: datasource: dynamic: primary: mysql # 数据库配置 datasource: neo4j: driver-class-name: org.neo4j.jdbc.Driver url: jdbc:neo4j:http://192.168.3.150:7474 username: neo4j password: 12345678 #定义初始连接数 initialSize: 0 #定义最大连接数 maxActive: 20 #定义最大空闲 maxIdle: 20 #定义最小空闲 minIdle: 1 #定义最长等待时间 maxWait: 60000 mysql: driver-class-name: com.mysql.cj.jdbc.Driver platform: mysql url: jdbc:mysql://192.168.2.236:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true username: root password: lantone cloud: stream: bindings: outputLog: destination: myLog # contentType: text/plain # 实体 json string 在传递的类型装换 查看 http://docs.spring #mq rabbitmq: host: 192.168.2.236 port: 5672 username: lantone password: lantone publisher-confirms: true virtual-host: / #mybatis mybatis: type-aliases-package: com.diagbot.entity mapper-locations: classpath:mapper/**/*.xml #mybatis-plus mybatis-plus: mapper-locations: classpath:/mapper/*Mapper.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: com.diagbot.entity global-config: #刷新mapper 调试神器 db-config: #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; id-type: id_worker #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" field-strategy: not_empty #驼峰下划线转换 column-underline: true #数据库大写下划线转换 #capital-mode: true #刷新mapper 调试神器 refresh-mapper: true #逻辑删除配置 logic-delete-value: 0 logic-not-delete-value: 1 #自定义填充策略接口实现 #meta-object-handler: com.baomidou.springboot.xxx #自定义SQL注入器 #sql-injector: com.baomidou.springboot.xxx configuration: map-underscore-to-camel-case: true cache-enabled: false