简体   繁体   English

如何运行WSO2 EI业务流程的基本示例?

[英]How to run di basic example of WSO2 EI Business Process?

I am absolutly new in WSO2 EI and I have the following doubt. 我在WSO2 EI中绝对是新的,我有以下疑问。

I am following this official tutorial to study the creation of a business process BPMN process ): 我正在按照这个官方教程来研究业务流程BPMN流程的创建:

https://docs.wso2.com/display/EI600/Quick+Start+Guide https://docs.wso2.com/display/EI600/Quick+Start+Guide

If you go in this tutorial the second tab is refered to the Business Process Management tutorial, then I continue following the business process BPMN process street. 如果您进入本教程,第二个选项卡将引用业务流程管理教程,然后我将继续关注业务流程BPMN流程

I followed all the tutorial and I think that I have understand the key concept of this example but I have some doubts about how to run this example. 我遵循了所有的教程,我认为我已经理解了这个例子的关键概念,但我对如何运行这个例子有一些疑问。

At the end of the tutorial it does: 在本教程结束时,它确实:

To create the Business Archive File (.bar), do the following. 要创建业务存档文件(.bar),请执行以下操作。

  • On the Explorer, found in the upper left of your screen, navigate to Package Explorer . 在屏幕左上角的资源管理器中 ,导航到Package Explorer

  • Right click on the package and select “Create deployment artifacts” . 右键单击该包,然后选择“创建部署工件”

  • Navigate to the location of the source. 导航到源的位置。 You will find the .bar file inside the deployment folder. 您将在部署文件夹中找到.bar文件。

So now I have my /HelloWorld/deployment/OrderApproval.bar file created. 所以现在我创建了/HelloWorld/deployment/OrderApproval.bar文件。

But now what have I to do with this file? 但是现在我对这个文件做了什么?

I also have download the EI Server from here: /HelloWorld/deployment/OrderApproval.bar 我也从这里下载了EI服务器 :/ HelloWorld/deployment/OrderApproval.bar

Then I have configured it in my Eclipse Developer Studio EI setting it as a WSO2 server. 然后我在Eclipse Developer Studio EI中将其配置为WSO2服务器。

So my doubts are: 所以我的怀疑是:

  1. What exactly represent this OrderApproval.bar file? 这个OrderApproval.bar文件到底是什么? Is it a file representing a WSO2 EI executable project or what? 它是一个代表WSO2 EI可执行项目的文件还是什么?

  2. From what I have understand the previous example represents a work flow representing a BPMN process that implements a flow with some rules without that I need to write Java code (correct me if I am doing wrong assertion). 根据我的理解,前面的示例表示一个工作流程,表示BPMN流程 ,该流程使用一些规则实现流程,而不需要编写Java代码(如果我做错了断言,请纠正我)。 But is it something executable or something that have to be integrated into some other application? 但它是可执行的还是必须集成到其他应用程序中的东西?

  3. If it is an executable project what have I to do to run it and interact with it? 如果它是一个可执行项目,我有什么办法来运行它并与之交互?

BPMN is process definition that can be run on BPS server. BPMN是可以在BPS服务器上运行的流程定义。 BPS server is part of WSO2 EI solution. BPS服务器是WSO2 EI解决方案的一部分。 You have to run it from [EI_HOME]/wso2/business-process/bin On Linux/Mac OS: sh wso2server.sh On Windows: wso2server.bat --run 你必须从[EI_HOME] / wso2 / business-process / bin运行它在Linux / Mac OS上:sh wso2server.sh在Windows上:wso2server.bat --run

Then, when it works correctly, open https : // [serverIP]:[port]/carbon/ and log into the EI-Business Process management console. 然后,当它正常工作时,打开https:// [serverIP]:[port] / carbon /并登录EI-Business Process管理控制台。

Next navigate to Home -> Manage -> Processes ->Add -> BPMN and upload your OrderApproval.bar file. 接下来,导航到主页 - >管理 - >进程 - >添加 - > BPMN并上传您的OrderApproval.bar文件。

After uploading file, log into the BPMN-explorer at https : // [serverIP]:[port]/bpmn-explorer. 上传文件后,通过https:// [serverIP]:[port] / bpmn-explorer登录BPMN-explorer。 On the "proecesses" tab you should see your process which can be run by action->start. 在“proecesses”选项卡上,您应该看到可以通过action-> start运行的进程。

Try studie this example: https://docs.wso2.com/display/EI600/Creating+a+BPMN+Process 试试这个例子: https//docs.wso2.com/display/EI600/Creating+a+BPMN+Process

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM