cpee 1.4.7 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +5 -5
  2. data/cpee.gemspec +1 -1
  3. data/lib/cpee/controller.rb +41 -7
  4. data/lib/cpee/handler_properties.rb +9 -9
  5. data/lib/cpee/instantiation.rb +12 -6
  6. data/lib/instantiation.xml +1 -0
  7. data/log/elasticsearch.rb +120 -0
  8. data/log/logs/1/test +1 -0
  9. data/log/xes_yaml.rb +3 -20
  10. data/server/handlerwrappers/default.rb +10 -10
  11. data/server/instances/1/properties.xml +34 -122
  12. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +1 -0
  13. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +1 -0
  14. data/server/instances/{76/notifications/a59df784fab648f5327915fc6cf012ab → 10/notifications/182434032285ca1d06a8b6554b8889c8}/subscription.xml +6 -21
  15. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +1 -0
  16. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +1 -0
  17. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +6 -0
  18. data/server/instances/10/properties.xml +141 -127
  19. data/server/instances/11/properties.xml +162 -179
  20. data/server/instances/12/properties.xml +163 -87
  21. data/server/instances/13/properties.xml +131 -2002
  22. data/server/instances/14/properties.xml +9 -2044
  23. data/server/instances/15/properties.xml +8 -2039
  24. data/server/instances/16/properties.xml +8 -2069
  25. data/server/instances/17/properties.xml +11 -2065
  26. data/server/instances/18/properties.xml +10 -2109
  27. data/server/instances/19/properties.xml +5 -90
  28. data/server/instances/2/properties.xml +10 -135
  29. data/server/instances/20/properties.xml +169 -9
  30. data/server/instances/21/properties.xml +122 -82
  31. data/server/instances/22/properties.xml +53 -2042
  32. data/server/instances/23/properties.xml +75 -68
  33. data/server/instances/24/properties.xml +82 -2033
  34. data/server/instances/25/properties.xml +121 -37
  35. data/server/instances/26/properties.xml +9 -9
  36. data/server/instances/27/properties.xml +48 -2044
  37. data/server/instances/28/properties.xml +83 -2058
  38. data/server/instances/29/properties.xml +83 -2072
  39. data/server/instances/3/properties.xml +76 -211
  40. data/server/instances/30/properties.xml +293 -112
  41. data/server/instances/31/properties.xml +332 -9
  42. data/server/instances/313/notifications/crisp/consumer-secret +1 -0
  43. data/server/instances/313/notifications/crisp/producer-secret +1 -0
  44. data/server/instances/313/notifications/crisp/subscription.xml +7 -0
  45. data/server/instances/313/notifications/logging/consumer-secret +1 -0
  46. data/server/instances/313/notifications/logging/producer-secret +1 -0
  47. data/server/instances/313/notifications/logging/subscription.xml +7 -0
  48. data/server/instances/313/notifications/logging_yaml/consumer-secret +1 -0
  49. data/server/instances/313/notifications/logging_yaml/producer-secret +1 -0
  50. data/server/instances/313/notifications/logging_yaml/subscription.xml +7 -0
  51. data/server/instances/313/properties.xml +524 -0
  52. data/server/instances/32/properties.xml +582 -65
  53. data/server/instances/33/properties.xml +113 -99
  54. data/server/instances/4/properties.xml +92 -9
  55. data/server/instances/5/properties.xml +49 -1505
  56. data/server/instances/6/properties.xml +186 -11
  57. data/server/instances/662/notifications/crisp/consumer-secret +1 -0
  58. data/server/instances/662/notifications/crisp/producer-secret +1 -0
  59. data/server/instances/662/notifications/crisp/subscription.xml +7 -0
  60. data/server/instances/662/notifications/logging/consumer-secret +1 -0
  61. data/server/instances/662/notifications/logging/producer-secret +1 -0
  62. data/server/instances/662/notifications/logging/subscription.xml +7 -0
  63. data/server/instances/662/notifications/logging_yaml/consumer-secret +1 -0
  64. data/server/instances/662/notifications/logging_yaml/producer-secret +1 -0
  65. data/server/instances/662/notifications/logging_yaml/subscription.xml +7 -0
  66. data/server/instances/662/properties.xml +427 -0
  67. data/server/instances/{46 → 663}/properties.xml +1 -1
  68. data/server/instances/664/properties.xml +425 -0
  69. data/server/instances/665/properties.xml +425 -0
  70. data/server/instances/666/properties.xml +427 -0
  71. data/server/instances/667/properties.xml +427 -0
  72. data/server/instances/668/properties.xml +425 -0
  73. data/server/instances/669/properties.xml +425 -0
  74. data/server/instances/670/properties.xml +31 -0
  75. data/server/instances/{75 → 671}/properties.xml +12 -12
  76. data/server/instances/672/properties.xml +199 -0
  77. data/server/instances/673/properties.xml +52 -0
  78. data/server/instances/7/properties.xml +82 -1691
  79. data/server/instances/8/properties.xml +53 -1738
  80. data/server/instances/9/properties.xml +95 -680
  81. metadata +42 -52
  82. data/server/instances/34/properties.xml +0 -183
  83. data/server/instances/35/properties.xml +0 -183
  84. data/server/instances/36/properties.xml +0 -185
  85. data/server/instances/37/properties.xml +0 -183
  86. data/server/instances/38/properties.xml +0 -183
  87. data/server/instances/39/properties.xml +0 -183
  88. data/server/instances/40/properties.xml +0 -183
  89. data/server/instances/41/properties.xml +0 -183
  90. data/server/instances/42/properties.xml +0 -183
  91. data/server/instances/43/properties.xml +0 -183
  92. data/server/instances/44/properties.xml +0 -183
  93. data/server/instances/45/properties.xml +0 -185
  94. data/server/instances/47/properties.xml +0 -185
  95. data/server/instances/48/properties.xml +0 -185
  96. data/server/instances/49/properties.xml +0 -185
  97. data/server/instances/50/properties.xml +0 -183
  98. data/server/instances/51/properties.xml +0 -183
  99. data/server/instances/52/properties.xml +0 -2129
  100. data/server/instances/53/properties.xml +0 -2129
  101. data/server/instances/54/properties.xml +0 -319
  102. data/server/instances/55/properties.xml +0 -2114
  103. data/server/instances/56/properties.xml +0 -2114
  104. data/server/instances/57/properties.xml +0 -2119
  105. data/server/instances/58/properties.xml +0 -2119
  106. data/server/instances/59/properties.xml +0 -2119
  107. data/server/instances/60/properties.xml +0 -2119
  108. data/server/instances/61/properties.xml +0 -2114
  109. data/server/instances/62/properties.xml +0 -2116
  110. data/server/instances/63/properties.xml +0 -2116
  111. data/server/instances/64/properties.xml +0 -2116
  112. data/server/instances/65/properties.xml +0 -76
  113. data/server/instances/66/properties.xml +0 -97
  114. data/server/instances/67/properties.xml +0 -184
  115. data/server/instances/68/properties.xml +0 -158
  116. data/server/instances/69/properties.xml +0 -156
  117. data/server/instances/70/properties.xml +0 -156
  118. data/server/instances/71/properties.xml +0 -156
  119. data/server/instances/72/properties.xml +0 -156
  120. data/server/instances/73/properties.xml +0 -156
  121. data/server/instances/74/properties.xml +0 -156
  122. data/server/instances/76/notifications/a59df784fab648f5327915fc6cf012ab/consumer-secret +0 -1
  123. data/server/instances/76/notifications/a59df784fab648f5327915fc6cf012ab/producer-secret +0 -1
  124. data/server/instances/76/properties.xml +0 -156
  125. data/server/resources/base.xml +0 -78
  126. data/server/resources/test.rb +0 -19
  127. data/server/resources/test.xml +0 -33
@@ -1,95 +1,38 @@
1
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
2
  <attributes>
3
- <uuid>44cfec5e-ae21-4948-8a84-bffc76209842</uuid>
4
- <info>Other Test</info>
3
+ <uuid/>
4
+ <info>Lego Plate</info>
5
5
  <modeltype>CPEE</modeltype>
6
- <theme>default</theme>
7
6
  </attributes>
8
- <state>ready</state>
7
+ <state>stopped</state>
9
8
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
9
  <positions/>
11
10
  <dataelements>
12
- <persons>3</persons>
13
- <card>Visa_12345</card>
14
- <airline>null</airline>
15
- <hotels>[]</hotels>
16
- <from>Vienna</from>
17
- <to>Prague</to>
18
- <costs>0</costs>
11
+ <i>0</i>
19
12
  </dataelements>
20
13
  <endpoints>
21
- <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
22
- <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
23
- <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
14
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
15
+ <move>http://plate.wst.univie.ac.at:9200/go-next</move>
24
16
  </endpoints>
25
- <dsl>call :a1, :bookAir, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :from, :value =&gt; data.from), ⭐(:name =&gt; :to, :value =&gt; data.to), ⭐(:name =&gt; :persons, :value =&gt; data.persons)] }, finalize: &lt;&lt;-END
26
- data.airline = result.value('id')
27
- data.costs += result.value('costs').to_f
28
- status.update 1, 'Hotel'
29
- END
30
- parallel do
31
- loop pre_test{data.persons &gt; 0} do
32
- parallel_branch data.persons do |p|
33
- call :a2, :bookHotel, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :to, :value =&gt; data.to)] }, finalize: &lt;&lt;-END
34
- data.hotels &lt;&lt; result.value('id')
35
- data.costs += result.value('costs').to_f
36
- END
37
- end
38
- manipulate :a3, &lt;&lt;-END
39
- data.persons -= 1
40
- END
41
- end
42
- end
43
- choose :inclusive do
44
- alternative "data.costs &gt; 700" do
45
- call :a4, :approve, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :costs, :value =&gt; data.costs)] }
46
- end
17
+ <dsl>loop pre_test{i&lt;2} do
18
+ call :a1, :move, parameters: { :label =&gt; "Move to next station", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
19
+ data.i= data.i + 1
20
+ END
47
21
  end
48
22
  </dsl>
49
23
  <dslx>
50
24
  <description xmlns="http://cpee.org/ns/description/1.0">
51
- <call id="a1" endpoint="bookAir">
52
- <parameters>
53
- <method>:post</method>
54
- <arguments>
55
- <from>data.from</from>
56
- <to>data.to</to>
57
- <persons>data.persons</persons>
58
- </arguments>
59
- </parameters>
60
- <finalize output="result">data.airline = result.value('id')
61
- data.costs += result.value('costs').to_f
62
- status.update 1, 'Hotel'</finalize>
63
- </call>
64
- <parallel>
65
- <loop mode="pre_test" condition="data.persons &gt; 0">
66
- <parallel_branch pass="data.persons" local="p">
67
- <call id="a2" endpoint="bookHotel">
68
- <parameters>
69
- <method>:post</method>
70
- <arguments>
71
- <to>data.to</to>
72
- </arguments>
73
- </parameters>
74
- <finalize output="result">data.hotels &lt;&lt; result.value('id')
75
- data.costs += result.value('costs').to_f</finalize>
76
- </call>
77
- </parallel_branch>
78
- <manipulate id="a3">data.persons -= 1</manipulate>
79
- </loop>
80
- </parallel>
81
- <choose>
82
- <alternative condition="data.costs &gt; 700">
83
- <call id="a4" endpoint="approve">
84
- <parameters>
85
- <method>:post</method>
86
- <arguments>
87
- <costs>data.costs</costs>
88
- </arguments>
89
- </parameters>
90
- </call>
91
- </alternative>
92
- </choose>
25
+ <loop mode="pre_test" condition="i&lt;2">
26
+ <call id="a1" endpoint="move">
27
+ <parameters>
28
+ <label>Move to next station</label>
29
+ <method>:post</method>
30
+ <arguments/>
31
+ </parameters>
32
+ <finalize output="result">data.i= data.i + 1</finalize>
33
+ <update output="result"/>
34
+ </call>
35
+ </loop>
93
36
  </description>
94
37
  </dslx>
95
38
  <status>
@@ -98,53 +41,22 @@ data.costs += result.value('costs').to_f</finalize>
98
41
  </status>
99
42
  <description>
100
43
  <description xmlns="http://cpee.org/ns/description/1.0">
101
- <call id="a1" endpoint="bookAir">
102
- <parameters>
103
- <method>:post</method>
104
- <arguments>
105
- <from>data.from</from>
106
- <to>data.to</to>
107
- <persons>data.persons</persons>
108
- </arguments>
109
- </parameters>
110
- <finalize output="result">data.airline = result.value('id')
111
- data.costs += result.value('costs').to_f
112
- status.update 1, 'Hotel'</finalize>
113
- </call>
114
- <parallel>
115
- <loop mode="pre_test" condition="data.persons &gt; 0">
116
- <parallel_branch pass="data.persons" local="p">
117
- <call id="a2" endpoint="bookHotel">
118
- <parameters>
119
- <method>:post</method>
120
- <arguments>
121
- <to>data.to</to>
122
- </arguments>
123
- </parameters>
124
- <finalize output="result">data.hotels &lt;&lt; result.value('id')
125
- data.costs += result.value('costs').to_f</finalize>
126
- </call>
127
- </parallel_branch>
128
- <manipulate id="a3">data.persons -= 1</manipulate>
129
- </loop>
130
- </parallel>
131
- <choose>
132
- <alternative condition="data.costs &gt; 700">
133
- <call id="a4" endpoint="approve">
134
- <parameters>
135
- <method>:post</method>
136
- <arguments>
137
- <costs>data.costs</costs>
138
- </arguments>
139
- </parameters>
140
- </call>
141
- </alternative>
142
- </choose>
44
+ <loop mode="pre_test" condition="i&lt;2">
45
+ <call id="a1" endpoint="move">
46
+ <parameters>
47
+ <label>Move to next station</label>
48
+ <method>:post</method>
49
+ <arguments/>
50
+ </parameters>
51
+ <finalize output="result">data.i= data.i + 1</finalize>
52
+ <update output="result"/>
53
+ </call>
54
+ </loop>
143
55
  </description>
144
56
  </description>
145
57
  <transformation>
146
58
  <description type="copy"/>
147
- <dataelements type="rest"/>
148
- <endpoints type="rest"/>
59
+ <dataelements type="none"/>
60
+ <endpoints type="none"/>
149
61
  </transformation>
150
62
  </properties>
@@ -1,38 +1,23 @@
1
- <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
1
+ <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://localhost:9299/events">
2
2
  <topic id="activity">
3
3
  <event>calling</event>
4
- <event>status</event>
5
- <event>manipulating</event>
6
4
  <event>failed</event>
5
+ <event>manipulating</event>
7
6
  <event>done</event>
8
7
  </topic>
9
- <topic id="position">
10
- <event>change</event>
11
- </topic>
12
- <topic id="description">
13
- <event>change</event>
14
- <event>error</event>
15
- </topic>
16
- <topic id="state">
17
- <event>change</event>
18
- </topic>
19
8
  <topic id="dataelements">
20
9
  <event>change</event>
21
10
  </topic>
22
11
  <topic id="endpoints">
23
12
  <event>change</event>
24
13
  </topic>
25
- <topic id="attributes">
26
- <event>change</event>
27
- </topic>
28
- <topic id="transformation">
29
- <event>change</event>
30
- </topic>
31
- <topic id="handlerwrapper">
14
+ <topic id="description">
32
15
  <event>error</event>
16
+ </topic>
17
+ <topic id="state">
33
18
  <event>change</event>
34
19
  </topic>
35
- <topic id="handlers">
20
+ <topic id="status">
36
21
  <event>change</event>
37
22
  </topic>
38
23
  </subscription>
@@ -0,0 +1,6 @@
1
+ <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://solo.wst.univie.ac.at:9299/log">
2
+ <topic id="activity">
3
+ <event>calling</event>
4
+ <event>done</event>
5
+ </topic>
6
+ </subscription>
@@ -1,102 +1,108 @@
1
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
2
  <attributes>
3
- <uuid>0e4f3926-7e59-4d64-84aa-a8aef708eb75</uuid>
4
- <info>Eigenspannungsmessung 140</info>
5
- <modeltype>CPEE</modeltype>
6
- <theme>labels</theme>
3
+ <uuid>cb9f41ef-e119-43a5-b8fa-5851ec3faef1</uuid>
4
+ <info>s</info>
5
+ <modeltype>Signavio</modeltype>
7
6
  </attributes>
8
7
  <state>ready</state>
9
8
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
9
  <positions/>
11
- <dataelements/>
10
+ <dataelements>
11
+ <x>_begin</x>
12
+ <nasty>What a nasty bug</nasty>
13
+ </dataelements>
12
14
  <endpoints>
13
15
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
16
  </endpoints>
15
- <dsl>call :a1, nil, parameters: { :label =&gt; "Grunddaten erfassen UI", :method =&gt; :post, :arguments =&gt; nil }, update: &lt;&lt;-END
16
- data.scheibenmaterial = result.scheibenmaterial
17
- data.scheibenbauform = result.scheibenbauform
18
- data.eigenspannungswert = result.eigenspannungswert
19
- data.taetigkeiten = []
17
+ <dsl>call :a1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4), ⭐(:name =&gt; :bug, :value =&gt; data.nasty)] }, finalize: &lt;&lt;-END
18
+ data.x += "done"
20
19
  END
21
- call :a2, nil, parameters: { :label =&gt; "max Eigenspannungswert festellen", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :scheibenbauform, :value =&gt; "data.scheibenbauform"), ⭐(:name =&gt; :scheibenmaterial, :value =&gt; "data.scheibenmaterial")] }, finalize: &lt;&lt;-END
22
- data.maxeigenspannungswert = result.maxeigenspannungswert
23
- data.mineigenspannungswert = result.mineigenspannungswert
20
+ parallel :wait =&gt; 2 do
21
+ parallel_branch do
22
+ call :a2_1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 6)] }
23
+ end
24
+ parallel_branch do
25
+ call :a2_2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
26
+ end
27
+ end
28
+ manipulate :a3, &lt;&lt;-END
29
+ data.x += '_end'
24
30
  END
25
- choose :exclusive do
26
- alternative test{data.eigenspannungswert &lt; data.mineigenspannungswert || data.eigenspannungswert &gt; data.maxeigenspannunswert} do
27
- choose :exclusive do
28
- alternative test{data.tauschgruppe["regenerieren"]} do
29
- manipulate :a4, &lt;&lt;-END
30
- data.taetigkeiten &lt;&lt; "Radsatz regenerieren"
31
- END
32
- end
33
- otherwise do
34
- manipulate :a3, &lt;&lt;-END
35
- data.taetigkeiten &lt;&lt; "Abpressen"
36
- END
37
- end
38
- end
31
+ choose :inclusive do
32
+ alternative "data.x != nil" do
33
+ call :a4_1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
34
+ end
35
+ otherwise do
36
+ call :a4_2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 10)] }
39
37
  end
40
38
  end
41
39
  </dsl>
42
40
  <dslx>
43
41
  <description xmlns="http://cpee.org/ns/description/1.0">
44
- <call id="a1" endpoint="">
45
- <parameters>
46
- <label>Grunddaten erfassen UI</label>
47
- <method>:post</method>
48
- <arguments/>
49
- </parameters>
50
- <finalize output="result"/>
51
- <update output="result">data.scheibenmaterial = result.scheibenmaterial
52
- data.scheibenbauform = result.scheibenbauform
53
- data.eigenspannungswert = result.eigenspannungswert
54
- data.taetigkeiten = []</update>
55
- <_timing>
56
- <_timing_min/>
57
- <_timing_max/>
58
- <_timing_avg/>
59
- </_timing>
60
- <_notes>
61
- <_notes_general/>
62
- <_notes_output/>
63
- <_attachments/>
64
- </_notes>
65
- </call>
66
- <call id="a2" endpoint="">
42
+ <call id="a1" endpoint="timeout">
67
43
  <parameters>
68
- <label>max Eigenspannungswert festellen</label>
44
+ <!--{{{-->
69
45
  <method>:post</method>
70
46
  <arguments>
71
- <scheibenbauform>data.scheibenbauform</scheibenbauform>
72
- <scheibenmaterial>data.scheibenmaterial</scheibenmaterial>
47
+ <timeout>4</timeout>
48
+ <bug>data.nasty</bug>
73
49
  </arguments>
74
50
  </parameters>
75
- <finalize output="result">data.maxeigenspannungswert = result.maxeigenspannungswert
76
- data.mineigenspannungswert = result.mineigenspannungswert</finalize>
77
- <update output="result"/>
78
- <_timing>
79
- <_timing_min/>
80
- <_timing_max/>
81
- <_timing_avg/>
82
- </_timing>
83
- <_notes>
84
- <_notes_general/>
85
- <_notes_output/>
86
- <_attachments/>
87
- </_notes>
51
+ <!--}}}-->
52
+ <finalize output="result">data.x += "done"</finalize>
88
53
  </call>
89
- <choose mode="exclusive">
90
- <alternative condition="data.eigenspannungswert &lt; data.mineigenspannungswert || data.eigenspannungswert &gt; data.maxeigenspannunswert">
91
- <choose mode="exclusive">
92
- <alternative condition="data.tauschgruppe[&quot;regenerieren&quot;]">
93
- <manipulate id="a4" label="Regenerieren hinzuf&#xFC;gen">data.taetigkeiten &lt;&lt; "Radsatz regenerieren"</manipulate>
94
- </alternative>
95
- <otherwise>
96
- <manipulate id="a3" label="Abpressen hinzuf&#xFC;gen">data.taetigkeiten &lt;&lt; "Abpressen"</manipulate>
97
- </otherwise>
98
- </choose>
54
+ <parallel wait="2">
55
+ <parallel_branch>
56
+ <call id="a2_1" endpoint="timeout">
57
+ <parameters>
58
+ <!--{{{-->
59
+ <method>:post</method>
60
+ <arguments>
61
+ <timeout>6</timeout>
62
+ </arguments>
63
+ </parameters>
64
+ <!--}}}-->
65
+ </call>
66
+ </parallel_branch>
67
+ <parallel_branch>
68
+ <call id="a2_2" endpoint="timeout">
69
+ <parameters>
70
+ <!--{{{-->
71
+ <method>:post</method>
72
+ <arguments>
73
+ <timeout>2</timeout>
74
+ </arguments>
75
+ </parameters>
76
+ <!--}}}-->
77
+ </call>
78
+ </parallel_branch>
79
+ </parallel>
80
+ <manipulate id="a3">data.x += '_end'</manipulate>
81
+ <choose>
82
+ <alternative condition="data.x != nil">
83
+ <call id="a4_1" endpoint="timeout">
84
+ <parameters>
85
+ <!--{{{-->
86
+ <method>:post</method>
87
+ <arguments>
88
+ <timeout>4</timeout>
89
+ </arguments>
90
+ </parameters>
91
+ <!--}}}-->
92
+ </call>
99
93
  </alternative>
94
+ <otherwise>
95
+ <call id="a4_2" endpoint="timeout">
96
+ <parameters>
97
+ <!--{{{-->
98
+ <method>:post</method>
99
+ <arguments>
100
+ <timeout>10</timeout>
101
+ </arguments>
102
+ </parameters>
103
+ <!--}}}-->
104
+ </call>
105
+ </otherwise>
100
106
  </choose>
101
107
  </description>
102
108
  </dslx>
@@ -106,68 +112,76 @@ data.mineigenspannungswert = result.mineigenspannungswert</finalize>
106
112
  </status>
107
113
  <description>
108
114
  <description xmlns="http://cpee.org/ns/description/1.0">
109
- <call id="a1" endpoint="">
110
- <parameters>
111
- <label>Grunddaten erfassen UI</label>
112
- <method>:post</method>
113
- <arguments/>
114
- </parameters>
115
- <finalize output="result"/>
116
- <update output="result">data.scheibenmaterial = result.scheibenmaterial
117
- data.scheibenbauform = result.scheibenbauform
118
- data.eigenspannungswert = result.eigenspannungswert
119
- data.taetigkeiten = []</update>
120
- <_timing>
121
- <_timing_min/>
122
- <_timing_max/>
123
- <_timing_avg/>
124
- </_timing>
125
- <_notes>
126
- <_notes_general/>
127
- <_notes_output/>
128
- <_attachments/>
129
- </_notes>
130
- </call>
131
- <call id="a2" endpoint="">
115
+ <call id="a1" endpoint="timeout">
132
116
  <parameters>
133
- <label>max Eigenspannungswert festellen</label>
117
+ <!--{{{-->
134
118
  <method>:post</method>
135
119
  <arguments>
136
- <scheibenbauform>data.scheibenbauform</scheibenbauform>
137
- <scheibenmaterial>data.scheibenmaterial</scheibenmaterial>
120
+ <timeout>4</timeout>
121
+ <bug>data.nasty</bug>
138
122
  </arguments>
139
123
  </parameters>
140
- <finalize output="result">data.maxeigenspannungswert = result.maxeigenspannungswert
141
- data.mineigenspannungswert = result.mineigenspannungswert</finalize>
142
- <update output="result"/>
143
- <_timing>
144
- <_timing_min/>
145
- <_timing_max/>
146
- <_timing_avg/>
147
- </_timing>
148
- <_notes>
149
- <_notes_general/>
150
- <_notes_output/>
151
- <_attachments/>
152
- </_notes>
124
+ <!--}}}-->
125
+ <finalize output="result">data.x += "done"</finalize>
153
126
  </call>
154
- <choose mode="exclusive">
155
- <alternative condition="data.eigenspannungswert &lt; data.mineigenspannungswert || data.eigenspannungswert &gt; data.maxeigenspannunswert">
156
- <choose mode="exclusive">
157
- <alternative condition="data.tauschgruppe[&quot;regenerieren&quot;]">
158
- <manipulate id="a4" label="Regenerieren hinzuf&#xFC;gen">data.taetigkeiten &lt;&lt; "Radsatz regenerieren"</manipulate>
159
- </alternative>
160
- <otherwise>
161
- <manipulate id="a3" label="Abpressen hinzuf&#xFC;gen">data.taetigkeiten &lt;&lt; "Abpressen"</manipulate>
162
- </otherwise>
163
- </choose>
127
+ <parallel wait="2">
128
+ <parallel_branch>
129
+ <call id="a2_1" endpoint="timeout">
130
+ <parameters>
131
+ <!--{{{-->
132
+ <method>:post</method>
133
+ <arguments>
134
+ <timeout>6</timeout>
135
+ </arguments>
136
+ </parameters>
137
+ <!--}}}-->
138
+ </call>
139
+ </parallel_branch>
140
+ <parallel_branch>
141
+ <call id="a2_2" endpoint="timeout">
142
+ <parameters>
143
+ <!--{{{-->
144
+ <method>:post</method>
145
+ <arguments>
146
+ <timeout>2</timeout>
147
+ </arguments>
148
+ </parameters>
149
+ <!--}}}-->
150
+ </call>
151
+ </parallel_branch>
152
+ </parallel>
153
+ <manipulate id="a3">data.x += '_end'</manipulate>
154
+ <choose>
155
+ <alternative condition="data.x != nil">
156
+ <call id="a4_1" endpoint="timeout">
157
+ <parameters>
158
+ <!--{{{-->
159
+ <method>:post</method>
160
+ <arguments>
161
+ <timeout>4</timeout>
162
+ </arguments>
163
+ </parameters>
164
+ <!--}}}-->
165
+ </call>
164
166
  </alternative>
167
+ <otherwise>
168
+ <call id="a4_2" endpoint="timeout">
169
+ <parameters>
170
+ <!--{{{-->
171
+ <method>:post</method>
172
+ <arguments>
173
+ <timeout>10</timeout>
174
+ </arguments>
175
+ </parameters>
176
+ <!--}}}-->
177
+ </call>
178
+ </otherwise>
165
179
  </choose>
166
180
  </description>
167
181
  </description>
168
182
  <transformation>
169
183
  <description type="copy"/>
170
- <dataelements type="none"/>
171
- <endpoints type="none"/>
184
+ <dataelements type="rest"/>
185
+ <endpoints type="rest"/>
172
186
  </transformation>
173
187
  </properties>