cpee 1.3.177 → 1.3.178

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/ui.css +20 -3
  3. data/cockpit/{lib → css}/wfadaptor.css +0 -0
  4. data/cockpit/index.html +47 -22
  5. data/cockpit/js/details.js +18 -18
  6. data/cockpit/js/instance.js +50 -9
  7. data/cockpit/js/parameters.js +16 -15
  8. data/cockpit/js/ui.js +1 -4
  9. data/cockpit/js/wfadaptor.cpee.js +3 -20
  10. data/cockpit/{lib → js}/wfadaptor.js +39 -15
  11. data/cockpit/rngtest.html +14 -35
  12. data/cockpit/rngtest.rng +17 -39
  13. data/cockpit/rngtest.xml +7 -6
  14. data/cockpit/test.html +46 -0
  15. data/cockpit/testsets/Infinity.xml +28 -0
  16. data/cockpit/testsets/testsets.xml +1 -0
  17. data/cpee.gemspec +1 -1
  18. data/lib/cpee/controller.rb +8 -8
  19. data/lib/cpee/handler_properties.rb +1 -0
  20. data/lib/cpee/implementation.rb +9 -0
  21. data/lib/engine.xml +3 -3
  22. data/server/resources/topics.xml +3 -0
  23. data/test/{cb.rb → callback.rb} +0 -0
  24. metadata +8 -103
  25. data/cockpit/lib/custommenu.css +0 -84
  26. data/cockpit/lib/custommenu.js +0 -101
  27. data/cockpit/lib/jquery.browser.js +0 -40
  28. data/cockpit/lib/jquery.caret.min.js +0 -10
  29. data/cockpit/lib/jquery.cookie.js +0 -117
  30. data/cockpit/lib/jquery.min.js +0 -4
  31. data/cockpit/lib/jquery.svg.min.js +0 -6
  32. data/cockpit/lib/jquery.svgdom.min.js +0 -6
  33. data/cockpit/lib/parsequery.js +0 -19
  34. data/cockpit/lib/printf.js +0 -368
  35. data/cockpit/lib/relaxngui.js +0 -4
  36. data/cockpit/lib/strftime.min.js +0 -1
  37. data/cockpit/lib/ui.css +0 -261
  38. data/cockpit/lib/ui.js +0 -114
  39. data/cockpit/lib/underscore.min.js +0 -27
  40. data/cockpit/lib/util.js +0 -58
  41. data/cockpit/lib/wfadaptor-doc/demo1.html +0 -517
  42. data/cockpit/lib/wfadaptor-doc/demo2.html +0 -84
  43. data/cockpit/lib/wfadaptor-doc/index.html +0 -54
  44. data/server/instances/1/properties.xml +0 -113
  45. data/server/instances/10/properties.xml +0 -145
  46. data/server/instances/11/properties.xml +0 -169
  47. data/server/instances/12/properties.xml +0 -44
  48. data/server/instances/13/properties.xml +0 -146
  49. data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/consumer-secret +0 -1
  50. data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/producer-secret +0 -1
  51. data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/subscription.xml +0 -23
  52. data/server/instances/14/properties.xml +0 -332
  53. data/server/instances/15/properties.xml +0 -44
  54. data/server/instances/16/properties.xml +0 -44
  55. data/server/instances/17/properties.xml +0 -44
  56. data/server/instances/18/properties.xml +0 -45
  57. data/server/instances/19/properties.xml +0 -45
  58. data/server/instances/2/properties.xml +0 -230
  59. data/server/instances/20/properties.xml +0 -46
  60. data/server/instances/21/properties.xml +0 -46
  61. data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/consumer-secret +0 -1
  62. data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/producer-secret +0 -1
  63. data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/subscription.xml +0 -23
  64. data/server/instances/22/properties.xml +0 -112
  65. data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/consumer-secret +0 -1
  66. data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/producer-secret +0 -1
  67. data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/subscription.xml +0 -23
  68. data/server/instances/23/properties.xml +0 -148
  69. data/server/instances/24/properties.xml +0 -66
  70. data/server/instances/25/properties.xml +0 -46
  71. data/server/instances/26/properties.xml +0 -112
  72. data/server/instances/27/properties.xml +0 -212
  73. data/server/instances/28/properties.xml +0 -363
  74. data/server/instances/29/properties.xml +0 -148
  75. data/server/instances/3/properties.xml +0 -109
  76. data/server/instances/30/properties.xml +0 -150
  77. data/server/instances/31/properties.xml +0 -52
  78. data/server/instances/32/properties.xml +0 -52
  79. data/server/instances/33/properties.xml +0 -60
  80. data/server/instances/34/properties.xml +0 -148
  81. data/server/instances/35/properties.xml +0 -148
  82. data/server/instances/36/properties.xml +0 -150
  83. data/server/instances/37/notifications/5f979ed943f91ff75d75e551ba0642d6/consumer-secret +0 -1
  84. data/server/instances/37/notifications/5f979ed943f91ff75d75e551ba0642d6/producer-secret +0 -1
  85. data/server/instances/37/notifications/5f979ed943f91ff75d75e551ba0642d6/subscription.xml +0 -33
  86. data/server/instances/37/properties.xml +0 -57
  87. data/server/instances/38/properties.xml +0 -46
  88. data/server/instances/39/properties.xml +0 -58
  89. data/server/instances/4/properties.xml +0 -43
  90. data/server/instances/40/properties.xml +0 -148
  91. data/server/instances/41/properties.xml +0 -46
  92. data/server/instances/42/properties.xml +0 -148
  93. data/server/instances/43/notifications/9e7d05164a8539415d008b5bca3e0672/consumer-secret +0 -1
  94. data/server/instances/43/notifications/9e7d05164a8539415d008b5bca3e0672/producer-secret +0 -1
  95. data/server/instances/43/notifications/9e7d05164a8539415d008b5bca3e0672/subscription.xml +0 -34
  96. data/server/instances/43/properties.xml +0 -148
  97. data/server/instances/44/properties.xml +0 -148
  98. data/server/instances/45/notifications/442ed76f5da42dc9c57713840d713510/consumer-secret +0 -1
  99. data/server/instances/45/notifications/442ed76f5da42dc9c57713840d713510/producer-secret +0 -1
  100. data/server/instances/45/notifications/442ed76f5da42dc9c57713840d713510/subscription.xml +0 -34
  101. data/server/instances/45/properties.xml +0 -148
  102. data/server/instances/46/properties.xml +0 -46
  103. data/server/instances/47/notifications/63fba892899cc92fca381a666089e8d9/consumer-secret +0 -1
  104. data/server/instances/47/notifications/63fba892899cc92fca381a666089e8d9/producer-secret +0 -1
  105. data/server/instances/47/notifications/63fba892899cc92fca381a666089e8d9/subscription.xml +0 -34
  106. data/server/instances/47/notifications/e0cdacd3147aa31b0478a3ab1155db6c/consumer-secret +0 -1
  107. data/server/instances/47/notifications/e0cdacd3147aa31b0478a3ab1155db6c/producer-secret +0 -1
  108. data/server/instances/47/notifications/e0cdacd3147aa31b0478a3ab1155db6c/subscription.xml +0 -34
  109. data/server/instances/47/properties.xml +0 -148
  110. data/server/instances/5/properties.xml +0 -23
  111. data/server/instances/6/properties.xml +0 -203
  112. data/server/instances/7/properties.xml +0 -149
  113. data/server/instances/8/properties.xml +0 -145
  114. data/server/instances/9/properties.xml +0 -145
  115. data/server/server.pid +0 -1
  116. data/test/delete.rb +0 -27
  117. data/test/load.rb +0 -55
  118. data/test/testset.xml +0 -297
@@ -1,44 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- This file is part of CPEE.
4
-
5
- CPEE is free software: you can redistribute it and/or modify it under the terms
6
- of the GNU General Public License as published by the Free Software Foundation,
7
- either version 3 of the License, or (at your option) any later version.
8
-
9
- CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
10
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
-
13
- You should have received a copy of the GNU General Public License along with
14
- CPEE (file COPYING in the main directory). If not, see
15
- <http://www.gnu.org/licenses/>.
16
- -->
17
-
18
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
19
- <info/>
20
- <properties/>
21
- <state>ready</state>
22
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
23
- <positions/>
24
- <dataelements/>
25
- <endpoints>
26
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
27
- </endpoints>
28
- <dsl/>
29
- <dslx>
30
- <description xmlns="http://cpee.org/ns/description/1.0"/>
31
- </dslx>
32
- <status>
33
- <id>0</id>
34
- <message>undefined</message>
35
- </status>
36
- <description>
37
- <description xmlns="http://cpee.org/ns/description/1.0"/>
38
- </description>
39
- <transformation>
40
- <description type='copy'/>
41
- <dataelements type='xslt'/>
42
- <endpoints type='xslt'/>
43
- </transformation>
44
- </properties>
@@ -1,146 +0,0 @@
1
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <info>Enter info here</info>
3
- <properties/>
4
- <state>ready</state>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
- <positions/>
7
- <dataelements>
8
- <persons>3</persons>
9
- <card>Visa_12345</card>
10
- <airline>null</airline>
11
- <hotels>[]</hotels>
12
- <from>Vienna</from>
13
- <to>Prague</to>
14
- <costs>0</costs>
15
- </dataelements>
16
- <endpoints>
17
- <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
18
- <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
19
- <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
20
- </endpoints>
21
- <dsl>call :a1, :bookAir, { :method =&gt; :post, :parameters =&gt; {:from =&gt; data.from, :to =&gt; data.to, :persons =&gt; data.persons} }, &lt;&lt;-end
22
- data.airline = result.value('id')
23
- data.costs += result.value('costs').to_f
24
- status.update 1, 'Hotel'
25
- end
26
- parallel do
27
- loop pre_test{data.persons &gt; 0} do
28
- parallel_branch data.persons do |p|
29
- call :a2, :bookHotel, { :method =&gt; :post, :parameters =&gt; {:to =&gt; data.to} }, &lt;&lt;-end
30
- data.hotels &lt;&lt; result.value('id')
31
- data.costs += result.value('costs').to_f
32
- end
33
- end
34
- manipulate :a3, &lt;&lt;-end
35
- data.persons -= 1
36
- end
37
- end
38
- end
39
- choose :inclusive do
40
- alternative "data.costs &gt; 700" do
41
- call :a4, :approve, { :method =&gt; :post, :parameters =&gt; {:costs =&gt; data.costs} }
42
- end
43
- end
44
- </dsl>
45
- <dslx>
46
- <description xmlns="http://cpee.org/ns/description/1.0">
47
- <call id="a1" endpoint="bookAir">
48
- <parameters>
49
- <method>:post</method>
50
- <parameters>
51
- <from>data.from</from>
52
- <to>data.to</to>
53
- <persons>data.persons</persons>
54
- </parameters>
55
- </parameters>
56
- <manipulate output="result"> data.airline = result.value('id')
57
- data.costs += result.value('costs').to_f
58
- status.update 1, 'Hotel'</manipulate>
59
- </call>
60
- <parallel>
61
- <loop pre_test="data.persons &gt; 0">
62
- <parallel_branch pass="data.persons" local="p">
63
- <call id="a2" endpoint="bookHotel">
64
- <parameters>
65
- <method>:post</method>
66
- <parameters>
67
- <to>data.to</to>
68
- </parameters>
69
- </parameters>
70
- <manipulate output="result"> data.hotels &lt;&lt; result.value('id')
71
- data.costs += result.value('costs').to_f</manipulate>
72
- </call>
73
- </parallel_branch>
74
- <manipulate id="a3"> data.persons -= 1</manipulate>
75
- </loop>
76
- </parallel>
77
- <choose>
78
- <alternative condition="data.costs &gt; 700">
79
- <call id="a4" endpoint="approve">
80
- <parameters>
81
- <method>:post</method>
82
- <parameters>
83
- <costs>data.costs</costs>
84
- </parameters>
85
- </parameters>
86
- </call>
87
- </alternative>
88
- </choose>
89
- </description>
90
- </dslx>
91
- <status>
92
- <id>0</id>
93
- <message>undefined</message>
94
- </status>
95
- <description>
96
- <description xmlns="http://cpee.org/ns/description/1.0">
97
- <call id="a1" endpoint="bookAir">
98
- <parameters>
99
- <method>:post</method>
100
- <parameters>
101
- <from>data.from</from>
102
- <to>data.to</to>
103
- <persons>data.persons</persons>
104
- </parameters>
105
- </parameters>
106
- <manipulate output="result"> data.airline = result.value('id')
107
- data.costs += result.value('costs').to_f
108
- status.update 1, 'Hotel'</manipulate>
109
- </call>
110
- <parallel>
111
- <loop pre_test="data.persons &gt; 0">
112
- <parallel_branch pass="data.persons" local="p">
113
- <call id="a2" endpoint="bookHotel">
114
- <parameters>
115
- <method>:post</method>
116
- <parameters>
117
- <to>data.to</to>
118
- </parameters>
119
- </parameters>
120
- <manipulate output="result"> data.hotels &lt;&lt; result.value('id')
121
- data.costs += result.value('costs').to_f</manipulate>
122
- </call>
123
- </parallel_branch>
124
- <manipulate id="a3"> data.persons -= 1</manipulate>
125
- </loop>
126
- </parallel>
127
- <choose>
128
- <alternative condition="data.costs &gt; 700">
129
- <call id="a4" endpoint="approve">
130
- <parameters>
131
- <method>:post</method>
132
- <parameters>
133
- <costs>data.costs</costs>
134
- </parameters>
135
- </parameters>
136
- </call>
137
- </alternative>
138
- </choose>
139
- </description>
140
- </description>
141
- <transformation>
142
- <description type="copy"/>
143
- <dataelements type="rest"/>
144
- <endpoints type="rest"/>
145
- </transformation>
146
- </properties>
@@ -1,23 +0,0 @@
1
- <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://localhost:9299/events">
2
- <topic id="running">
3
- <event>activity_calling</event>
4
- <event>activity_failed</event>
5
- <event>activity_manipulating</event>
6
- <event>activity_done</event>
7
- </topic>
8
- <topic id="properties/dataelements">
9
- <event>change</event>
10
- </topic>
11
- <topic id="properties/endpoints">
12
- <event>change</event>
13
- </topic>
14
- <topic id="properties/description">
15
- <event>error</event>
16
- </topic>
17
- <topic id="properties/state">
18
- <event>change</event>
19
- </topic>
20
- <topic id="properties/status">
21
- <event>change</event>
22
- </topic>
23
- </subscription>
@@ -1,332 +0,0 @@
1
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <info>Enter info here</info>
3
- <properties/>
4
- <state>ready</state>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
- <positions/>
7
- <dataelements>
8
- <persons>3</persons>
9
- <card>Visa_12345</card>
10
- <airline>null</airline>
11
- <hotels>[]</hotels>
12
- <from>Vienna</from>
13
- <to>Prague</to>
14
- <costs>0</costs>
15
- </dataelements>
16
- <endpoints>
17
- <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
18
- <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
19
- <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
20
- </endpoints>
21
- <dsl>call :a8, :a, { :label =&gt; "Schadensmeldung registrieren", :method =&gt; :post, :parameters =&gt; nil }, &lt;&lt;-end
22
- data.versname = result.find('string(/a/versname)')
23
- data.versnr = result.find('string(/a/versnr)')
24
- data.email = result.find('string(/a/email)')
25
- data.garage = result.find('string(/a/garage)')
26
- data.schadenssum = result.find('string(/a/schadenssum)')
27
- end
28
- call :a1, :b, { :label =&gt; "Schaden klassifizieren", :method =&gt; :post, :parameters =&gt; {:vname =&gt; data.versname} }, &lt;&lt;-end
29
- data.schadensklasse = result.value.read
30
- end
31
- choose :exclusive do
32
- alternative "data.schadensklasse == 'gering'" do
33
- parallel :wait =&gt; -1 do
34
- parallel_branch do
35
- call :a7, :d, { :label =&gt; "Garage kontaktiert", :method =&gt; :post, :parameters =&gt; nil }, &lt;&lt;-end
36
- data.garage += result.value.read
37
- end
38
- end
39
- parallel_branch do
40
- call :a5, :c, { :label =&gt; "Versicherungssumme ermittelt", :method =&gt; :post, :parameters =&gt; {:schadenssum =&gt; data.schadenssum} }, &lt;&lt;-end
41
- data.verssum = result.value.read
42
- end
43
- end
44
- end
45
- end
46
- alternative "data.schadensklasse == 'groß'" do
47
- call :a2, :c, { :label =&gt; "Versicherungssumme ermitteln", :method =&gt; :post, :parameters =&gt; {:schadenssum =&gt; data.schadenssum} }, &lt;&lt;-end
48
- data.verssum = result.value.read
49
- end
50
- call :a3, :e, { :label =&gt; "Schadenhistorie ermitteln", :method =&gt; :post, :parameters =&gt; nil }, &lt;&lt;-end
51
- schadenstxt = result.value.read
52
- end
53
- call :a4, :d, { :label =&gt; "Garage kontaktieren", :method =&gt; :post, :parameters =&gt; {:kontakt =&gt; data.kontakt} }, &lt;&lt;-end
54
- data.garage += result.value.read
55
- end
56
- end
57
- end
58
- call :a6, :f, { :label =&gt; "Entscheidung treffen", :method =&gt; :post, :parameters =&gt; nil }, &lt;&lt;-end
59
- data.ok_nok = result.value.read
60
- end
61
- choose :exclusive do
62
- alternative "data.ok_nok == 'nok'" do
63
- call :a15, nil, { :label =&gt; "Versicherung zahlt nicht", :method =&gt; nil, :type =&gt; :task, :mid =&gt; 'sid-1E7CC7E7-280E-4B1C-A859-E03799E53B90', :parameters =&gt; nil }
64
- end
65
- alternative "data.ok_nok == 'ok'" do
66
- call :a14, nil, { :label =&gt; "Versicherung muss zahlen", :method =&gt; nil, :type =&gt; :task, :mid =&gt; 'sid-12630957-9B4A-4253-8A95-8A0177317A40', :parameters =&gt; nil }
67
- end
68
- end
69
- call :a17, :g, { :label =&gt; "Entscheidung mitteilen", :method =&gt; nil, :parameters =&gt; {:stat =&gt; data.ok_nok, :email =&gt; data.email} }
70
- </dsl>
71
- <dslx>
72
- <description xmlns="http://cpee.org/ns/description/1.0">
73
- <call id="a8" endpoint="a" svg-label="Schadensmeldung registrieren">
74
- <parameters>
75
- <label>"Schadensmeldung registrieren"</label>
76
- <method>:post</method>
77
- <parameters/>
78
- </parameters>
79
- <manipulate>data.versname = result.find('string(/a/versname)')
80
- data.versnr = result.find('string(/a/versnr)')
81
- data.email = result.find('string(/a/email)')
82
- data.garage = result.find('string(/a/garage)')
83
- data.schadenssum = result.find('string(/a/schadenssum)')</manipulate>
84
- </call>
85
- <call id="a1" endpoint="b" svg-label="Schaden klassifizieren">
86
- <parameters>
87
- <label>"Schaden klassifizieren"</label>
88
- <method>:post</method>
89
- <parameters>
90
- <vname>data.versname</vname>
91
- </parameters>
92
- </parameters>
93
- <manipulate>data.schadensklasse = result.value.read</manipulate>
94
- </call>
95
- <choose mode="exclusive" svg-label="">
96
- <alternative condition="data.schadensklasse == 'gering'" svg-label="">
97
- <parallel wait="-1" svg-label="">
98
- <parallel_branch svg-label="">
99
- <call id="a7" endpoint="d" svg-label="Garage kontaktiert">
100
- <parameters>
101
- <label>"Garage kontaktiert"</label>
102
- <method>:post</method>
103
- <parameters/>
104
- </parameters>
105
- <manipulate>data.garage += result.value.read</manipulate>
106
- </call>
107
- </parallel_branch>
108
- <parallel_branch svg-label="">
109
- <call id="a5" endpoint="c" svg-label="Versicherungssumme ermittelt">
110
- <parameters>
111
- <label>"Versicherungssumme ermittelt"</label>
112
- <method>:post</method>
113
- <parameters>
114
- <schadenssum>data.schadenssum</schadenssum>
115
- </parameters>
116
- </parameters>
117
- <manipulate>data.verssum = result.value.read</manipulate>
118
- </call>
119
- </parallel_branch>
120
- </parallel>
121
- </alternative>
122
- <alternative condition="data.schadensklasse == 'gro&#xDF;'" svg-label="">
123
- <call id="a2" endpoint="c" svg-label="Versicherungssumme ermitteln">
124
- <parameters>
125
- <label>"Versicherungssumme ermitteln"</label>
126
- <method>:post</method>
127
- <parameters>
128
- <schadenssum>data.schadenssum</schadenssum>
129
- </parameters>
130
- </parameters>
131
- <manipulate>data.verssum = result.value.read</manipulate>
132
- </call>
133
- <call id="a3" endpoint="e" svg-label="Schadenhistorie ermitteln">
134
- <parameters>
135
- <label>"Schadenhistorie ermitteln"</label>
136
- <method>:post</method>
137
- <parameters/>
138
- </parameters>
139
- <manipulate>schadenstxt = result.value.read</manipulate>
140
- </call>
141
- <call id="a4" endpoint="d" svg-label="Garage kontaktieren">
142
- <parameters>
143
- <label>"Garage kontaktieren"</label>
144
- <method>:post</method>
145
- <parameters>
146
- <kontakt>data.kontakt</kontakt>
147
- </parameters>
148
- </parameters>
149
- <manipulate>data.garage += result.value.read</manipulate>
150
- </call>
151
- </alternative>
152
- </choose>
153
- <call id="a6" endpoint="f">
154
- <parameters>
155
- <label>"Entscheidung treffen"</label>
156
- <method>:post</method>
157
- <parameters/>
158
- </parameters>
159
- <manipulate>data.ok_nok = result.value.read</manipulate>
160
- </call>
161
- <choose mode="exclusive" svg-label="">
162
- <alternative condition="data.ok_nok == 'nok'">
163
- <call id="a15" endpoint="" svg-label="Versicherung zahlt nicht">
164
- <parameters>
165
- <label>"Versicherung zahlt nicht"</label>
166
- <method/>
167
- <type>:task</type>
168
- <mid>'sid-1E7CC7E7-280E-4B1C-A859-E03799E53B90'</mid>
169
- <parameters/>
170
- </parameters>
171
- </call>
172
- </alternative>
173
- <alternative condition="data.ok_nok == 'ok'">
174
- <call id="a14" endpoint="" svg-label="Versicherung muss zahlen">
175
- <parameters>
176
- <label>"Versicherung muss zahlen"</label>
177
- <method/>
178
- <type>:task</type>
179
- <mid>'sid-12630957-9B4A-4253-8A95-8A0177317A40'</mid>
180
- <parameters/>
181
- </parameters>
182
- </call>
183
- </alternative>
184
- </choose>
185
- <call id="a17" endpoint="g">
186
- <parameters>
187
- <label>"Entscheidung mitteilen"</label>
188
- <method/>
189
- <parameters>
190
- <stat>data.ok_nok</stat>
191
- <email>data.email</email>
192
- </parameters>
193
- </parameters>
194
- </call>
195
- </description>
196
- </dslx>
197
- <status>
198
- <id>0</id>
199
- <message>undefined</message>
200
- </status>
201
- <description>
202
- <description xmlns="http://cpee.org/ns/description/1.0">
203
- <call id="a8" endpoint="a" svg-label="Schadensmeldung registrieren">
204
- <parameters>
205
- <label>"Schadensmeldung registrieren"</label>
206
- <method>:post</method>
207
- <parameters/>
208
- </parameters>
209
- <manipulate>data.versname = result.find('string(/a/versname)')
210
- data.versnr = result.find('string(/a/versnr)')
211
- data.email = result.find('string(/a/email)')
212
- data.garage = result.find('string(/a/garage)')
213
- data.schadenssum = result.find('string(/a/schadenssum)')</manipulate>
214
- </call>
215
- <call id="a1" endpoint="b" svg-label="Schaden klassifizieren">
216
- <parameters>
217
- <label>"Schaden klassifizieren"</label>
218
- <method>:post</method>
219
- <parameters>
220
- <vname>data.versname</vname>
221
- </parameters>
222
- </parameters>
223
- <manipulate>data.schadensklasse = result.value.read</manipulate>
224
- </call>
225
- <choose mode="exclusive" svg-label="">
226
- <alternative condition="data.schadensklasse == 'gering'" svg-label="">
227
- <parallel wait="-1" svg-label="">
228
- <parallel_branch svg-label="">
229
- <call id="a7" endpoint="d" svg-label="Garage kontaktiert">
230
- <parameters>
231
- <label>"Garage kontaktiert"</label>
232
- <method>:post</method>
233
- <parameters/>
234
- </parameters>
235
- <manipulate>data.garage += result.value.read</manipulate>
236
- </call>
237
- </parallel_branch>
238
- <parallel_branch svg-label="">
239
- <call id="a5" endpoint="c" svg-label="Versicherungssumme ermittelt">
240
- <parameters>
241
- <label>"Versicherungssumme ermittelt"</label>
242
- <method>:post</method>
243
- <parameters>
244
- <schadenssum>data.schadenssum</schadenssum>
245
- </parameters>
246
- </parameters>
247
- <manipulate>data.verssum = result.value.read</manipulate>
248
- </call>
249
- </parallel_branch>
250
- </parallel>
251
- </alternative>
252
- <alternative condition="data.schadensklasse == 'gro&#xDF;'" svg-label="">
253
- <call id="a2" endpoint="c" svg-label="Versicherungssumme ermitteln">
254
- <parameters>
255
- <label>"Versicherungssumme ermitteln"</label>
256
- <method>:post</method>
257
- <parameters>
258
- <schadenssum>data.schadenssum</schadenssum>
259
- </parameters>
260
- </parameters>
261
- <manipulate>data.verssum = result.value.read</manipulate>
262
- </call>
263
- <call id="a3" endpoint="e" svg-label="Schadenhistorie ermitteln">
264
- <parameters>
265
- <label>"Schadenhistorie ermitteln"</label>
266
- <method>:post</method>
267
- <parameters/>
268
- </parameters>
269
- <manipulate>schadenstxt = result.value.read</manipulate>
270
- </call>
271
- <call id="a4" endpoint="d" svg-label="Garage kontaktieren">
272
- <parameters>
273
- <label>"Garage kontaktieren"</label>
274
- <method>:post</method>
275
- <parameters>
276
- <kontakt>data.kontakt</kontakt>
277
- </parameters>
278
- </parameters>
279
- <manipulate>data.garage += result.value.read</manipulate>
280
- </call>
281
- </alternative>
282
- </choose>
283
- <call id="a6" endpoint="f">
284
- <parameters>
285
- <label>"Entscheidung treffen"</label>
286
- <method>:post</method>
287
- <parameters/>
288
- </parameters>
289
- <manipulate>data.ok_nok = result.value.read</manipulate>
290
- </call>
291
- <choose mode="exclusive" svg-label="">
292
- <alternative condition="data.ok_nok == 'nok'">
293
- <call id="a15" endpoint="" svg-label="Versicherung zahlt nicht">
294
- <parameters>
295
- <label>"Versicherung zahlt nicht"</label>
296
- <method/>
297
- <type>:task</type>
298
- <mid>'sid-1E7CC7E7-280E-4B1C-A859-E03799E53B90'</mid>
299
- <parameters/>
300
- </parameters>
301
- </call>
302
- </alternative>
303
- <alternative condition="data.ok_nok == 'ok'">
304
- <call id="a14" endpoint="" svg-label="Versicherung muss zahlen">
305
- <parameters>
306
- <label>"Versicherung muss zahlen"</label>
307
- <method/>
308
- <type>:task</type>
309
- <mid>'sid-12630957-9B4A-4253-8A95-8A0177317A40'</mid>
310
- <parameters/>
311
- </parameters>
312
- </call>
313
- </alternative>
314
- </choose>
315
- <call id="a17" endpoint="g">
316
- <parameters>
317
- <label>"Entscheidung mitteilen"</label>
318
- <method/>
319
- <parameters>
320
- <stat>data.ok_nok</stat>
321
- <email>data.email</email>
322
- </parameters>
323
- </parameters>
324
- </call>
325
- </description>
326
- </description>
327
- <transformation>
328
- <description type="copy"/>
329
- <dataelements type="rest"/>
330
- <endpoints type="rest"/>
331
- </transformation>
332
- </properties>