cpee 1.3.174 → 1.3.175
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -6
- data/cockpit/js/instance.js +15 -0
- data/cpee.gemspec +1 -1
- data/lib/cpee/controller.rb +9 -0
- data/lib/cpee/handler_properties.rb +2 -0
- data/server/instances/1/properties.xml +101 -69
- data/server/instances/10/properties.xml +70 -106
- data/server/instances/11/properties.xml +73 -133
- data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/consumer-secret +1 -0
- data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/producer-secret +1 -0
- data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/subscription.xml +6 -0
- data/server/instances/12/properties.xml +0 -1
- data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/consumer-secret +1 -0
- data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/producer-secret +1 -0
- data/server/instances/{14/notifications/5bcce90b170116a77fb25aea4e133acc → 13/notifications/4ff0cde5161c44dae49b263cbc12eaf8}/subscription.xml +0 -0
- data/server/instances/14/properties.xml +160 -160
- data/server/instances/15/properties.xml +314 -28
- data/server/instances/16/properties.xml +249 -28
- data/server/instances/17/properties.xml +130 -28
- data/server/instances/18/properties.xml +2 -3
- data/server/instances/19/properties.xml +1 -0
- data/server/instances/2/properties.xml +44 -191
- data/server/instances/3/properties.xml +44 -70
- data/server/instances/4/properties.xml +68 -28
- data/server/instances/5/properties.xml +70 -10
- data/server/instances/6/properties.xml +55 -175
- data/server/instances/7/properties.xml +52 -118
- data/server/instances/8/properties.xml +50 -112
- data/server/instances/9/properties.xml +47 -115
- metadata +117 -131
- data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/consumer-secret +0 -1
- data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/producer-secret +0 -1
- data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/subscription.xml +0 -27
- data/server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/consumer-secret +0 -1
- data/server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/producer-secret +0 -1
- data/server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/subscription.xml +0 -33
- data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/consumer-secret +0 -1
- data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/producer-secret +0 -1
- data/server/instances/20/properties.xml +0 -46
- data/server/instances/21/properties.xml +0 -46
- data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/consumer-secret +0 -1
- data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/producer-secret +0 -1
- data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/subscription.xml +0 -23
- data/server/instances/22/properties.xml +0 -112
- data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/consumer-secret +0 -1
- data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/producer-secret +0 -1
- data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/subscription.xml +0 -23
- data/server/instances/23/properties.xml +0 -148
- data/server/server.pid +0 -1
@@ -1,93 +1,62 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<info
|
3
|
-
<state>
|
2
|
+
<info/>
|
3
|
+
<state>ready</state>
|
4
4
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
-
<positions
|
6
|
-
|
5
|
+
<positions>
|
6
|
+
<a1>after</a1>
|
7
|
+
</positions>
|
8
|
+
<dataelements>
|
9
|
+
<x/>
|
10
|
+
</dataelements>
|
7
11
|
<endpoints>
|
8
12
|
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
9
13
|
</endpoints>
|
10
|
-
<dsl>
|
11
|
-
|
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
|
14
|
+
<dsl>call :a1, :timeout, { :method => "post", :parameters => { :timeout => 2 } }, <<-end
|
15
|
+
data.x += "a1,"
|
17
16
|
end
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
call :a3, :ADVENTURE_SPAWN, { :label => "Spawn self", :type => :spawn, :mid => "_DEF002B1-0593-4693-8AD7-48B983E5AFAE", :parameters => {:instance => "53cd4af1e4b0207100d2266e"} }
|
17
|
+
call :a2, :timeout, { :method => "post", :parameters => { :timeout => 4 } }, <<-end
|
18
|
+
data.x += "a2,"
|
19
|
+
end
|
20
|
+
call :a3, :timeout, { :method => "post", :parameters => { :timeout => 4 } }, <<-end
|
21
|
+
data.x += "a3,"
|
24
22
|
end
|
25
23
|
</dsl>
|
26
24
|
<dslx>
|
27
25
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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">
|
26
|
+
<!--{{{-->
|
27
|
+
<call id="a1" endpoint="timeout">
|
28
|
+
<parameters>
|
29
|
+
<!--{{{-->
|
30
|
+
<method>post</method>
|
52
31
|
<parameters>
|
53
|
-
<
|
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>
|
32
|
+
<timeout>2</timeout>
|
62
33
|
</parameters>
|
63
|
-
|
64
|
-
|
65
|
-
<
|
34
|
+
</parameters>
|
35
|
+
<!--}}}-->
|
36
|
+
<manipulate output="result"> data.x += "a1,"</manipulate>
|
37
|
+
</call>
|
38
|
+
<call id="a2" endpoint="timeout">
|
39
|
+
<parameters>
|
40
|
+
<!--{{{-->
|
41
|
+
<method>post</method>
|
66
42
|
<parameters>
|
67
|
-
<
|
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>
|
43
|
+
<timeout>4</timeout>
|
78
44
|
</parameters>
|
79
|
-
</
|
80
|
-
|
45
|
+
</parameters>
|
46
|
+
<!--}}}-->
|
47
|
+
<manipulate output="result"> data.x += "a2,"</manipulate>
|
48
|
+
</call>
|
49
|
+
<call id="a3" endpoint="timeout">
|
50
|
+
<parameters>
|
51
|
+
<!--{{{-->
|
52
|
+
<method>post</method>
|
81
53
|
<parameters>
|
82
|
-
<
|
83
|
-
<type>:spawn</type>
|
84
|
-
<mid>"_DEF002B1-0593-4693-8AD7-48B983E5AFAE"</mid>
|
85
|
-
<parameters>
|
86
|
-
<instance>"53cd4af1e4b0207100d2266e"</instance>
|
87
|
-
</parameters>
|
54
|
+
<timeout>4</timeout>
|
88
55
|
</parameters>
|
89
|
-
</
|
90
|
-
|
56
|
+
</parameters>
|
57
|
+
<!--}}}-->
|
58
|
+
<manipulate output="result"> data.x += "a3,"</manipulate>
|
59
|
+
</call>
|
91
60
|
</description>
|
92
61
|
</dslx>
|
93
62
|
<status>
|
@@ -96,74 +65,45 @@ end
|
|
96
65
|
</status>
|
97
66
|
<description>
|
98
67
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
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">
|
68
|
+
<!--{{{-->
|
69
|
+
<call id="a1" endpoint="timeout">
|
70
|
+
<parameters>
|
71
|
+
<!--{{{-->
|
72
|
+
<method>post</method>
|
123
73
|
<parameters>
|
124
|
-
<
|
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>
|
74
|
+
<timeout>2</timeout>
|
133
75
|
</parameters>
|
134
|
-
|
135
|
-
|
136
|
-
<
|
76
|
+
</parameters>
|
77
|
+
<!--}}}-->
|
78
|
+
<manipulate output="result"> data.x += "a1,"</manipulate>
|
79
|
+
</call>
|
80
|
+
<call id="a2" endpoint="timeout">
|
81
|
+
<parameters>
|
82
|
+
<!--{{{-->
|
83
|
+
<method>post</method>
|
137
84
|
<parameters>
|
138
|
-
<
|
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>
|
85
|
+
<timeout>4</timeout>
|
149
86
|
</parameters>
|
150
|
-
</
|
151
|
-
|
87
|
+
</parameters>
|
88
|
+
<!--}}}-->
|
89
|
+
<manipulate output="result"> data.x += "a2,"</manipulate>
|
90
|
+
</call>
|
91
|
+
<call id="a3" endpoint="timeout">
|
92
|
+
<parameters>
|
93
|
+
<!--{{{-->
|
94
|
+
<method>post</method>
|
152
95
|
<parameters>
|
153
|
-
<
|
154
|
-
<type>:spawn</type>
|
155
|
-
<mid>"_DEF002B1-0593-4693-8AD7-48B983E5AFAE"</mid>
|
156
|
-
<parameters>
|
157
|
-
<instance>"53cd4af1e4b0207100d2266e"</instance>
|
158
|
-
</parameters>
|
96
|
+
<timeout>4</timeout>
|
159
97
|
</parameters>
|
160
|
-
</
|
161
|
-
|
98
|
+
</parameters>
|
99
|
+
<!--}}}-->
|
100
|
+
<manipulate output="result"> data.x += "a3,"</manipulate>
|
101
|
+
</call>
|
162
102
|
</description>
|
163
103
|
</description>
|
164
104
|
<transformation>
|
165
105
|
<description type="copy"/>
|
166
|
-
<dataelements type="
|
167
|
-
<endpoints type="
|
106
|
+
<dataelements type="rest"/>
|
107
|
+
<endpoints type="rest"/>
|
168
108
|
</transformation>
|
169
109
|
</properties>
|
@@ -0,0 +1 @@
|
|
1
|
+
0e75e4db991d6813d7de681ee6b9fea4
|
@@ -0,0 +1 @@
|
|
1
|
+
c930199225b287dc2a307b5b7e0bf174
|
@@ -0,0 +1 @@
|
|
1
|
+
b142e32c0cce98ba0b78d37e035b6100
|
@@ -0,0 +1 @@
|
|
1
|
+
d53e3eeadcf6badf5c37c324836bd381
|
File without changes
|
@@ -1,194 +1,197 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
2
|
<info>Enter info here</info>
|
3
3
|
<properties/>
|
4
|
-
<state>
|
4
|
+
<state>stopped</state>
|
5
5
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
6
|
-
<positions
|
6
|
+
<positions>
|
7
|
+
<a2>after</a2>
|
8
|
+
</positions>
|
7
9
|
<dataelements>
|
8
|
-
<
|
9
|
-
<
|
10
|
-
<
|
11
|
-
<
|
12
|
-
<
|
13
|
-
<
|
14
|
-
<
|
10
|
+
<name>Milos</name>
|
11
|
+
<vnr>3456</vnr>
|
12
|
+
<email>a1346963@unet.univie.ac.at</email>
|
13
|
+
<garage>TaCfQzDhNF</garage>
|
14
|
+
<schadensumme>7401</schadensumme>
|
15
|
+
<schaden>gering</schaden>
|
16
|
+
<versicherungssumme>dummy</versicherungssumme>
|
17
|
+
<historie>dummy</historie>
|
18
|
+
<entscheidung>dummy</entscheidung>
|
15
19
|
</dataelements>
|
16
20
|
<endpoints>
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
21
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
22
|
+
<a>http://wwwlab.cs.univie.ac.at/~a1100570/a.php</a>
|
23
|
+
<b>http://wwwlab.cs.univie.ac.at/~a1100570/b.php</b>
|
24
|
+
<c>http://wwwlab.cs.univie.ac.at/~a1100570/c.php</c>
|
25
|
+
<d>http://wwwlab.cs.univie.ac.at/~a1100570/d.php</d>
|
26
|
+
<e>http://wwwlab.cs.univie.ac.at/~a1100570/e.php</e>
|
27
|
+
<f>http://wwwlab.cs.univie.ac.at/~a1100570/f.php</f>
|
28
|
+
<g>http://wwwlab.cs.univie.ac.at/~a1100570/g.php</g>
|
20
29
|
</endpoints>
|
21
|
-
<dsl>call :
|
22
|
-
data.
|
23
|
-
data.
|
24
|
-
data.email
|
25
|
-
data.garage
|
26
|
-
data.
|
30
|
+
<dsl>call :a1, :a, { :label => "Schadenmeldung registrieren", :method => :get, :parameters => nil }, <<-end
|
31
|
+
data.name=result['name']
|
32
|
+
data.vnr=result['vnr']
|
33
|
+
data.email=result['email']
|
34
|
+
data.garage=result['garage']
|
35
|
+
data.schadensumme=result['schadensumme']
|
27
36
|
end
|
28
|
-
call :
|
29
|
-
data.
|
37
|
+
call :a2, :b, { :label => "Schadenmeldung klassifizieren", :method => :post, :parameters => {:name => data.name} }, <<-end
|
38
|
+
data.schaden=result['groesse']
|
39
|
+
p 'riririr'
|
30
40
|
end
|
41
|
+
p 'hahaha'
|
31
42
|
choose :exclusive do
|
32
|
-
alternative "data.
|
33
|
-
parallel
|
43
|
+
alternative "data.schaden=='gering'", :svg-label => "" do
|
44
|
+
parallel do
|
34
45
|
parallel_branch do
|
35
|
-
call :
|
36
|
-
data.
|
46
|
+
call :a3, :c, { :label => "Versicherungssumme ermitteln", :method => :post, :parameters => {:schadengroesse => data.schadensumme} }, <<-end
|
47
|
+
data.versicherungssumme=result['versicherungssumme']
|
37
48
|
end
|
38
49
|
end
|
39
50
|
parallel_branch do
|
40
|
-
call :
|
41
|
-
data.verssum = result.value.read
|
42
|
-
end
|
51
|
+
call :a4, :d, { :label => "Garage kontaktieren", :method => :post, :parameters => {:garage => data.garage, :email => data.email, :name => data.name} }
|
43
52
|
end
|
44
53
|
end
|
45
54
|
end
|
46
|
-
|
47
|
-
call :
|
48
|
-
data.
|
49
|
-
end
|
50
|
-
call :a3, :e, { :label => "Schadenhistorie ermitteln", :method => :post, :parameters => nil }, <<-end
|
51
|
-
schadenstxt = result.value.read
|
55
|
+
otherwise :svg-label => "" do
|
56
|
+
call :a5, :c, { :label => "Versicherungssumme ermitteln", :method => :post, :parameters => {:schadengroesse => data.schadensumme} }, <<-end
|
57
|
+
data.versicherungssumme=result['versicherungssumme']
|
52
58
|
end
|
53
|
-
call :
|
54
|
-
data.
|
59
|
+
call :a6, :e, { :label => "Versicherungshistorie ermitteln", :method => :post, :parameters => {:schaden => data.schaden} }, <<-end
|
60
|
+
data.historie=result['text']
|
55
61
|
end
|
62
|
+
call :a7, :d, { :label => "Garage kontaktieren", :method => :post, :parameters => {:garage => data.garage, :name => data.name, :email => data.email} }
|
56
63
|
end
|
57
64
|
end
|
58
|
-
call :
|
59
|
-
data.
|
65
|
+
call :a8, :f, { :label => "Entscheidung treffen", :method => :get, :parameters => nil }, <<-end
|
66
|
+
data.entscheidung=result['ok']
|
60
67
|
end
|
61
68
|
choose :exclusive do
|
62
|
-
alternative "
|
63
|
-
call :
|
69
|
+
alternative "entscheidung='OK'", :svg-label => "" do
|
70
|
+
call :a10, :timeout, { :label => "Zahlen", :method => :post, :parameters => {:timeout => 3} }
|
64
71
|
end
|
65
|
-
|
66
|
-
call :a14, nil, { :label => "Versicherung muss zahlen", :method => nil, :type => :task, :mid => 'sid-12630957-9B4A-4253-8A95-8A0177317A40', :parameters => nil }
|
72
|
+
otherwise :svg-label => "" do
|
67
73
|
end
|
68
74
|
end
|
69
|
-
call :
|
75
|
+
call :a9, :g, { :label => "Entscheidung mitteilen", :method => :post, :parameters => {:name => data.name, :email => data.email, :body => data.entscheidung} }
|
70
76
|
</dsl>
|
71
77
|
<dslx>
|
72
78
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
73
|
-
<call id="
|
79
|
+
<call id="a1" endpoint="a" svg-label="Schadenmeldung registrieren">
|
74
80
|
<parameters>
|
75
|
-
<label>"
|
76
|
-
<method>:
|
81
|
+
<label>"Schadenmeldung registrieren"</label>
|
82
|
+
<method>:get</method>
|
77
83
|
<parameters/>
|
78
84
|
</parameters>
|
79
|
-
<manipulate>data.
|
80
|
-
data.
|
81
|
-
data.email
|
82
|
-
data.garage
|
83
|
-
data.
|
85
|
+
<manipulate>data.name=result['name']
|
86
|
+
data.vnr=result['vnr']
|
87
|
+
data.email=result['email']
|
88
|
+
data.garage=result['garage']
|
89
|
+
data.schadensumme=result['schadensumme']</manipulate>
|
84
90
|
</call>
|
85
|
-
<call id="
|
91
|
+
<call id="a2" endpoint="b" svg-label="Schadenmeldung klassifizieren">
|
86
92
|
<parameters>
|
87
|
-
<label>"
|
93
|
+
<label>"Schadenmeldung klassifizieren"</label>
|
88
94
|
<method>:post</method>
|
89
95
|
<parameters>
|
90
|
-
<
|
96
|
+
<name>data.name</name>
|
91
97
|
</parameters>
|
92
98
|
</parameters>
|
93
|
-
<manipulate>data.
|
99
|
+
<manipulate>data.schaden=result['groesse']</manipulate>
|
94
100
|
</call>
|
95
101
|
<choose mode="exclusive" svg-label="">
|
96
|
-
<alternative condition="data.
|
97
|
-
<parallel
|
102
|
+
<alternative condition="data.schaden='gering'" svg-label="">
|
103
|
+
<parallel svg-label="">
|
98
104
|
<parallel_branch svg-label="">
|
99
|
-
<call id="
|
105
|
+
<call id="a3" endpoint="c" svg-label="Versicherungssumme ermitteln">
|
100
106
|
<parameters>
|
101
|
-
<label>"
|
107
|
+
<label>"Versicherungssumme ermitteln"</label>
|
102
108
|
<method>:post</method>
|
103
|
-
<parameters
|
109
|
+
<parameters>
|
110
|
+
<schadengroesse>data.schadensumme</schadengroesse>
|
111
|
+
</parameters>
|
104
112
|
</parameters>
|
105
|
-
<manipulate>data.
|
113
|
+
<manipulate>data.versicherungssumme=result['versicherungssumme']</manipulate>
|
106
114
|
</call>
|
107
115
|
</parallel_branch>
|
108
116
|
<parallel_branch svg-label="">
|
109
|
-
<call id="
|
117
|
+
<call id="a4" endpoint="d" svg-label="Garage kontaktieren">
|
110
118
|
<parameters>
|
111
|
-
<label>"
|
119
|
+
<label>"Garage kontaktieren"</label>
|
112
120
|
<method>:post</method>
|
113
121
|
<parameters>
|
114
|
-
<
|
122
|
+
<garage>data.garage</garage>
|
123
|
+
<email>data.email</email>
|
124
|
+
<name>data.name</name>
|
115
125
|
</parameters>
|
116
126
|
</parameters>
|
117
|
-
<manipulate>data.verssum = result.value.read</manipulate>
|
118
127
|
</call>
|
119
128
|
</parallel_branch>
|
120
129
|
</parallel>
|
121
130
|
</alternative>
|
122
|
-
<
|
123
|
-
<call id="
|
131
|
+
<otherwise svg-label="">
|
132
|
+
<call id="a5" endpoint="c" svg-label="Versicherungssumme ermitteln">
|
124
133
|
<parameters>
|
125
134
|
<label>"Versicherungssumme ermitteln"</label>
|
126
135
|
<method>:post</method>
|
127
136
|
<parameters>
|
128
|
-
<
|
137
|
+
<schadengroesse>data.schadensumme</schadengroesse>
|
129
138
|
</parameters>
|
130
139
|
</parameters>
|
131
|
-
<manipulate>data.
|
140
|
+
<manipulate>data.versicherungssumme=result['versicherungssumme']</manipulate>
|
132
141
|
</call>
|
133
|
-
<call id="
|
142
|
+
<call id="a6" endpoint="e" svg-label="Versicherungshistorie ermitteln">
|
134
143
|
<parameters>
|
135
|
-
<label>"
|
144
|
+
<label>"Versicherungshistorie ermitteln"</label>
|
136
145
|
<method>:post</method>
|
137
|
-
<parameters
|
146
|
+
<parameters>
|
147
|
+
<schaden>data.schaden</schaden>
|
148
|
+
</parameters>
|
138
149
|
</parameters>
|
139
|
-
<manipulate>
|
150
|
+
<manipulate>data.historie=result['text']</manipulate>
|
140
151
|
</call>
|
141
|
-
<call id="
|
152
|
+
<call id="a7" endpoint="d" svg-label="Garage kontaktieren">
|
142
153
|
<parameters>
|
143
154
|
<label>"Garage kontaktieren"</label>
|
144
155
|
<method>:post</method>
|
145
156
|
<parameters>
|
146
|
-
<
|
157
|
+
<garage>data.garage</garage>
|
158
|
+
<name>data.name</name>
|
159
|
+
<email>data.email</email>
|
147
160
|
</parameters>
|
148
161
|
</parameters>
|
149
|
-
<manipulate>data.garage += result.value.read</manipulate>
|
150
162
|
</call>
|
151
|
-
</
|
163
|
+
</otherwise>
|
152
164
|
</choose>
|
153
|
-
<call id="
|
165
|
+
<call id="a8" endpoint="f">
|
154
166
|
<parameters>
|
155
167
|
<label>"Entscheidung treffen"</label>
|
156
|
-
<method>:
|
168
|
+
<method>:get</method>
|
157
169
|
<parameters/>
|
158
170
|
</parameters>
|
159
|
-
<manipulate>data.
|
171
|
+
<manipulate>data.entscheidung=result['ok']</manipulate>
|
160
172
|
</call>
|
161
173
|
<choose mode="exclusive" svg-label="">
|
162
|
-
<alternative condition="
|
163
|
-
<call id="
|
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">
|
174
|
+
<alternative condition="entscheidung='OK'" svg-label="">
|
175
|
+
<call id="a10" endpoint="timeout" svg-label="Zahlen">
|
175
176
|
<parameters>
|
176
|
-
<label>"
|
177
|
-
<method
|
178
|
-
<
|
179
|
-
|
180
|
-
|
177
|
+
<label>"Zahlen"</label>
|
178
|
+
<method>:post</method>
|
179
|
+
<parameters>
|
180
|
+
<timeout>3</timeout>
|
181
|
+
</parameters>
|
181
182
|
</parameters>
|
182
183
|
</call>
|
183
184
|
</alternative>
|
185
|
+
<otherwise svg-label=""/>
|
184
186
|
</choose>
|
185
|
-
<call id="
|
187
|
+
<call id="a9" endpoint="g" svg-label="Entscheidung mitteilen">
|
186
188
|
<parameters>
|
187
189
|
<label>"Entscheidung mitteilen"</label>
|
188
|
-
<method
|
190
|
+
<method>:post</method>
|
189
191
|
<parameters>
|
190
|
-
<
|
192
|
+
<name>data.name</name>
|
191
193
|
<email>data.email</email>
|
194
|
+
<body>data.entscheidung</body>
|
192
195
|
</parameters>
|
193
196
|
</parameters>
|
194
197
|
</call>
|
@@ -200,125 +203,122 @@ data.schadenssum = result.find('string(/a/schadenssum)')</manipulate>
|
|
200
203
|
</status>
|
201
204
|
<description>
|
202
205
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
203
|
-
<call id="
|
206
|
+
<call id="a1" endpoint="a" svg-label="Schadenmeldung registrieren">
|
204
207
|
<parameters>
|
205
|
-
<label>"
|
206
|
-
<method>:
|
208
|
+
<label>"Schadenmeldung registrieren"</label>
|
209
|
+
<method>:get</method>
|
207
210
|
<parameters/>
|
208
211
|
</parameters>
|
209
|
-
<manipulate>data.
|
210
|
-
data.
|
211
|
-
data.email
|
212
|
-
data.garage
|
213
|
-
data.
|
212
|
+
<manipulate>data.name=result['name']
|
213
|
+
data.vnr=result['vnr']
|
214
|
+
data.email=result['email']
|
215
|
+
data.garage=result['garage']
|
216
|
+
data.schadensumme=result['schadensumme']</manipulate>
|
214
217
|
</call>
|
215
|
-
<call id="
|
218
|
+
<call id="a2" endpoint="b" svg-label="Schadenmeldung klassifizieren">
|
216
219
|
<parameters>
|
217
|
-
<label>"
|
220
|
+
<label>"Schadenmeldung klassifizieren"</label>
|
218
221
|
<method>:post</method>
|
219
222
|
<parameters>
|
220
|
-
<
|
223
|
+
<name>data.name</name>
|
221
224
|
</parameters>
|
222
225
|
</parameters>
|
223
|
-
<manipulate>data.
|
226
|
+
<manipulate>data.schaden=result['groesse']</manipulate>
|
224
227
|
</call>
|
225
228
|
<choose mode="exclusive" svg-label="">
|
226
|
-
<alternative condition="data.
|
227
|
-
<parallel
|
229
|
+
<alternative condition="data.schaden='gering'" svg-label="">
|
230
|
+
<parallel svg-label="">
|
228
231
|
<parallel_branch svg-label="">
|
229
|
-
<call id="
|
232
|
+
<call id="a3" endpoint="c" svg-label="Versicherungssumme ermitteln">
|
230
233
|
<parameters>
|
231
|
-
<label>"
|
234
|
+
<label>"Versicherungssumme ermitteln"</label>
|
232
235
|
<method>:post</method>
|
233
|
-
<parameters
|
236
|
+
<parameters>
|
237
|
+
<schadengroesse>data.schadensumme</schadengroesse>
|
238
|
+
</parameters>
|
234
239
|
</parameters>
|
235
|
-
<manipulate>data.
|
240
|
+
<manipulate>data.versicherungssumme=result['versicherungssumme']</manipulate>
|
236
241
|
</call>
|
237
242
|
</parallel_branch>
|
238
243
|
<parallel_branch svg-label="">
|
239
|
-
<call id="
|
244
|
+
<call id="a4" endpoint="d" svg-label="Garage kontaktieren">
|
240
245
|
<parameters>
|
241
|
-
<label>"
|
246
|
+
<label>"Garage kontaktieren"</label>
|
242
247
|
<method>:post</method>
|
243
248
|
<parameters>
|
244
|
-
<
|
249
|
+
<garage>data.garage</garage>
|
250
|
+
<email>data.email</email>
|
251
|
+
<name>data.name</name>
|
245
252
|
</parameters>
|
246
253
|
</parameters>
|
247
|
-
<manipulate>data.verssum = result.value.read</manipulate>
|
248
254
|
</call>
|
249
255
|
</parallel_branch>
|
250
256
|
</parallel>
|
251
257
|
</alternative>
|
252
|
-
<
|
253
|
-
<call id="
|
258
|
+
<otherwise svg-label="">
|
259
|
+
<call id="a5" endpoint="c" svg-label="Versicherungssumme ermitteln">
|
254
260
|
<parameters>
|
255
261
|
<label>"Versicherungssumme ermitteln"</label>
|
256
262
|
<method>:post</method>
|
257
263
|
<parameters>
|
258
|
-
<
|
264
|
+
<schadengroesse>data.schadensumme</schadengroesse>
|
259
265
|
</parameters>
|
260
266
|
</parameters>
|
261
|
-
<manipulate>data.
|
267
|
+
<manipulate>data.versicherungssumme=result['versicherungssumme']</manipulate>
|
262
268
|
</call>
|
263
|
-
<call id="
|
269
|
+
<call id="a6" endpoint="e" svg-label="Versicherungshistorie ermitteln">
|
264
270
|
<parameters>
|
265
|
-
<label>"
|
271
|
+
<label>"Versicherungshistorie ermitteln"</label>
|
266
272
|
<method>:post</method>
|
267
|
-
<parameters
|
273
|
+
<parameters>
|
274
|
+
<schaden>data.schaden</schaden>
|
275
|
+
</parameters>
|
268
276
|
</parameters>
|
269
|
-
<manipulate>
|
277
|
+
<manipulate>data.historie=result['text']</manipulate>
|
270
278
|
</call>
|
271
|
-
<call id="
|
279
|
+
<call id="a7" endpoint="d" svg-label="Garage kontaktieren">
|
272
280
|
<parameters>
|
273
281
|
<label>"Garage kontaktieren"</label>
|
274
282
|
<method>:post</method>
|
275
283
|
<parameters>
|
276
|
-
<
|
284
|
+
<garage>data.garage</garage>
|
285
|
+
<name>data.name</name>
|
286
|
+
<email>data.email</email>
|
277
287
|
</parameters>
|
278
288
|
</parameters>
|
279
|
-
<manipulate>data.garage += result.value.read</manipulate>
|
280
289
|
</call>
|
281
|
-
</
|
290
|
+
</otherwise>
|
282
291
|
</choose>
|
283
|
-
<call id="
|
292
|
+
<call id="a8" endpoint="f">
|
284
293
|
<parameters>
|
285
294
|
<label>"Entscheidung treffen"</label>
|
286
|
-
<method>:
|
295
|
+
<method>:get</method>
|
287
296
|
<parameters/>
|
288
297
|
</parameters>
|
289
|
-
<manipulate>data.
|
298
|
+
<manipulate>data.entscheidung=result['ok']</manipulate>
|
290
299
|
</call>
|
291
300
|
<choose mode="exclusive" svg-label="">
|
292
|
-
<alternative condition="
|
293
|
-
<call id="
|
301
|
+
<alternative condition="entscheidung='OK'" svg-label="">
|
302
|
+
<call id="a10" endpoint="timeout" svg-label="Zahlen">
|
294
303
|
<parameters>
|
295
|
-
<label>"
|
296
|
-
<method
|
297
|
-
<
|
298
|
-
|
299
|
-
|
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/>
|
304
|
+
<label>"Zahlen"</label>
|
305
|
+
<method>:post</method>
|
306
|
+
<parameters>
|
307
|
+
<timeout>3</timeout>
|
308
|
+
</parameters>
|
311
309
|
</parameters>
|
312
310
|
</call>
|
313
311
|
</alternative>
|
312
|
+
<otherwise svg-label=""/>
|
314
313
|
</choose>
|
315
|
-
<call id="
|
314
|
+
<call id="a9" endpoint="g" svg-label="Entscheidung mitteilen">
|
316
315
|
<parameters>
|
317
316
|
<label>"Entscheidung mitteilen"</label>
|
318
|
-
<method
|
317
|
+
<method>:post</method>
|
319
318
|
<parameters>
|
320
|
-
<
|
319
|
+
<name>data.name</name>
|
321
320
|
<email>data.email</email>
|
321
|
+
<body>data.entscheidung</body>
|
322
322
|
</parameters>
|
323
323
|
</parameters>
|
324
324
|
</call>
|
@@ -326,7 +326,7 @@ data.schadenssum = result.find('string(/a/schadenssum)')</manipulate>
|
|
326
326
|
</description>
|
327
327
|
<transformation>
|
328
328
|
<description type="copy"/>
|
329
|
-
<dataelements type="
|
330
|
-
<endpoints type="
|
329
|
+
<dataelements type="xslt"/>
|
330
|
+
<endpoints type="xslt"/>
|
331
331
|
</transformation>
|
332
332
|
</properties>
|