Skip to content

Commit eabf66b

Browse files
Merge pull request #4 from OpenTOSCA/fix/documentation
add documentation regarding bpel feature and setup connections
2 parents 3d9d550 + c782df2 commit eabf66b

File tree

9 files changed

+43
-2
lines changed

9 files changed

+43
-2
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Angular BPMN for Winery
2-
This angular project allows to model (customized) BPMN 2.0 plans for the [Winery](https://github.com/OpenTOSCA/winery).
2+
This angular project allows to model (customized) BPMN 2.0 plans for the [Winery](https://github.com/OpenTOSCA/winery). Also the project allows to visualize BPEL plans by rewriting the BPEL constructs into BPMN components.
33

44
# Why you should use this project?
55

@@ -28,6 +28,13 @@ To run this project with docker:
2828

2929
Then look at http://localhost:4242.
3030

31+
# Establish connection
32+
33+
1) Navigate in the Winery to the `Administration` tab and select `Configuration` (if locally started it should be http://localhost:8080/#/admin/configuration)
34+
2) Save the corresponding URL (in our case it's http://localhost:4242 but feel free to change it)
35+
36+
for more details: [setup](./src/docs/Setup.md)
37+
3138
# Features
3239

3340
- Docker
@@ -36,6 +43,7 @@ Then look at http://localhost:4242.
3643
- asynchronous communication
3744
- dynamic properties panel & extension elements
3845
- custom meta model to allow execution
46+
- visualize BPEL plans
3947

4048
# Project Structure
4149

src/docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# BPMN Modeler for Winery
2+
BOWIE is more than just a modeling tool, it allows to integrate the generic TOSCA components into portable BPMN. Also it addresses the issue that BPEL has no visualization that's why the project automatically rewrites BPEL constructs into BPMN constructs.
23

34
## 1) Motivation
45
Applications consists of many different components that need to be maintained. Manual deployment is a problem, because it is error-prone, time-consuming, and costly. On 08.06.2021 an admin configuration of the cloud provider Fastly caused a problem, which lead to 85% of the network returning errors. Consequently, applications like Netflix, Amazon or PayPal were not available for a certain amount of time. Another reason why manual deployment is not sufficient, is the complexity of an application or the requirement for deployment configuration / customization. Therefore, you need experts in this field, which typically causes higher expenses. An approach to prevent this problem is to select a specific deployment system. That on the other hand could lead to a vendor lock-in because most deployment systems differ in their functionalities. This leads to the compromise of using one of the available deployment systems, which matches most of your needs. This solution is insufficient, which is why we need a standard to deploy and manage cloud applications in a portable manner. TOSCA (The Topology and Orchestration Specification for Cloud Applications) is such a standard. It allows the automation of deployment and management of cloud applications in a portable manner. TOSCA also allows the imperative deployment modeling approach, i.e. you can upload a BPEL & BPMN plan to define a management plan. However, the current approach of the BPMN connection is not fully implemented yet. That is why we present a new BPMN modeler for the winery, which allows modelling of (customized) workflows with user-defined behavior. You can use this modeler to define a plan, which gets executed in the OpenTOSCA Runtime. In addition, the modeler is easy to use and to extend, which allows for different ways to create new tasks and integrate them into the project.
@@ -128,6 +129,7 @@ Now are creating a “hosted on”-relationship instance between the source MyTi
128129
Now we can set the state of the ServiceInstanceURL to CREATED.
129130

130131
### 10. Step: The whole workflow
131-
![](./pictures/Step15.PNG)
132+
![](./pictures/Step16.PNG)
132133
This is a complete workflow which specifies the build plan of the CSAR MyTinyToDo_Bare_Docker_BPMN.
133134

135+

src/docs/Setup.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Setup the connection
2+
3+
1) Navigate in the [Winery](https://github.com/OpenTOSCA/winery) to the Administration tab and select Configuration (if locally started it should be http://localhost:8080/#/admin/configuration)
4+
2) Save the corresponding URL (in our case it's http://localhost:4242 but feel free to change it)
5+
![](./pictures/setup/Step0.png)
6+
7+
# How to use it
8+
a) If you want to model a new BPMN plan
9+
1) Create a new BPMN plan in the Winery
10+
![](./pictures/setup/bpmnStep1.png)
11+
2) Click on the `edit` button
12+
![](./pictures/setup/bpmnStep2.png)
13+
3) Start modeling and don't forget to save it :)
14+
15+
An example of an use case is shown in [](./src/docs/Setup.md).
16+
17+
b) If you want to access already modeled BPMN plans
18+
1) Select a BPMN plan in the Winery
19+
2) Click on the `edit` button
20+
![](./pictures/setup/bpmnStep2.png)
21+
3) Press the `load` button of the opened BOWIE window.
22+
![](./pictures/setup/bpmnStep3.png)
23+
24+
c) If you want to see a BPMN visualization of BPEL plans
25+
1) Select a BPEL plan
26+
2) Click on the `edit` button
27+
![](./pictures/setup/bpelStep1.png)
28+
3) The modeler shows now the BPMN visualization of the BPEL plan.
29+
![](./pictures/setup/bpelStep2.png)
30+
31+

src/docs/pictures/setup/Step0.png

236 KB
Loading

src/docs/pictures/setup/bpelStep1.png

228 KB
Loading

src/docs/pictures/setup/bpelStep2.png

140 KB
Loading

src/docs/pictures/setup/bpmnStep1.png

206 KB
Loading

src/docs/pictures/setup/bpmnStep2.png

228 KB
Loading

src/docs/pictures/setup/bpmnStep3.png

107 KB
Loading

0 commit comments

Comments
 (0)