1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 快速开发工作流_02_集成流程设计器

快速开发工作流_02_集成流程设计器

时间:2022-09-14 19:51:37

相关推荐

快速开发工作流_02_集成流程设计器

接上一篇:快速开发工作流_01_简单流程案例https://gblfy./article/details/102881983

文章目录

七、流程设计器 modeler7.1. 导入war7.2. 重写两个配置类7.3. 添加国际化文件7.4. 资源文件配置7.5. 项目源码

七、流程设计器 modeler

7.1. 导入war

解压 idm, modeler war包 导入两个war中的 static 包下的文件

7.2. 重写两个配置类

AppDispatcherServletConfiguration.java

ApplicationConfiguration

springboot 启动类 import 两个配置类

@Import({ApplicationConfiguration.class,AppDispatcherServletConfiguration.class})@ComponentScan(basePackages = {"com.example.demo"})@EnableTransactionManagement@SpringBootApplicationpublic class DemoApplication {public static void main(String[] args) {SpringApplication.run(DemoApplication.class, args);}}

7.3. 添加国际化文件

7.4. 资源文件配置

#端口 请求urlserver:port: 80servlet:context-path: /expense#数据库 url classname user passwordspring:datasource:url: jdbc:mysql://127.0.0.1:3306/springboot-flowable-modeler?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=CTTusername: rootpassword: rootsecurity:filter:dispatcher-types: REQUEST,FORWARD,ASYNC#在线流程图设计flowable:#关闭定时任务JOBasync-executor-activate: falsecommon:app:idm-url: http://localhost:80/expense/idm:app:admin:user-id: adminpassword: testfirst-name: adminlast-name: adminrest:app:authentication-mode: verify-privilegemodeler:app:rest-enabled: truedatabase-schema-update: truemybatis:mapper-locations: classpath:/META-INF/modeler-mybatis-mappings/*.xmlconfig-location: classpath:/META-INF/mybatis-config.xmlconfiguration-properties:prefix:blobType: BLOBboolValue: TRUE

7.5. 项目源码

码云地址:

/gb_90/springboot-flowable-modeler

接下一篇:快速开发工作流_03_集成在线流程设计器_内置用户免登录

https://gblfy./article/details/103676950

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。