cpee 1.3.146 → 1.3.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/lib/cpee/processtransformation/bpmn2.rb +6 -6
- data/lib/cpee/processtransformation/structures.rb +3 -2
- data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/consumer-secret +1 -0
- data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/producer-secret +1 -0
- data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/subscription.xml +27 -0
- data/server/instances/11/properties.xml +169 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24d11e61e150f587db04648d5d6c380fdd7cc184
|
|
4
|
+
data.tar.gz: cbb546c26468ea6e71c8f615017f608629c77ef1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 994163532c2a760d0a1783fcea11edaa0a6aaad2693b170df070a9582661cd88e2c0ab4fb2d9486b58e4c89bc8c8efe03f99ac442501f4ced3b2772503578a48
|
|
7
|
+
data.tar.gz: e8d59d27a73f42d8344879a45820e113399b3ec62668172686b82e2fcad3456f845acef5cf017743d53c530e8f4209c6ab0c5fe30cad56f747c9322b836a25ec
|
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.
|
|
3
|
+
s.version = "1.3.147"
|
|
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"
|
|
@@ -218,10 +218,10 @@ module CPEE
|
|
|
218
218
|
### remove the gateway itself, as for a single loop it is no longer used.
|
|
219
219
|
traces.shift_all
|
|
220
220
|
end
|
|
221
|
-
puts '--> down to ' + (down + 1).to_s if debug
|
|
221
|
+
puts '--> down loop1 to ' + (down + 1).to_s if debug
|
|
222
222
|
loops.remove_empty
|
|
223
|
-
puts '--> up from ' + down.to_s if debug
|
|
224
223
|
build_ttree branch.last, loops.dup, nil, debug, down + 1
|
|
224
|
+
puts '--> up loop1 from ' + down.to_s if debug
|
|
225
225
|
else
|
|
226
226
|
### dont remove it, treat it as a normal conditional
|
|
227
227
|
### an infinite loop that can only be left by break is created
|
|
@@ -230,9 +230,9 @@ module CPEE
|
|
|
230
230
|
### add the blank conditional to get a break
|
|
231
231
|
len = loops.length
|
|
232
232
|
loops.add_breaks
|
|
233
|
-
puts '--> down to ' + (down + 1).to_s if debug
|
|
233
|
+
puts '--> down loop2 to ' + (down + 1).to_s if debug
|
|
234
234
|
build_ttree branch.last, loops.dup, nil, debug, down + 1
|
|
235
|
-
puts '--> up from ' + down.to_s if debug
|
|
235
|
+
puts '--> up loop2 from ' + down.to_s if debug
|
|
236
236
|
### set outgoing to number of loops (without the break) so that it can be ignored (should be 1 all the time)
|
|
237
237
|
node.outgoing -= len
|
|
238
238
|
end
|
|
@@ -240,9 +240,9 @@ module CPEE
|
|
|
240
240
|
node.incoming -= loops.length
|
|
241
241
|
### throw away the loop traces, remove loop traces from front of all other traces
|
|
242
242
|
traces.segment_by_loops loops
|
|
243
|
-
puts '--> down to ' + (down + 1).to_s if debug
|
|
243
|
+
puts '--> down loop3 to ' + (down + 1).to_s if debug
|
|
244
244
|
build_ttree branch, loops.dup, nil, debug, down + 1
|
|
245
|
-
puts '--> up from ' + down.to_s if debug
|
|
245
|
+
puts '--> up loop3 from ' + down.to_s if debug
|
|
246
246
|
end
|
|
247
247
|
traces.remove(loops)
|
|
248
248
|
traces.remove_empty
|
|
@@ -370,7 +370,8 @@ module CPEE
|
|
|
370
370
|
maxcut = i if t[0...i] == l[0...i]
|
|
371
371
|
end
|
|
372
372
|
end
|
|
373
|
-
|
|
373
|
+
cutted = self[i].shift(maxcut)
|
|
374
|
+
loops << cutted if cutted.length > 1 ### if only the loop node is left, no need to attach
|
|
374
375
|
end
|
|
375
376
|
end
|
|
376
377
|
|
|
@@ -401,7 +402,7 @@ module CPEE
|
|
|
401
402
|
end
|
|
402
403
|
end
|
|
403
404
|
|
|
404
|
-
max.incoming = self.length
|
|
405
|
+
max.incoming = self.length + 1
|
|
405
406
|
max
|
|
406
407
|
end
|
|
407
408
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f108c84d3df7f83cb4717233104d4c96
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
50af63b27b6a760c96fc9626ec878cdc
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
|
|
2
|
+
<topic id="running">
|
|
3
|
+
<event>activity_calling</event>
|
|
4
|
+
<event>activity_manipulating</event>
|
|
5
|
+
<event>activity_failed</event>
|
|
6
|
+
<event>activity_done</event>
|
|
7
|
+
</topic>
|
|
8
|
+
<topic id="properties/position">
|
|
9
|
+
<event>change</event>
|
|
10
|
+
</topic>
|
|
11
|
+
<topic id="properties/description">
|
|
12
|
+
<event>change</event>
|
|
13
|
+
<event>error</event>
|
|
14
|
+
</topic>
|
|
15
|
+
<topic id="properties/state">
|
|
16
|
+
<event>change</event>
|
|
17
|
+
</topic>
|
|
18
|
+
<topic id="properties/dataelements">
|
|
19
|
+
<event>change</event>
|
|
20
|
+
</topic>
|
|
21
|
+
<topic id="properties/endpoints">
|
|
22
|
+
<event>change</event>
|
|
23
|
+
</topic>
|
|
24
|
+
<topic id="properties/handlers">
|
|
25
|
+
<event>change</event>
|
|
26
|
+
</topic>
|
|
27
|
+
</subscription>
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
|
+
<info>Enter info here</info>
|
|
3
|
+
<state>stopped</state>
|
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
5
|
+
<positions/>
|
|
6
|
+
<dataelements/>
|
|
7
|
+
<endpoints>
|
|
8
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
9
|
+
</endpoints>
|
|
10
|
+
<dsl>choose :exclusive do
|
|
11
|
+
alternative "true", :sim_probability => "40.0" do
|
|
12
|
+
call :a6, nil, { :label => "da", :type => :unknown, :mid => "_5902507A-504A-4F1E-AEE3-8860BEF374B6", :parameters => nil }
|
|
13
|
+
end
|
|
14
|
+
otherwise :sim_probability => "60.0" do
|
|
15
|
+
call :a5, nil, { :label => "db", :type => :unknown, :mid => "_6F6A6FEE-57EB-459D-96FB-1AA736CD6465", :parameters => nil }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
loop pre_test("true"), :sim_probability => "100.0" do
|
|
19
|
+
call :a2, :ADVENTURE_CORRELATION_push, { :label => "Receive", :type => :smartobject, :sim_min_time => "1m", :sim_max_time => "1m", :sim_avg_time => "1m", :mid => "_A0C7F27E-5FF6-4443-9966-A370F20E1D6F", :parameters => {:SensorID => "14"} }, <<-end
|
|
20
|
+
data.defectid = result.SensorData;
|
|
21
|
+
end
|
|
22
|
+
call :a1, :MailCO_mail, { :label => "Deliver Mail", :type => :externalManufacturingTask, :sim_min_time => "1m", :sim_max_time => "1m", :sim_avg_time => "1m", :mid => "_5F7422FB-B4A2-49CB-8071-E0FF99F0A834", :parameters => {:to => "juergen.mangler@univie.ac.at", :subject => "Defect Part", :body => "data.defectid"} }
|
|
23
|
+
call :a3, :ADVENTURE_SPAWN, { :label => "Spawn self", :type => :spawn, :mid => "_DEF002B1-0593-4693-8AD7-48B983E5AFAE", :parameters => {:instance => "53cd4af1e4b0207100d2266e"} }
|
|
24
|
+
end
|
|
25
|
+
</dsl>
|
|
26
|
+
<dslx>
|
|
27
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
28
|
+
<choose mode="exclusive">
|
|
29
|
+
<alternative condition="true" language="text/javascript" sim_probability="40.0">
|
|
30
|
+
<call id="a6" endpoint="">
|
|
31
|
+
<parameters>
|
|
32
|
+
<label>"da"</label>
|
|
33
|
+
<type>:unknown</type>
|
|
34
|
+
<mid>"_5902507A-504A-4F1E-AEE3-8860BEF374B6"</mid>
|
|
35
|
+
<parameters/>
|
|
36
|
+
</parameters>
|
|
37
|
+
</call>
|
|
38
|
+
</alternative>
|
|
39
|
+
<otherwise sim_probability="60.0">
|
|
40
|
+
<call id="a5" endpoint="">
|
|
41
|
+
<parameters>
|
|
42
|
+
<label>"db"</label>
|
|
43
|
+
<type>:unknown</type>
|
|
44
|
+
<mid>"_6F6A6FEE-57EB-459D-96FB-1AA736CD6465"</mid>
|
|
45
|
+
<parameters/>
|
|
46
|
+
</parameters>
|
|
47
|
+
</call>
|
|
48
|
+
</otherwise>
|
|
49
|
+
</choose>
|
|
50
|
+
<loop pre_test="true" language="text/javascript" sim_probability="100.0">
|
|
51
|
+
<call id="a2" endpoint="ADVENTURE_CORRELATION_push">
|
|
52
|
+
<parameters>
|
|
53
|
+
<label>"Receive"</label>
|
|
54
|
+
<type>:smartobject</type>
|
|
55
|
+
<sim_min_time>"1m"</sim_min_time>
|
|
56
|
+
<sim_max_time>"1m"</sim_max_time>
|
|
57
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
|
58
|
+
<mid>"_A0C7F27E-5FF6-4443-9966-A370F20E1D6F"</mid>
|
|
59
|
+
<parameters>
|
|
60
|
+
<SensorID>"14"</SensorID>
|
|
61
|
+
</parameters>
|
|
62
|
+
</parameters>
|
|
63
|
+
<manipulate output="result" language="text/javascript">data.defectid = result.SensorData;</manipulate>
|
|
64
|
+
</call>
|
|
65
|
+
<call id="a1" endpoint="MailCO_mail">
|
|
66
|
+
<parameters>
|
|
67
|
+
<label>"Deliver Mail"</label>
|
|
68
|
+
<type>:externalManufacturingTask</type>
|
|
69
|
+
<sim_min_time>"1m"</sim_min_time>
|
|
70
|
+
<sim_max_time>"1m"</sim_max_time>
|
|
71
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
|
72
|
+
<mid>"_5F7422FB-B4A2-49CB-8071-E0FF99F0A834"</mid>
|
|
73
|
+
<parameters>
|
|
74
|
+
<to>"juergen.mangler@univie.ac.at"</to>
|
|
75
|
+
<subject>"Defect Part"</subject>
|
|
76
|
+
<body>"data.defectid"</body>
|
|
77
|
+
</parameters>
|
|
78
|
+
</parameters>
|
|
79
|
+
</call>
|
|
80
|
+
<call id="a3" endpoint="ADVENTURE_SPAWN">
|
|
81
|
+
<parameters>
|
|
82
|
+
<label>"Spawn self"</label>
|
|
83
|
+
<type>:spawn</type>
|
|
84
|
+
<mid>"_DEF002B1-0593-4693-8AD7-48B983E5AFAE"</mid>
|
|
85
|
+
<parameters>
|
|
86
|
+
<instance>"53cd4af1e4b0207100d2266e"</instance>
|
|
87
|
+
</parameters>
|
|
88
|
+
</parameters>
|
|
89
|
+
</call>
|
|
90
|
+
</loop>
|
|
91
|
+
</description>
|
|
92
|
+
</dslx>
|
|
93
|
+
<status>
|
|
94
|
+
<id>0</id>
|
|
95
|
+
<message>undefined</message>
|
|
96
|
+
</status>
|
|
97
|
+
<description>
|
|
98
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
99
|
+
<choose mode="exclusive">
|
|
100
|
+
<alternative condition="true" language="text/javascript" sim_probability="40.0">
|
|
101
|
+
<call id="a6" endpoint="">
|
|
102
|
+
<parameters>
|
|
103
|
+
<label>"da"</label>
|
|
104
|
+
<type>:unknown</type>
|
|
105
|
+
<mid>"_5902507A-504A-4F1E-AEE3-8860BEF374B6"</mid>
|
|
106
|
+
<parameters/>
|
|
107
|
+
</parameters>
|
|
108
|
+
</call>
|
|
109
|
+
</alternative>
|
|
110
|
+
<otherwise sim_probability="60.0">
|
|
111
|
+
<call id="a5" endpoint="">
|
|
112
|
+
<parameters>
|
|
113
|
+
<label>"db"</label>
|
|
114
|
+
<type>:unknown</type>
|
|
115
|
+
<mid>"_6F6A6FEE-57EB-459D-96FB-1AA736CD6465"</mid>
|
|
116
|
+
<parameters/>
|
|
117
|
+
</parameters>
|
|
118
|
+
</call>
|
|
119
|
+
</otherwise>
|
|
120
|
+
</choose>
|
|
121
|
+
<loop pre_test="true" language="text/javascript" sim_probability="100.0">
|
|
122
|
+
<call id="a2" endpoint="ADVENTURE_CORRELATION_push">
|
|
123
|
+
<parameters>
|
|
124
|
+
<label>"Receive"</label>
|
|
125
|
+
<type>:smartobject</type>
|
|
126
|
+
<sim_min_time>"1m"</sim_min_time>
|
|
127
|
+
<sim_max_time>"1m"</sim_max_time>
|
|
128
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
|
129
|
+
<mid>"_A0C7F27E-5FF6-4443-9966-A370F20E1D6F"</mid>
|
|
130
|
+
<parameters>
|
|
131
|
+
<SensorID>"14"</SensorID>
|
|
132
|
+
</parameters>
|
|
133
|
+
</parameters>
|
|
134
|
+
<manipulate output="result" language="text/javascript">data.defectid = result.SensorData;</manipulate>
|
|
135
|
+
</call>
|
|
136
|
+
<call id="a1" endpoint="MailCO_mail">
|
|
137
|
+
<parameters>
|
|
138
|
+
<label>"Deliver Mail"</label>
|
|
139
|
+
<type>:externalManufacturingTask</type>
|
|
140
|
+
<sim_min_time>"1m"</sim_min_time>
|
|
141
|
+
<sim_max_time>"1m"</sim_max_time>
|
|
142
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
|
143
|
+
<mid>"_5F7422FB-B4A2-49CB-8071-E0FF99F0A834"</mid>
|
|
144
|
+
<parameters>
|
|
145
|
+
<to>"juergen.mangler@univie.ac.at"</to>
|
|
146
|
+
<subject>"Defect Part"</subject>
|
|
147
|
+
<body>"data.defectid"</body>
|
|
148
|
+
</parameters>
|
|
149
|
+
</parameters>
|
|
150
|
+
</call>
|
|
151
|
+
<call id="a3" endpoint="ADVENTURE_SPAWN">
|
|
152
|
+
<parameters>
|
|
153
|
+
<label>"Spawn self"</label>
|
|
154
|
+
<type>:spawn</type>
|
|
155
|
+
<mid>"_DEF002B1-0593-4693-8AD7-48B983E5AFAE"</mid>
|
|
156
|
+
<parameters>
|
|
157
|
+
<instance>"53cd4af1e4b0207100d2266e"</instance>
|
|
158
|
+
</parameters>
|
|
159
|
+
</parameters>
|
|
160
|
+
</call>
|
|
161
|
+
</loop>
|
|
162
|
+
</description>
|
|
163
|
+
</description>
|
|
164
|
+
<transformation>
|
|
165
|
+
<description type="copy"/>
|
|
166
|
+
<dataelements type="xslt"/>
|
|
167
|
+
<endpoints type="xslt"/>
|
|
168
|
+
</transformation>
|
|
169
|
+
</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.
|
|
4
|
+
version: 1.3.147
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
@@ -93,6 +93,10 @@ files:
|
|
|
93
93
|
- server/instances/10/properties.xml
|
|
94
94
|
- server/instances/4/properties.xml
|
|
95
95
|
- server/instances/7/properties.xml
|
|
96
|
+
- server/instances/11/notifications/e0910b6b5536976209bca471780066f1/consumer-secret
|
|
97
|
+
- server/instances/11/notifications/e0910b6b5536976209bca471780066f1/producer-secret
|
|
98
|
+
- server/instances/11/notifications/e0910b6b5536976209bca471780066f1/subscription.xml
|
|
99
|
+
- server/instances/11/properties.xml
|
|
96
100
|
- server/instances/6/properties.xml
|
|
97
101
|
- server/instances/5/properties.xml
|
|
98
102
|
- server/instances/8/properties.xml
|