Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datacollector
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenweisong
datacollector
Commits
1ec66554
Commit
1ec66554
authored
Mar 06, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
e2891d3b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
IndexCtrl.java
src/main/java/com/keymobile/rest/ctrl/IndexCtrl.java
+0
-2
ProcessTest.java
src/test/java/com/keymobile/ProcessTest.java
+9
-9
No files found.
src/main/java/com/keymobile/rest/ctrl/IndexCtrl.java
View file @
1ec66554
...
...
@@ -10,8 +10,6 @@ import com.keymobile.rest.model.User;
import
com.keymobile.rest.service.*
;
import
com.keymobile.rest.service.TaskService
;
import
com.keymobile.rest.vo.DataVo
;
import
com.keymobile.rest.vo.ExcelVO
;
import
com.sun.xml.internal.ws.wsdl.writer.document.ParamType
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
...
...
src/test/java/com/keymobile/ProcessTest.java
View file @
1ec66554
...
...
@@ -35,20 +35,20 @@ public class ProcessTest {
public
void
createActivitiTask
()
{
// 加载的我们创建好的demo.bpmn 文件还有png文件
// 获取流的引擎
ProcessEngine
processEngine
=
ProcessEngines
.
getDefaultProcessEngine
();
processEngine
.
getRepositoryService
()
.
createDeployment
()
.
addClasspathResource
(
"demo.bpmn"
)
.
addClasspathResource
(
"demo.bpmn.png"
)
.
deploy
();
//
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
//
processEngine.getRepositoryService()
//
.createDeployment()
//
.addClasspathResource("demo.bpmn")
//
.addClasspathResource("demo.bpmn.png")
//
.deploy();
}
@Test
public
void
start
()
{
ProcessEngine
processEngine
=
ProcessEngines
.
getDefaultProcessEngine
();
processEngine
.
getTaskService
()
.
complete
(
"32502"
);
//
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
//
processEngine.getTaskService()
//
.complete("32502");
}
@Test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment