application-dev.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #环境
  2. spring:
  3. #数据源配置
  4. datasource:
  5. url: jdbc:mysql://172.16.90.64:3306/airposrt_activiti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
  6. username: root
  7. password: 123456
  8. type: com.alibaba.druid.pool.DruidDataSource
  9. #freemarker模板配置
  10. freemarker:
  11. request-context-attribute: req #req访问request
  12. suffix: .ftl
  13. cache: false
  14. charset: UTF-8
  15. contentType: text/html
  16. requestContextAttribute: ctx
  17. templateEncoding: UTF-8
  18. templateLoaderPath: classpath:/templates/
  19. settings:
  20. defaultEncoding: UTF-8
  21. url_escaping_charset: UTF-8
  22. locale: zh_CN
  23. http:
  24. multipart:
  25. max-file-size: -1
  26. max-request-size: -1
  27. activiti:
  28. check-process-definitions: false
  29. activiti:
  30. check-process-definitions: true
  31. # 检测身份信息表是否存在
  32. db-identity-used: true
  33. #false: 默认值。activiti在启动时,会对比数据库表中保存的版本,如果没有表或者版本不匹配,将抛出异常。(生产环境用)
  34. #true: activiti会对数据库中所有表进行更新操作。如果表不存在,则自动创建。(开发时常用)
  35. #create_drop: 在activiti启动时创建表,在关闭时删除表(必须手动关闭引擎,才能删除表)。(单元测试常用)
  36. #drop-create: 在activiti启动时删除原来的旧表,然后在创建新表(不需要手动关闭引擎)
  37. #none不作操作
  38. database-schema-update: none
  39. mybatis:
  40. mapper-locations: classpath:mapper/**/*.xml
  41. type-aliases-package: com.activiti6.**.entity