zoukankan      html  css  js  c++  java
  • activiti总结

    1、activiti如何修改登录用户名?在哪个数据库里面添加。

    2、activiti的启动和部署在http://activiti.org/userguide/index.html#demo.setup.one.minute.version

    这里寻找。

    3、activiti如何表示当前流程到哪个结点了?如何加深显示某个结点?实现的方式是修改一个bpmn流程图,还是显示多个bpmn流程图(每个流程图加深的结点不一样)。

    4、如何访问项目的流程图?是直接通过url吗?

    5、数据库配置

    <property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti" />
    <property name="jdbcDriver" value="com.mysql.jdbc.Driver" />
    <property name="jdbcUsername" value="root" />
    <property name="jdbcPassword" value="" />

     activiti.cfg.xml的目录是放在/activiti/src/main/resources/activiti.cfg.xml

    By extending ActivitiTestCase, you can annotate test methods with org.activiti.engine.test.Deployment. Before the test is run, a resource file of the form testClassName.testMethod.bpmn20.xml in the same package as the test class, will be deployed. At the end of the test, the deployment will be deleted, including all related process instances, tasks, etc. The Deployment annotation also supports setting the resource location explicitly. See the Javadoc for more details.

    当基于ActivitiTestCase进行单元测试时,可以使用org.activiti.engine.test.Deployment注释来指定要进行测试的方法。在测试运行前,流程引擎会先部署测试类所在目录下一个名称为testClassName.testMethod.bpmn20.xml 流程定义文件。当测试运行结束后,该部署将会被删除,同时也会删除相关的流程实例、任务等数据。Deployment 注释也可以明确的指定资源文件所在路径。详细信息可以查看javadoc.

  • 相关阅读:
    Spring cloud实现服务注册及发现
    使用spring cloud实现分布式配置管理
    spring cloud教程之使用spring boot创建一个应用
    7天学会spring cloud教程
    微服务开发的12项要素
    一句话概括下spring框架及spring cloud框架主要组件
    翻译-服务注册与发现
    翻译-微服务API Gateway
    微服务分布式事务的一些思考
    解决不能正常访问workerman的问题
  • 原文地址:https://www.cnblogs.com/usual2013blog/p/3279245.html
Copyright © 2011-2022 走看看