cpee 1.3.178 → 1.3.179

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9056bb390337add6a04bc9728904dcfa69f600c
4
- data.tar.gz: 104f455eb96d01c0642f0a782c1514b4ce250e3e
3
+ metadata.gz: 2c5d73b7ab690093a348e340b223107f664d9359
4
+ data.tar.gz: 84daae0231f5a3f1f4fb089180e8d9345df2e6e7
5
5
  SHA512:
6
- metadata.gz: c3f8788cb1e42f4ff7dd776b5ce52960fee4f9b4a01d3031ba9b6b062e9aea50d4bb1c13a2160bcc4c7c519f4a3962659659aa6ecc79da04079f9e28b43eff9e
7
- data.tar.gz: a3c413f963c3c5206f4590de1d96e7ede055c524de42d439565e09b31433060642e1917fa980f3ac3843206d9e6be4e4ba99508fcb9fcd40e41fb0d88b86e830
6
+ metadata.gz: d9a78ec60f7811b899d3db8180bebf15e432020167e92eb7ba85a4bb8b0a4310877934e20f8490975df64e1fc1c63bfe2569be748de38c3aa345a2ce06098f64
7
+ data.tar.gz: acce9de165bece89fd0f9bd71d6d9ba1da5ed068420f496ee6135c8fd8a0ef210e51d8056cecce6c586c5fab11ec963272e89be4056514e2b4c3f9d4be123da6
@@ -21,21 +21,21 @@
21
21
  <title>CPEE Cockpit</title>
22
22
 
23
23
  <!-- libs, do not modify -->
24
- <script type="text/javascript" src="http://localhost/js_libs/jquery.min.js"></script>
25
- <script type="text/javascript" src="http://localhost/js_libs/relaxngui.js"></script>
26
- <link rel="stylesheet" href="http://localhost/js_libs/relaxngui.css" type="text/css"/>
27
- <script type="text/javascript" src="http://localhost/js_libs/util.js"></script>
24
+ <script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.min.js"></script>
25
+ <script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.js"></script>
26
+ <link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.css" type="text/css"/>
27
+ <script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/util.js"></script>
28
28
  <!-- custom stuff, play arround -->
29
29
 
30
30
  <script type="text/javascript">
31
31
  $("body").ready(function(){
32
32
  $.ajax({
33
33
  type: "GET",
34
- url: "rngtest.rng",
34
+ url: "rngtest1.rng",
35
35
  success: function(res){
36
36
  $.ajax({
37
37
  type: "GET",
38
- url: "rngtest.xml",
38
+ url: "rngtest1.xml",
39
39
  success: function(xml){
40
40
  var rngui = new RelaxNGui($('> data',xml),res,$('#show'));
41
41
  $('#saveall').on('click',rngui.save);
File without changes
File without changes
@@ -0,0 +1,53 @@
1
+ <!--
2
+ This file is part of CPEE.
3
+
4
+ CPEE is free software: you can redistribute it and/or modify it under the terms
5
+ of the GNU General Public License as published by the Free Software Foundation,
6
+ either version 3 of the License, or (at your option) any later version.
7
+
8
+ CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
11
+
12
+ You should have received a copy of the GNU General Public License along with
13
+ CPEE (file COPYING in the main directory). If not, see
14
+ <http://www.gnu.org/licenses/>.
15
+ -->
16
+
17
+ <!DOCTYPE html>
18
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
19
+ <head>
20
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
21
+ <title>CPEE Cockpit</title>
22
+
23
+ <!-- libs, do not modify -->
24
+ <script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/jquery.min.js"></script>
25
+ <script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.js"></script>
26
+ <link rel="stylesheet" href="http://gruppe.wst.univie.ac.at/js_libs/relaxngui.css" type="text/css"/>
27
+ <script type="text/javascript" src="http://gruppe.wst.univie.ac.at/js_libs/util.js"></script>
28
+ <!-- custom stuff, play arround -->
29
+
30
+ <script type="text/javascript">
31
+ $("body").ready(function(){
32
+ $.ajax({
33
+ type: "GET",
34
+ url: "rngtest2.rng",
35
+ success: function(res){
36
+ $.ajax({
37
+ type: "GET",
38
+ url: "rngtest2.xml",
39
+ success: function(xml){
40
+ var rngui = new RelaxNGui($('> data',xml),res,$('#show'));
41
+ $('#saveall').on('click',rngui.save);
42
+ }
43
+ });
44
+ }
45
+ });
46
+ });
47
+ </script>
48
+ </head>
49
+ <body data-defaultport="9298">
50
+ <div id="show"></div>
51
+ <button id='saveall'>save it all to console</button>
52
+ </body>
53
+ </html>
@@ -0,0 +1,41 @@
1
+ <element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
2
+ <attribute name="id" rngui:label="ID">
3
+ <data type="string" rngui:readonly="true"/>
4
+ </attribute>
5
+ <attribute name="endpoint" rngui:label="Endpoint">
6
+ <data type="string"/>
7
+ </attribute>
8
+ <element name='parameters'>
9
+ <element name="label" rngui:label="Label">
10
+ <data type="string" rngui:label="Short description of the task"/>
11
+ </element>
12
+ <element name="method" rngui:label="Method">
13
+ <choice>
14
+ <value>:post</value>
15
+ <value>:get</value>
16
+ <value>:put</value>
17
+ <value>:delete</value>
18
+ </choice>
19
+ </element>
20
+ <element name="arguments" rngui:header="Arguments">
21
+ <zeroOrMore rngui:label="Create Argument Pairs">
22
+ <element rngui:label='Name'>
23
+ <anyName/>
24
+ <data type="string" rngui:label="Value"/>
25
+ </element>
26
+ </zeroOrMore>
27
+ </element>
28
+ </element>
29
+ <element name="finalize" rngui:label="Finalize">
30
+ <attribute name="output" rngui:label="In Variable">
31
+ <data type="string" rngui:readonly="true"/>
32
+ </attribute>
33
+ <text rngui:label='Script that is executed, when a service returns data'/>
34
+ </element>
35
+ <element name="update" rngui:label="Update">
36
+ <attribute name="output" rngui:label="In Variable">
37
+ <data type="string" rngui:readonly="true"/>
38
+ </attribute>
39
+ <text rngui:label='Script that is executed, when a service sends intermediate data'/>
40
+ </element>
41
+ </element>
@@ -0,0 +1,11 @@
1
+ <call id="a1" endpoint="timeout">
2
+ <parameters>
3
+ <label></label>
4
+ <method>:post</method>
5
+ <arguments>
6
+ <timeout>2</timeout>
7
+ </arguments>
8
+ </parameters>
9
+ <finalize output="result"> data.x += "a1,"</finalize>
10
+ <update output="result"> data.x += "a1,"</update>
11
+ </call>
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.3.178"
3
+ s.version = "1.3.179"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
@@ -505,8 +505,9 @@ module CPEE
505
505
  if u.class == String
506
506
  client = Riddl::Client.new(u,'http://riddl.org/ns/common-patterns/notifications-consumer/1.0/consumer.xml',:xmpp => @opts[:xmpp])
507
507
  params = notf.map{|ke,va|Riddl::Parameter::Simple.new(ke,va)}
508
- params << Riddl::Header.new("CPEE_BASE",self.base)
509
- params << Riddl::Header.new("CPEE_INSTANCE",self.instance)
508
+ params << Riddl::Header.new("CPEE_BASE",self.base_url)
509
+ params << Riddl::Header.new("CPEE_INSTANCE",self.instance_url)
510
+ params << Riddl::Header.new("CPEE_CALLBACK",self.instance_url + '/callbacks/' + callback)
510
511
  @mutex.synchronize do
511
512
  status, result, headers = client.post params
512
513
  if headers["CPEE_CALLBACK"] && headers["CPEE_CALLBACK"] == 'true'
@@ -38,7 +38,7 @@ module CPEE
38
38
  opts[:infinite_loop_stop] ||= 10000
39
39
 
40
40
  opts[:runtime_options] << [
41
- "startclean", "delete instances before starting.", Proc.new { |status|
41
+ "startclean", "Delete instances before starting.", Proc.new { |status|
42
42
  Dir.glob(File.expand_path(File.dirname(__FILE__) + '/../../server/instances/*')).each do |d|
43
43
  FileUtils.rm_r(d) if File.basename(d) =~ /^\d+$/
44
44
  end
@@ -54,7 +54,7 @@ module CPEE
54
54
 
55
55
  def print_Node(node,res)
56
56
  if node.endpoints.empty? && !node.script.nil? && node.script.strip != ''
57
- n = res.add('d:manipulate', 'id' => "a#{node.niceid}", node.script)
57
+ n = res.add('d:manipulate', node.script, 'id' => "a#{node.niceid}")
58
58
  n.attributes['output'] = node.script_var unless node.script_var.nil?
59
59
  n.attributes['language'] = node.script_type unless node.script_type.nil?
60
60
  else
@@ -0,0 +1,61 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <info>Enter info here</info>
4
+ <modeltype>CPEE</modeltype>
5
+ </attributes>
6
+ <state>ready</state>
7
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
8
+ <positions/>
9
+ <dataelements/>
10
+ <endpoints>
11
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
12
+ </endpoints>
13
+ <dsl>manipulate :a1
14
+ parallel do
15
+ parallel_branch do
16
+ call :a2, nil, parameters: { :label =&gt; "", :method =&gt; :post, :parameters =&gt; nil }
17
+ end
18
+ end
19
+ </dsl>
20
+ <dslx>
21
+ <description xmlns="http://cpee.org/ns/description/1.0">
22
+ <manipulate id="a1" svg-label=""/>
23
+ <parallel svg-label="">
24
+ <parallel_branch svg-label="">
25
+ <call id="a2" endpoint="" svg-label="">
26
+ <parameters>
27
+ <label>""</label>
28
+ <method>:post</method>
29
+ <parameters/>
30
+ </parameters>
31
+ </call>
32
+ </parallel_branch>
33
+ </parallel>
34
+ </description>
35
+ </dslx>
36
+ <status>
37
+ <id>0</id>
38
+ <message>undefined</message>
39
+ </status>
40
+ <description>
41
+ <description xmlns="http://cpee.org/ns/description/1.0">
42
+ <manipulate id="a1" svg-label=""/>
43
+ <parallel svg-label="">
44
+ <parallel_branch svg-label="">
45
+ <call id="a2" endpoint="" svg-label="">
46
+ <parameters>
47
+ <label>""</label>
48
+ <method>:post</method>
49
+ <parameters/>
50
+ </parameters>
51
+ </call>
52
+ </parallel_branch>
53
+ </parallel>
54
+ </description>
55
+ </description>
56
+ <transformation>
57
+ <description type="copy"/>
58
+ <dataelements type="none"/>
59
+ <endpoints type="none"/>
60
+ </transformation>
61
+ </properties>
@@ -0,0 +1,829 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <info>Enter info here</info>
4
+ <modeltype>CPEE</modeltype>
5
+ </attributes>
6
+ <state>running</state>
7
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
8
+ <positions>
9
+ <a10>at</a10>
10
+ </positions>
11
+ <dataelements>
12
+ <status>notOK</status>
13
+ <products>[{"id":"1","name":"P1","price":"1.54"},{"id":"2","name":"P2","price":"2.54"},{"id":"3","name":"P3","price":"3.54"},{"id":"4","name":"P4","price":"4.54"},{"id":"5","name":"P5","price":"5.54"},{"id":"6","name":"P6","price":"6.54"},{"id":"7","name":"P7","price":"7.54"},{"id":"8","name":"P8","price":"8.54"},{"id":"9","name":"P9","price":"9.54"},{"id":"10","name":"P10","price":"10.54"},{"id":"11","name":"P11","price":"11.54"},{"id":"12","name":"P12","price":"12.54"},{"id":"13","name":"P13","price":"13.54"},{"id":"14","name":"P14","price":"14.54"},{"id":"15","name":"P15","price":"15.54"},{"id":"16","name":"P16","price":"16.54"},{"id":"17","name":"P17","price":"17.54"},{"id":"18","name":"P18","price":"18.54"}]</products>
14
+ <erfolg>0</erfolg>
15
+ <created>ordered</created>
16
+ <orders>[{"customerID":"1349252","orderID":"100","deliveryDate":"2023-02-20","orderDate":"2024-02-20","status":"0"},{"customerID":"1349252","orderID":"101","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"749454","orderID":"102","deliveryDate":"2010-03-20","orderDate":"2015-03-20","status":"0"},{"customerID":"248291","orderID":"103","deliveryDate":"2009-03-20","orderDate":"2031-03-20","status":"0"},{"customerID":"248291","orderID":"104","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"248291","orderID":"105","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"1334543","orderID":"106","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"1334543","orderID":"107","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"1423525","orderID":"108","deliveryDate":"2023-03-20","orderDate":"2027-04-20","status":"0"},{"customerID":"1423525","orderID":"109","deliveryDate":"2023-04-20","orderDate":"2027-05-20","status":"0"},{"customerID":"1423525","orderID":"110","deliveryDate":"2023-04-20","orderDate":"2027-05-20","status":"0"},{"customerID":"123213213","orderID":"1111","deliveryDate":".2015-12-15.","orderDate":".2015-12-12.","status":"0"}]</orders>
17
+ <order>[{"orderID":"100","productName":"P1","orderDate":"2024-02-20","status":"0","price":"1.54"},{"orderID":"100","productName":"P4","orderDate":"2024-02-20","status":"0","price":"4.54"},{"orderID":"100","productName":"P5","orderDate":"2024-02-20","status":"0","price":"5.54"},{"orderID":"100","productName":"P18","orderDate":"2024-02-20","status":"0","price":"18.54"},{"orderID":"100","productName":"P17","orderDate":"2024-02-20","status":"0","price":"17.54"}]</order>
18
+ <product>[{"orderID":"100","productName":"P1","orderDate":"2024-02-20","status":"0","price":"1.54"},{"orderID":"100","productName":"P4","orderDate":"2024-02-20","status":"0","price":"4.54"},{"orderID":"100","productName":"P5","orderDate":"2024-02-20","status":"0","price":"5.54"},{"orderID":"100","productName":"P18","orderDate":"2024-02-20","status":"0","price":"18.54"},{"orderID":"100","productName":"P17","orderDate":"2024-02-20","status":"0","price":"17.54"}]</product>
19
+ <logindata/>
20
+ <available/>
21
+ <loginData/>
22
+ </dataelements>
23
+ <endpoints>
24
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
25
+ <loginService>http://wwwlab.cs.univie.ac.at/~a0248291/services/personLoginService.php</loginService>
26
+ <createLoginService>http://wwwlab.cs.univie.ac.at/~a0248291/services/createLoginService.php</createLoginService>
27
+ <getallProducts>http://wwwlab.cs.univie.ac.at/~a0248291/services/productlistService.php</getallProducts>
28
+ <getUserDataForLogin>http://wwwlab.cs.univie.ac.at/~a0248291/services/getUserDataForLogin.php</getUserDataForLogin>
29
+ <createOrderService>http://wwwlab.cs.univie.ac.at/~a0248291/services/createOrderService.php</createOrderService>
30
+ <createProductToOrderService>http://wwwlab.cs.univie.ac.at/~a0248291/services/createProductToOrderService.php</createProductToOrderService>
31
+ <orderlistService>http://wwwlab.cs.univie.ac.at/~a0248291/services/orderlistService.php</orderlistService>
32
+ <getOrderService>http://wwwlab.cs.univie.ac.at/~a0248291/services/getOrderService.php</getOrderService>
33
+ <activity>http://wwwlab.cs.univie.ac.at/~a0248291/worklist/activity.php</activity>
34
+ </endpoints>
35
+ <dsl>call :a1, :loginService, parameters: { :label =&gt; "Login", :method =&gt; :post, :parameters =&gt; {:email =&gt; "a0248291@unet.univie.ac.at", :password =&gt; "a024829"} }, finalize: &lt;&lt;-END
36
+
37
+ data.status = result['status']
38
+
39
+ END
40
+ loop post_test{data.status == 'ok'} do
41
+ call :a25, :createLoginService, parameters: { :label =&gt; "NOT Registired", :method =&gt; :post, :parameters =&gt; {:email =&gt; "meintest@email.com", :password =&gt; "meintest", :status =&gt; 1, :personID =&gt; 123213213, :name =&gt; "Name", :personType =&gt; "Customer"} }, finalize: &lt;&lt;-END
42
+
43
+ data.erfolg = result['erfolg']
44
+
45
+ END
46
+ call :a27, :getUserDataForLogin, parameters: { :label =&gt; "get data for login", :method =&gt; nil, :parameters =&gt; {:personID =&gt; 1232132} }, finalize: &lt;&lt;-END
47
+
48
+ data.loginData = result['logindata']
49
+
50
+ END
51
+ end
52
+ call :a26, :getallProducts, parameters: { :label =&gt; "Select Products", :method =&gt; :post, :parameters =&gt; nil }, finalize: &lt;&lt;-END
53
+
54
+ data.products = result['product']
55
+
56
+ END
57
+ call :a32, :createOrderService, parameters: { :label =&gt; "Create Order", :method =&gt; :post, :parameters =&gt; {:orderDate =&gt; "2015-12-12", :orderID =&gt; 1111, :status =&gt; 0, :customerID =&gt; 123213213, :deliveryDate =&gt; "2015-12-15"} }, finalize: &lt;&lt;-END
58
+
59
+ data.created = result['created']
60
+
61
+ END
62
+ call :a41, :createProductToOrderService, parameters: { :label =&gt; "Add Product to Order", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 1111, :productID =&gt; 10, :amount =&gt; 4} }, finalize: &lt;&lt;-END
63
+
64
+ data.created = result['created']
65
+
66
+ END
67
+ call :a16, :orderlistService, parameters: { :label =&gt; "automatic order management system", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 1111} }, finalize: &lt;&lt;-END
68
+
69
+ data.orders = result['orders']
70
+
71
+ END
72
+ call :a12, :getOrderService, parameters: { :label =&gt; "analyse Order", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 100} }, finalize: &lt;&lt;-END
73
+
74
+ data.order = result['order']
75
+
76
+ END
77
+ call :a51, :getOrderService, parameters: { :label =&gt; "select product", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 100} }, finalize: &lt;&lt;-END
78
+
79
+ data.product = result['order']
80
+
81
+ END
82
+ choose :exclusive do
83
+ alternative "data.product != nil" do
84
+ call :a10, :activity, parameters: { :label =&gt; "check stock", :method =&gt; :post, :parameters =&gt; {:productID =&gt; 1, :amount =&gt; 5, :form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_checkstock.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
85
+
86
+ data.available = result['available']
87
+
88
+ END
89
+ loop pre_test{available=='available'} do
90
+ call :a14, nil, parameters: { :label =&gt; "Add the Product to Order for wholesaler", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-6AC4CA98-D1F6-47F0-979F-61CF0662E45B', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createOrderToWholesaler.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
91
+
92
+ data.status = result['status']
93
+
94
+ END
95
+ call :a13, :activity, parameters: { :label =&gt; "Order to Wholesaler", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-EC19A8E6-8F40-4F7A-AE44-471A775AE5BC', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_OrderToWholesaler.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
96
+
97
+ data.status = result['status']
98
+
99
+ END
100
+ call :a22, :activity, parameters: { :label =&gt; "automatic order management system", :method =&gt; nil, :type =&gt; :task, :mid =&gt; 'sid-F7E23A29-6BE3-4E19-BD30-CF9E1D67FA9D', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productExist.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
101
+
102
+ data.status = result['status']
103
+
104
+ END
105
+ call :a23, :activity, parameters: { :label =&gt; "analyse Order", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-BD3670C9-1BF4-4757-9E01-18CB1A266396', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productAnalyse.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
106
+
107
+ data.status = result['status']
108
+
109
+ END
110
+ choose :exclusive do
111
+ otherwise do
112
+ call :a18, :activity, parameters: { :label =&gt; "more than 10 days to arrive", :method =&gt; nil, :type =&gt; :intermediateCatchEvent, :mid =&gt; 'sid-A0777023-6600-411A-9219-1EC8C73AA060', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productMoreTenDays.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
113
+
114
+ data.status = result['status']
115
+
116
+ END
117
+ end
118
+ otherwise do
119
+ call :a19, nil, parameters: { :label =&gt; "pack order", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-775863BE-8D29-4E31-B680-0AAF13FF034C', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
120
+
121
+ data.status = result['status']
122
+
123
+ END
124
+ end
125
+ end
126
+ call :a20, :activity, parameters: { :label =&gt; "ship order", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-D06C4D11-F2BF-4A4B-BEE5-7713B74C14BB', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_sendorderToHandel.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
127
+
128
+ data.status = result['status']
129
+
130
+ END
131
+ call :a15, :activity, parameters: { :label =&gt; "Product has arrived", :method =&gt; nil, :type =&gt; :intermediateCatchEvent, :mid =&gt; 'sid-AF30D5E7-E6C3-46BB-B5CB-02271161F927', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_orderInHandel.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
132
+
133
+ data.status = result['status']
134
+
135
+ END
136
+ end
137
+ parallel :wait =&gt; -1 do
138
+ parallel_branch do
139
+ call :a6, :activity, parameters: { :label =&gt; "create bill", :method =&gt; nil, :type =&gt; :sendTask, :mid =&gt; 'sid-2D16EA3E-6B40-4A50-9B84-F8F94C412BDA', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createBill.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END
140
+
141
+ data.status = result['status']
142
+
143
+ END
144
+ end
145
+ parallel_branch do
146
+ call :a7, :activity, parameters: { :label =&gt; "pack order", :method =&gt; nil, :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html", :role =&gt; "Assistent"} }, finalize: &lt;&lt;-END
147
+
148
+ data.status = result['status']
149
+
150
+ END
151
+ end
152
+ end
153
+ call :a9, :activity, parameters: { :label =&gt; "ship order", :method =&gt; nil, :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_shipOrder.html", :role =&gt; "Chef"} }, finalize: &lt;&lt;-END
154
+
155
+ data.status = result['status']
156
+
157
+ END
158
+ call :a30, :timeout, parameters: { :label =&gt; "Customer getted order", :method =&gt; nil, :parameters =&gt; {:timeout =&gt; 1} }
159
+ end
160
+ otherwise do
161
+ end
162
+ end
163
+ </dsl>
164
+ <dslx>
165
+ <description xmlns="http://cpee.org/ns/description/1.0">
166
+ <call id="a1" endpoint="loginService" svg-label="Login">
167
+ <parameters>
168
+ <label>"Login"</label>
169
+ <method>:post</method>
170
+ <parameters>
171
+ <email>"a0248291@unet.univie.ac.at"</email>
172
+ <password>"a024829"</password>
173
+ </parameters>
174
+ </parameters>
175
+ <finalize output="result">
176
+ data.status = result['status']
177
+ </finalize>
178
+ </call>
179
+ <loop post_test="data.status == 'ok'" svg-label="">
180
+ <call id="a25" endpoint="createLoginService" svg-label="NOT Registired">
181
+ <parameters>
182
+ <label>"NOT Registired"</label>
183
+ <method>:post</method>
184
+ <parameters>
185
+ <email>"meintest@email.com"</email>
186
+ <password>"meintest"</password>
187
+ <status>1</status>
188
+ <personID>123213213</personID>
189
+ <name>"Name"</name>
190
+ <personType>"Customer"</personType>
191
+ </parameters>
192
+ </parameters>
193
+ <finalize output="result">
194
+ data.erfolg = result['erfolg']
195
+ </finalize>
196
+ </call>
197
+ <call id="a27" endpoint="getUserDataForLogin" svg-label="get data for login">
198
+ <parameters>
199
+ <label>"get data for login"</label>
200
+ <method/>
201
+ <parameters>
202
+ <personID>1232132</personID>
203
+ </parameters>
204
+ </parameters>
205
+ <finalize output="result">
206
+ data.loginData = result['logindata']
207
+ </finalize>
208
+ </call>
209
+ </loop>
210
+ <call id="a26" endpoint="getallProducts" svg-label="Select Products">
211
+ <parameters>
212
+ <label>"Select Products"</label>
213
+ <method>:post</method>
214
+ <parameters/>
215
+ </parameters>
216
+ <finalize output="result">
217
+ data.products = result['product']
218
+ </finalize>
219
+ </call>
220
+ <call id="a32" endpoint="createOrderService" svg-label="Create Order">
221
+ <parameters>
222
+ <label>"Create Order"</label>
223
+ <method>:post</method>
224
+ <parameters>
225
+ <orderDate>"2015-12-12"</orderDate>
226
+ <orderID>1111</orderID>
227
+ <status>0</status>
228
+ <customerID>123213213</customerID>
229
+ <deliveryDate>"2015-12-15"</deliveryDate>
230
+ </parameters>
231
+ </parameters>
232
+ <finalize output="result">
233
+ data.created = result['created']
234
+ </finalize>
235
+ </call>
236
+ <call id="a41" endpoint="createProductToOrderService" svg-label="Add Product to Order">
237
+ <parameters>
238
+ <label>"Add Product to Order"</label>
239
+ <method>:post</method>
240
+ <parameters>
241
+ <orderID>1111</orderID>
242
+ <productID>10</productID>
243
+ <amount>4</amount>
244
+ </parameters>
245
+ </parameters>
246
+ <finalize output="result">
247
+ data.created = result['created']
248
+ </finalize>
249
+ </call>
250
+ <call id="a16" endpoint="orderlistService" svg-label="automatic order management system">
251
+ <parameters>
252
+ <label>"automatic order management system"</label>
253
+ <method>:post</method>
254
+ <parameters>
255
+ <orderID>1111</orderID>
256
+ </parameters>
257
+ </parameters>
258
+ <finalize output="result">
259
+ data.orders = result['orders']
260
+ </finalize>
261
+ </call>
262
+ <call id="a12" endpoint="getOrderService" svg-label="analyse Order">
263
+ <parameters>
264
+ <label>"analyse Order"</label>
265
+ <method>:post</method>
266
+ <parameters>
267
+ <orderID>100</orderID>
268
+ </parameters>
269
+ </parameters>
270
+ <finalize output="result">
271
+ data.order = result['order']
272
+ </finalize>
273
+ </call>
274
+ <call id="a51" endpoint="getOrderService" svg-label="select product">
275
+ <parameters>
276
+ <label>"select product"</label>
277
+ <method>:post</method>
278
+ <parameters>
279
+ <orderID>100</orderID>
280
+ </parameters>
281
+ </parameters>
282
+ <finalize output="result">
283
+ data.product = result['order']
284
+ </finalize>
285
+ </call>
286
+ <choose mode="exclusive" svg-label="">
287
+ <alternative condition="data.product != nil" svg-label="">
288
+ <call id="a10" endpoint="activity">
289
+ <parameters>
290
+ <label>"check stock"</label>
291
+ <method>:post</method>
292
+ <parameters>
293
+ <productID>1</productID>
294
+ <amount>5</amount>
295
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_checkstock.html"</form>
296
+ <role>"Sachbearbeiter"</role>
297
+ </parameters>
298
+ </parameters>
299
+ <finalize output="result">
300
+ data.available = result['available']
301
+ </finalize>
302
+ </call>
303
+ <loop pre_test="available=='available'" svg-label="">
304
+ <call id="a14" endpoint="" svg-label="Add the Product to Order for wholesaler">
305
+ <parameters>
306
+ <label>"Add the Product to Order for wholesaler"</label>
307
+ <method/>
308
+ <type>:serviceTask</type>
309
+ <mid>'sid-6AC4CA98-D1F6-47F0-979F-61CF0662E45B'</mid>
310
+ <parameters>
311
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createOrderToWholesaler.html"</form>
312
+ <role>"Sachbearbeiter"</role>
313
+ </parameters>
314
+ </parameters>
315
+ <finalize output="result">
316
+ data.status = result['status']
317
+ </finalize>
318
+ </call>
319
+ <call id="a13" endpoint="activity" svg-label="Order to Wholesaler">
320
+ <parameters>
321
+ <label>"Order to Wholesaler"</label>
322
+ <method/>
323
+ <type>:serviceTask</type>
324
+ <mid>'sid-EC19A8E6-8F40-4F7A-AE44-471A775AE5BC'</mid>
325
+ <parameters>
326
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_OrderToWholesaler.html"</form>
327
+ <role>"Sachbearbeiter"</role>
328
+ </parameters>
329
+ </parameters>
330
+ <finalize output="result">
331
+ data.status = result['status']
332
+ </finalize>
333
+ </call>
334
+ <call id="a22" endpoint="activity" svg-label="automatic order management system">
335
+ <parameters>
336
+ <label>"automatic order management system"</label>
337
+ <method/>
338
+ <type>:task</type>
339
+ <mid>'sid-F7E23A29-6BE3-4E19-BD30-CF9E1D67FA9D'</mid>
340
+ <parameters>
341
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productExist.html"</form>
342
+ <role>"Sachbearbeiter"</role>
343
+ </parameters>
344
+ </parameters>
345
+ <finalize output="result">
346
+ data.status = result['status']
347
+ </finalize>
348
+ </call>
349
+ <call id="a23" endpoint="activity" svg-label="analyse Order">
350
+ <parameters>
351
+ <label>"analyse Order"</label>
352
+ <method/>
353
+ <type>:serviceTask</type>
354
+ <mid>'sid-BD3670C9-1BF4-4757-9E01-18CB1A266396'</mid>
355
+ <parameters>
356
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productAnalyse.html"</form>
357
+ <role>"Sachbearbeiter"</role>
358
+ </parameters>
359
+ </parameters>
360
+ <finalize output="result">
361
+ data.status = result['status']
362
+ </finalize>
363
+ </call>
364
+ <choose mode="exclusive" svg-label="">
365
+ <otherwise svg-label="">
366
+ <call id="a18" endpoint="activity" svg-label="more than 10 days to arrive">
367
+ <parameters>
368
+ <label>"more than 10 days to arrive"</label>
369
+ <method/>
370
+ <type>:intermediateCatchEvent</type>
371
+ <mid>'sid-A0777023-6600-411A-9219-1EC8C73AA060'</mid>
372
+ <parameters>
373
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productMoreTenDays.html"</form>
374
+ <role>"Sachbearbeiter"</role>
375
+ </parameters>
376
+ </parameters>
377
+ <finalize output="result">
378
+ data.status = result['status']
379
+ </finalize>
380
+ </call>
381
+ </otherwise>
382
+ <otherwise svg-label="">
383
+ <call id="a19" endpoint="" svg-label="pack order">
384
+ <parameters>
385
+ <label>"pack order"</label>
386
+ <method/>
387
+ <type>:serviceTask</type>
388
+ <mid>'sid-775863BE-8D29-4E31-B680-0AAF13FF034C'</mid>
389
+ <parameters>
390
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form>
391
+ <role>"Sachbearbeiter"</role>
392
+ </parameters>
393
+ </parameters>
394
+ <finalize output="result">
395
+ data.status = result['status']
396
+ </finalize>
397
+ </call>
398
+ </otherwise>
399
+ </choose>
400
+ <call id="a20" endpoint="activity" svg-label="ship order">
401
+ <parameters>
402
+ <label>"ship order"</label>
403
+ <method/>
404
+ <type>:serviceTask</type>
405
+ <mid>'sid-D06C4D11-F2BF-4A4B-BEE5-7713B74C14BB'</mid>
406
+ <parameters>
407
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_sendorderToHandel.html"</form>
408
+ <role>"Sachbearbeiter"</role>
409
+ </parameters>
410
+ </parameters>
411
+ <finalize output="result">
412
+ data.status = result['status']
413
+ </finalize>
414
+ </call>
415
+ <call id="a15" endpoint="activity" svg-label="Product has arrived">
416
+ <parameters>
417
+ <label>"Product has arrived"</label>
418
+ <method/>
419
+ <type>:intermediateCatchEvent</type>
420
+ <mid>'sid-AF30D5E7-E6C3-46BB-B5CB-02271161F927'</mid>
421
+ <parameters>
422
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_orderInHandel.html"</form>
423
+ <role>"Sachbearbeiter"</role>
424
+ </parameters>
425
+ </parameters>
426
+ <finalize output="result">
427
+ data.status = result['status']
428
+ </finalize>
429
+ </call>
430
+ </loop>
431
+ <parallel wait="-1" svg-label="">
432
+ <parallel_branch svg-label="">
433
+ <call id="a6" endpoint="activity" svg-label="create bill">
434
+ <parameters>
435
+ <label>"create bill"</label>
436
+ <method/>
437
+ <type>:sendTask</type>
438
+ <mid>'sid-2D16EA3E-6B40-4A50-9B84-F8F94C412BDA'</mid>
439
+ <parameters>
440
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createBill.html"</form>
441
+ <role>"Sachbearbeiter"</role>
442
+ </parameters>
443
+ </parameters>
444
+ <finalize output="result">
445
+ data.status = result['status']
446
+ </finalize>
447
+ </call>
448
+ </parallel_branch>
449
+ <parallel_branch svg-label="">
450
+ <call id="a7" endpoint="activity" svg-label="pack order">
451
+ <parameters>
452
+ <label>"pack order"</label>
453
+ <method/>
454
+ <parameters>
455
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form>
456
+ <role>"Assistent"</role>
457
+ </parameters>
458
+ </parameters>
459
+ <finalize output="result">
460
+ data.status = result['status']
461
+ </finalize>
462
+ </call>
463
+ </parallel_branch>
464
+ </parallel>
465
+ <call id="a9" endpoint="activity" svg-label="ship order">
466
+ <parameters>
467
+ <label>"ship order"</label>
468
+ <method/>
469
+ <parameters>
470
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_shipOrder.html"</form>
471
+ <role>"Chef"</role>
472
+ </parameters>
473
+ </parameters>
474
+ <finalize output="result">
475
+ data.status = result['status']
476
+ </finalize>
477
+ </call>
478
+ <call id="a30" endpoint="timeout" svg-label="Customer getted order">
479
+ <parameters>
480
+ <label>"Customer getted order"</label>
481
+ <method/>
482
+ <parameters>
483
+ <timeout>1</timeout>
484
+ </parameters>
485
+ </parameters>
486
+ </call>
487
+ </alternative>
488
+ <otherwise svg-label=""/>
489
+ </choose>
490
+ </description>
491
+ </dslx>
492
+ <status>
493
+ <id>0</id>
494
+ <message>undefined</message>
495
+ </status>
496
+ <description>
497
+ <description xmlns="http://cpee.org/ns/description/1.0">
498
+ <call id="a1" endpoint="loginService" svg-label="Login">
499
+ <parameters>
500
+ <label>"Login"</label>
501
+ <method>:post</method>
502
+ <parameters>
503
+ <email>"a0248291@unet.univie.ac.at"</email>
504
+ <password>"a024829"</password>
505
+ </parameters>
506
+ </parameters>
507
+ <finalize output="result">
508
+ data.status = result['status']
509
+ </finalize>
510
+ </call>
511
+ <loop post_test="data.status == 'ok'" svg-label="">
512
+ <call id="a25" endpoint="createLoginService" svg-label="NOT Registired">
513
+ <parameters>
514
+ <label>"NOT Registired"</label>
515
+ <method>:post</method>
516
+ <parameters>
517
+ <email>"meintest@email.com"</email>
518
+ <password>"meintest"</password>
519
+ <status>1</status>
520
+ <personID>123213213</personID>
521
+ <name>"Name"</name>
522
+ <personType>"Customer"</personType>
523
+ </parameters>
524
+ </parameters>
525
+ <finalize output="result">
526
+ data.erfolg = result['erfolg']
527
+ </finalize>
528
+ </call>
529
+ <call id="a27" endpoint="getUserDataForLogin" svg-label="get data for login">
530
+ <parameters>
531
+ <label>"get data for login"</label>
532
+ <method/>
533
+ <parameters>
534
+ <personID>1232132</personID>
535
+ </parameters>
536
+ </parameters>
537
+ <finalize output="result">
538
+ data.loginData = result['logindata']
539
+ </finalize>
540
+ </call>
541
+ </loop>
542
+ <call id="a26" endpoint="getallProducts" svg-label="Select Products">
543
+ <parameters>
544
+ <label>"Select Products"</label>
545
+ <method>:post</method>
546
+ <parameters/>
547
+ </parameters>
548
+ <finalize output="result">
549
+ data.products = result['product']
550
+ </finalize>
551
+ </call>
552
+ <call id="a32" endpoint="createOrderService" svg-label="Create Order">
553
+ <parameters>
554
+ <label>"Create Order"</label>
555
+ <method>:post</method>
556
+ <parameters>
557
+ <orderDate>"2015-12-12"</orderDate>
558
+ <orderID>1111</orderID>
559
+ <status>0</status>
560
+ <customerID>123213213</customerID>
561
+ <deliveryDate>"2015-12-15"</deliveryDate>
562
+ </parameters>
563
+ </parameters>
564
+ <finalize output="result">
565
+ data.created = result['created']
566
+ </finalize>
567
+ </call>
568
+ <call id="a41" endpoint="createProductToOrderService" svg-label="Add Product to Order">
569
+ <parameters>
570
+ <label>"Add Product to Order"</label>
571
+ <method>:post</method>
572
+ <parameters>
573
+ <orderID>1111</orderID>
574
+ <productID>10</productID>
575
+ <amount>4</amount>
576
+ </parameters>
577
+ </parameters>
578
+ <finalize output="result">
579
+ data.created = result['created']
580
+ </finalize>
581
+ </call>
582
+ <call id="a16" endpoint="orderlistService" svg-label="automatic order management system">
583
+ <parameters>
584
+ <label>"automatic order management system"</label>
585
+ <method>:post</method>
586
+ <parameters>
587
+ <orderID>1111</orderID>
588
+ </parameters>
589
+ </parameters>
590
+ <finalize output="result">
591
+ data.orders = result['orders']
592
+ </finalize>
593
+ </call>
594
+ <call id="a12" endpoint="getOrderService" svg-label="analyse Order">
595
+ <parameters>
596
+ <label>"analyse Order"</label>
597
+ <method>:post</method>
598
+ <parameters>
599
+ <orderID>100</orderID>
600
+ </parameters>
601
+ </parameters>
602
+ <finalize output="result">
603
+ data.order = result['order']
604
+ </finalize>
605
+ </call>
606
+ <call id="a51" endpoint="getOrderService" svg-label="select product">
607
+ <parameters>
608
+ <label>"select product"</label>
609
+ <method>:post</method>
610
+ <parameters>
611
+ <orderID>100</orderID>
612
+ </parameters>
613
+ </parameters>
614
+ <finalize output="result">
615
+ data.product = result['order']
616
+ </finalize>
617
+ </call>
618
+ <choose mode="exclusive" svg-label="">
619
+ <alternative condition="data.product != nil" svg-label="">
620
+ <call id="a10" endpoint="activity">
621
+ <parameters>
622
+ <label>"check stock"</label>
623
+ <method>:post</method>
624
+ <parameters>
625
+ <productID>1</productID>
626
+ <amount>5</amount>
627
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_checkstock.html"</form>
628
+ <role>"Sachbearbeiter"</role>
629
+ </parameters>
630
+ </parameters>
631
+ <finalize output="result">
632
+ data.available = result['available']
633
+ </finalize>
634
+ </call>
635
+ <loop pre_test="available=='available'" svg-label="">
636
+ <call id="a14" endpoint="" svg-label="Add the Product to Order for wholesaler">
637
+ <parameters>
638
+ <label>"Add the Product to Order for wholesaler"</label>
639
+ <method/>
640
+ <type>:serviceTask</type>
641
+ <mid>'sid-6AC4CA98-D1F6-47F0-979F-61CF0662E45B'</mid>
642
+ <parameters>
643
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createOrderToWholesaler.html"</form>
644
+ <role>"Sachbearbeiter"</role>
645
+ </parameters>
646
+ </parameters>
647
+ <finalize output="result">
648
+ data.status = result['status']
649
+ </finalize>
650
+ </call>
651
+ <call id="a13" endpoint="activity" svg-label="Order to Wholesaler">
652
+ <parameters>
653
+ <label>"Order to Wholesaler"</label>
654
+ <method/>
655
+ <type>:serviceTask</type>
656
+ <mid>'sid-EC19A8E6-8F40-4F7A-AE44-471A775AE5BC'</mid>
657
+ <parameters>
658
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_OrderToWholesaler.html"</form>
659
+ <role>"Sachbearbeiter"</role>
660
+ </parameters>
661
+ </parameters>
662
+ <finalize output="result">
663
+ data.status = result['status']
664
+ </finalize>
665
+ </call>
666
+ <call id="a22" endpoint="activity" svg-label="automatic order management system">
667
+ <parameters>
668
+ <label>"automatic order management system"</label>
669
+ <method/>
670
+ <type>:task</type>
671
+ <mid>'sid-F7E23A29-6BE3-4E19-BD30-CF9E1D67FA9D'</mid>
672
+ <parameters>
673
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productExist.html"</form>
674
+ <role>"Sachbearbeiter"</role>
675
+ </parameters>
676
+ </parameters>
677
+ <finalize output="result">
678
+ data.status = result['status']
679
+ </finalize>
680
+ </call>
681
+ <call id="a23" endpoint="activity" svg-label="analyse Order">
682
+ <parameters>
683
+ <label>"analyse Order"</label>
684
+ <method/>
685
+ <type>:serviceTask</type>
686
+ <mid>'sid-BD3670C9-1BF4-4757-9E01-18CB1A266396'</mid>
687
+ <parameters>
688
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productAnalyse.html"</form>
689
+ <role>"Sachbearbeiter"</role>
690
+ </parameters>
691
+ </parameters>
692
+ <finalize output="result">
693
+ data.status = result['status']
694
+ </finalize>
695
+ </call>
696
+ <choose mode="exclusive" svg-label="">
697
+ <otherwise svg-label="">
698
+ <call id="a18" endpoint="activity" svg-label="more than 10 days to arrive">
699
+ <parameters>
700
+ <label>"more than 10 days to arrive"</label>
701
+ <method/>
702
+ <type>:intermediateCatchEvent</type>
703
+ <mid>'sid-A0777023-6600-411A-9219-1EC8C73AA060'</mid>
704
+ <parameters>
705
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productMoreTenDays.html"</form>
706
+ <role>"Sachbearbeiter"</role>
707
+ </parameters>
708
+ </parameters>
709
+ <finalize output="result">
710
+ data.status = result['status']
711
+ </finalize>
712
+ </call>
713
+ </otherwise>
714
+ <otherwise svg-label="">
715
+ <call id="a19" endpoint="" svg-label="pack order">
716
+ <parameters>
717
+ <label>"pack order"</label>
718
+ <method/>
719
+ <type>:serviceTask</type>
720
+ <mid>'sid-775863BE-8D29-4E31-B680-0AAF13FF034C'</mid>
721
+ <parameters>
722
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form>
723
+ <role>"Sachbearbeiter"</role>
724
+ </parameters>
725
+ </parameters>
726
+ <finalize output="result">
727
+ data.status = result['status']
728
+ </finalize>
729
+ </call>
730
+ </otherwise>
731
+ </choose>
732
+ <call id="a20" endpoint="activity" svg-label="ship order">
733
+ <parameters>
734
+ <label>"ship order"</label>
735
+ <method/>
736
+ <type>:serviceTask</type>
737
+ <mid>'sid-D06C4D11-F2BF-4A4B-BEE5-7713B74C14BB'</mid>
738
+ <parameters>
739
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_sendorderToHandel.html"</form>
740
+ <role>"Sachbearbeiter"</role>
741
+ </parameters>
742
+ </parameters>
743
+ <finalize output="result">
744
+ data.status = result['status']
745
+ </finalize>
746
+ </call>
747
+ <call id="a15" endpoint="activity" svg-label="Product has arrived">
748
+ <parameters>
749
+ <label>"Product has arrived"</label>
750
+ <method/>
751
+ <type>:intermediateCatchEvent</type>
752
+ <mid>'sid-AF30D5E7-E6C3-46BB-B5CB-02271161F927'</mid>
753
+ <parameters>
754
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_orderInHandel.html"</form>
755
+ <role>"Sachbearbeiter"</role>
756
+ </parameters>
757
+ </parameters>
758
+ <finalize output="result">
759
+ data.status = result['status']
760
+ </finalize>
761
+ </call>
762
+ </loop>
763
+ <parallel wait="-1" svg-label="">
764
+ <parallel_branch svg-label="">
765
+ <call id="a6" endpoint="activity" svg-label="create bill">
766
+ <parameters>
767
+ <label>"create bill"</label>
768
+ <method/>
769
+ <type>:sendTask</type>
770
+ <mid>'sid-2D16EA3E-6B40-4A50-9B84-F8F94C412BDA'</mid>
771
+ <parameters>
772
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createBill.html"</form>
773
+ <role>"Sachbearbeiter"</role>
774
+ </parameters>
775
+ </parameters>
776
+ <finalize output="result">
777
+ data.status = result['status']
778
+ </finalize>
779
+ </call>
780
+ </parallel_branch>
781
+ <parallel_branch svg-label="">
782
+ <call id="a7" endpoint="activity" svg-label="pack order">
783
+ <parameters>
784
+ <label>"pack order"</label>
785
+ <method/>
786
+ <parameters>
787
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form>
788
+ <role>"Assistent"</role>
789
+ </parameters>
790
+ </parameters>
791
+ <finalize output="result">
792
+ data.status = result['status']
793
+ </finalize>
794
+ </call>
795
+ </parallel_branch>
796
+ </parallel>
797
+ <call id="a9" endpoint="activity" svg-label="ship order">
798
+ <parameters>
799
+ <label>"ship order"</label>
800
+ <method/>
801
+ <parameters>
802
+ <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_shipOrder.html"</form>
803
+ <role>"Chef"</role>
804
+ </parameters>
805
+ </parameters>
806
+ <finalize output="result">
807
+ data.status = result['status']
808
+ </finalize>
809
+ </call>
810
+ <call id="a30" endpoint="timeout" svg-label="Customer getted order">
811
+ <parameters>
812
+ <label>"Customer getted order"</label>
813
+ <method/>
814
+ <parameters>
815
+ <timeout>1</timeout>
816
+ </parameters>
817
+ </parameters>
818
+ </call>
819
+ </alternative>
820
+ <otherwise svg-label=""/>
821
+ </choose>
822
+ </description>
823
+ </description>
824
+ <transformation>
825
+ <description type="copy"/>
826
+ <dataelements type="none"/>
827
+ <endpoints type="none"/>
828
+ </transformation>
829
+ </properties>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.178
4
+ version: 1.3.179
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-08-24 00:00:00.000000000 Z
13
+ date: 2016-04-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl
@@ -97,9 +97,12 @@ files:
97
97
  - cockpit/js/ui.js
98
98
  - cockpit/js/wfadaptor.cpee.js
99
99
  - cockpit/js/wfadaptor.js
100
- - cockpit/rngtest.html
101
- - cockpit/rngtest.rng
102
- - cockpit/rngtest.xml
100
+ - cockpit/rngtest1.html
101
+ - cockpit/rngtest1.rng
102
+ - cockpit/rngtest1.xml
103
+ - cockpit/rngtest2.html
104
+ - cockpit/rngtest2.rng
105
+ - cockpit/rngtest2.xml
103
106
  - cockpit/test.html
104
107
  - cockpit/testsets/CPEE.xml
105
108
  - cockpit/testsets/Concurrent.xml
@@ -157,6 +160,8 @@ files:
157
160
  - lib/engine/instances.rng
158
161
  - server/handlerwrappers/default.rb
159
162
  - server/handlerwrappers/soap.rb
163
+ - server/instances/1/properties.xml
164
+ - server/instances/2/properties.xml
160
165
  - server/resources/empty_dslx.xml
161
166
  - server/resources/properties.init
162
167
  - server/resources/properties.schema.active
@@ -187,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
192
  version: '0'
188
193
  requirements: []
189
194
  rubyforge_project:
190
- rubygems_version: 2.4.5
195
+ rubygems_version: 2.4.8
191
196
  signing_key:
192
197
  specification_version: 4
193
198
  summary: Preliminary release of cloud process execution engine (cpee). If you just