JBPM 6.2。如何直接从Eclipse而不是KIE工作台部署工作流? [英] JBPM 6.2. How to deploy a workflow directly from Eclipse instead of KIE workbench?
问题描述
我正在使用带有JBPM 6.2的Eclipse Luna和WildFly 8.1。目前,我的Eclipse已经配置好,我可以直接在Eclipse中启动WildFly 8.1服务器和KIE工作台。
I am using Eclipse Luna and WildFly 8.1 with JBPM 6.2. Currently, my Eclipse is configured so that I can start both the WildFly 8.1 server and the KIE workbench directly from within Eclipse.
以前,我创建了一个来自KIE工作台的Evaluation.bpmn
工作流,并且能够成功部署它并在数据库表中查看工作流日志。
Previously, I had created an Evaluation.bpmn
workflow from the KIE workbench and was able to succesfully deploy it and see the workflow logs in the database tables.
但是,有没有办法在Eclipse中创建JBPM项目并直接从Eclipse部署和启动工作流?如果是这样,我该怎么做?
However, is there a way to create a JBPM project in Eclipse and deploy and start the workflow directly from Eclipse? If so, how can I do it?
推荐答案
这不是从eclipse部署的。最好的方法是:
This isn't deploying from eclipse. The best way is:
- 创建一个由@ jl987提到的m2e项目
- 创建一个junit测试
- 在课前的junit中,使用jbpm rest api来部署你的maven工件
-
在junit测试方法中执行并验证工作流的结果with rest api。
- Create a m2e project mentioned by @jl987
- Create a junit test
- In junit before class, use the jbpm rest api to deploy your maven artifact
In junit test method execute and validate results of workflow with rest api.
其余的api可以在以下网址找到: API
The rest api can be found at: API
kie-remote还有一个maven rest客户端:客户端
There is also a maven rest client in kie-remote: Client
这篇关于JBPM 6.2。如何直接从Eclipse而不是KIE工作台部署工作流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!