server: port: 9089 spring: application: name: flow-app jackson: serialization: FAIL_ON_EMPTY_BEANS: false datasource: driver-class-name: com.mysql.cj.jdbc.Driver # mysql驱动包 url: jdbc:mysql://127.0.0.1:3306/flow?characterEncoding=utf8&useUnicode=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true username: root password: root # Hikari 连接池配置 hikari: # 最小空闲连接数量 minimum-idle: 5 # 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 600000 # 连接池最大连接数,默认是10 maximum-pool-size: 10 # 此属性控制从池返回的连接的默认自动提交行为,默认值:true auto-commit: true # 连接池名称 pool-name: HikariPool-flow # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 max-lifetime: 1800000 # 数据库连接超时时间,默认30秒,即30000 connection-timeout: 30000 # 连接测试查询 connection-test-query: SELECT 1 redis: timeout: 6000ms database: 0 #Redis数据库索引(默认为0) host: 127.0.0.1 #Redis服务器地址 port: 6379 #Redis服务器连接端口 lettuce: shutdown-timeout: 100ms pool: max-active: 8 max-wait: -1ms max-idle: 8 min-idle: 0 mail: host: smtp.163.com port: 465 protocol: smtps default-encoding: UTF-8 username: 15606613391@163.com password: WVTAADOTQFDLHUHM test-connection: true properties: mail: smtp: auth: true starttls: enable: true required: true flowable: #关闭定时任务JOB async-executor-activate: true # 是否应激活异步历史执行器。 async-history-executor-activate: false # 是否需要自动部署流程定义。 check-process-definitions: false # 将databaseSchemaUpdate设置为true。当Flowable发现库与数据库表结构不一致时,会自动将数据库表结构升级至新版本。 database-schema-update: true # 解决流程图乱码 activity-font-name: 宋体 label-font-name: 宋体 annotation-font-name: 宋体 # 历史级别 history-level: audit # 启用历史清理 enable-history-cleaning: false # 历史清理周期 history-cleaning-cycle: 0 0 1 * * ? # 清理一年前数据 history-cleaning-after: 365d # 历史清洗批次大小 history-cleaning-batch-size: 100 content: enabled: false app: enabled: false eventregistry: enabled: false dmn: enabled: false cmmn: enabled: false idm: enabled: false # 默认邮箱配置 mail: server: host: ${spring.mail.host} username: ${spring.mail.username} password: ${spring.mail.password} default-from: ${spring.mail.username} mybatis-plus: mapper-locations: classpath*:/mapper/**/*.xml type-aliases-package: com.flow.entity configuration: default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler # 配置sql打印 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 开启驼峰命名映射 map-underscore-to-camel-case: true # 开启二级缓存 cache-enabled: true # 开启一对多;多对多懒加载 lazy-loading-enabled: true aggressive-lazy-loading: false global-config: db-config: id-type: AUTO table-prefix: #字符串查询过滤空字符串 where-strategy: not_empty