server/instances/2/properties.xml in cpee-1.3.126 vs server/instances/2/properties.xml in cpee-1.3.127

- old
+ new

@@ -5,115 +5,222 @@ <positions/> <dataelements/> <endpoints> <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout> </endpoints> - <dsl>choose :exclusive do - alternative "data.a &lt; 3" do - call :a42, :timeout, { :label =&gt; "B", :method =&gt; "post", :type =&gt; "serviceTask", :mid =&gt; "sid-C4915A51-F57C-44E7-8BA7-AC5247998430", :parameters =&gt; { :timeout =&gt; 1 } }, &lt;&lt;-end -data.a = 'path 1' + <dsl>call :a58, :timeout, { :label =&gt; "A", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819", :parameters =&gt; { :timeout =&gt; 1 } }, &lt;&lt;-end +data.a += 1 +end +call :a61, :timeout, { :label =&gt; "B", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E", :parameters =&gt; { :timeout =&gt; 1 } } +loop pre_test{true} do + choose :exclusive do + alternative "data.a &gt;= 3 &amp;&amp; data.a &lt; 6" do + call :a62, :timeout, { :label =&gt; "D", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-0937F905-A975-4DB2-A8C9-CD523611AEF5", :parameters =&gt; { :timeout =&gt; 1 } } + call :a58, :timeout, { :label =&gt; "A", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819", :parameters =&gt; { :timeout =&gt; 1 } }, &lt;&lt;-end +data.a += 1 + end + call :a61, :timeout, { :label =&gt; "B", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E", :parameters =&gt; { :timeout =&gt; 1 } } end - end - otherwise do - call :a44, :timeout, { :label =&gt; "C", :method =&gt; "post", :type =&gt; "serviceTask", :mid =&gt; "sid-4F7DC368-C233-43DF-862A-28FC41919D18", :parameters =&gt; { :timeout =&gt; 1 } }, &lt;&lt;-end -data.a = 'path 2' + alternative "data.a &lt; 3" do + call :a60, :timeout, { :label =&gt; "C", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-7E70A0D7-660E-4C1B-B377-64387F99BD87", :parameters =&gt; { :timeout =&gt; 1 } } + call :a61, :timeout, { :label =&gt; "B", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E", :parameters =&gt; { :timeout =&gt; 1 } } end + otherwise do + break + end end end -call :a46, :timeout, { :label =&gt; "A", :method =&gt; "post", :type =&gt; "serviceTask", :mid =&gt; "sid-DCA5CEE9-2935-4876-AF02-8322B5DB31EE", :parameters =&gt; { :timeout =&gt; 1 } } </dsl> <dslx> <description xmlns="http://cpee.org/ns/description/1.0"> - <choose mode="exclusive"> - <alternative condition="data.a &lt; 3" language="text/javascript"> - <call id="a42" endpoint="timeout"> - <parameters> - <label>B</label> - <method>post</method> - <type>serviceTask</type> - <mid>sid-C4915A51-F57C-44E7-8BA7-AC5247998430</mid> - <parameters> - <timeout>1</timeout> - </parameters> - </parameters> - <manipulate output="result" language="application/javascript">data.a = 'path 1'</manipulate> - </call> - </alternative> - <otherwise> - <call id="a44" endpoint="timeout"> - <parameters> - <label>C</label> - <method>post</method> - <type>serviceTask</type> - <mid>sid-4F7DC368-C233-43DF-862A-28FC41919D18</mid> - <parameters> - <timeout>1</timeout> - </parameters> - </parameters> - <manipulate output="result" language="application/javascript">data.a = 'path 2'</manipulate> - </call> - </otherwise> - </choose> - <call id="a46" endpoint="timeout"> + <call id="a58" endpoint="timeout"> <parameters> <label>A</label> - <method>post</method> + <method/> <type>serviceTask</type> - <mid>sid-DCA5CEE9-2935-4876-AF02-8322B5DB31EE</mid> + <mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid> <parameters> <timeout>1</timeout> </parameters> </parameters> + <manipulate output="result" language="application/javascript">data.a += 1</manipulate> </call> + <call id="a61" endpoint="timeout"> + <parameters> + <label>B</label> + <method/> + <type>serviceTask</type> + <mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + <loop pre_test="true"> + <choose mode="exclusive"> + <alternative condition="data.a &gt;= 3 &amp;&amp; data.a &lt; 6" language="text/javascript"> + <call id="a62" endpoint="timeout"> + <parameters> + <label>D</label> + <method/> + <type>serviceTask</type> + <mid>sid-0937F905-A975-4DB2-A8C9-CD523611AEF5</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + <call id="a58" endpoint="timeout"> + <parameters> + <label>A</label> + <method/> + <type>serviceTask</type> + <mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + <manipulate output="result" language="application/javascript">data.a += 1</manipulate> + </call> + <call id="a61" endpoint="timeout"> + <parameters> + <label>B</label> + <method/> + <type>serviceTask</type> + <mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + </alternative> + <alternative condition="data.a &lt; 3" language="text/javascript"> + <call id="a60" endpoint="timeout"> + <parameters> + <label>C</label> + <method/> + <type>serviceTask</type> + <mid>sid-7E70A0D7-660E-4C1B-B377-64387F99BD87</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + <call id="a61" endpoint="timeout"> + <parameters> + <label>B</label> + <method/> + <type>serviceTask</type> + <mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + </alternative> + <otherwise> + <break/> + </otherwise> + </choose> + </loop> </description> </dslx> <status> <id>0</id> <message>undefined</message> </status> <description> <description xmlns="http://cpee.org/ns/description/1.0"> - <choose mode="exclusive"> - <alternative condition="data.a &lt; 3" language="text/javascript"> - <call id="a42" endpoint="timeout"> - <parameters> - <label>B</label> - <method>post</method> - <type>serviceTask</type> - <mid>sid-C4915A51-F57C-44E7-8BA7-AC5247998430</mid> - <parameters> - <timeout>1</timeout> - </parameters> - </parameters> - <manipulate output="result" language="application/javascript">data.a = 'path 1'</manipulate> - </call> - </alternative> - <otherwise> - <call id="a44" endpoint="timeout"> - <parameters> - <label>C</label> - <method>post</method> - <type>serviceTask</type> - <mid>sid-4F7DC368-C233-43DF-862A-28FC41919D18</mid> - <parameters> - <timeout>1</timeout> - </parameters> - </parameters> - <manipulate output="result" language="application/javascript">data.a = 'path 2'</manipulate> - </call> - </otherwise> - </choose> - <call id="a46" endpoint="timeout"> + <call id="a58" endpoint="timeout"> <parameters> <label>A</label> - <method>post</method> + <method/> <type>serviceTask</type> - <mid>sid-DCA5CEE9-2935-4876-AF02-8322B5DB31EE</mid> + <mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid> <parameters> <timeout>1</timeout> </parameters> </parameters> + <manipulate output="result" language="application/javascript">data.a += 1</manipulate> </call> + <call id="a61" endpoint="timeout"> + <parameters> + <label>B</label> + <method/> + <type>serviceTask</type> + <mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + <loop pre_test="true"> + <choose mode="exclusive"> + <alternative condition="data.a &gt;= 3 &amp;&amp; data.a &lt; 6" language="text/javascript"> + <call id="a62" endpoint="timeout"> + <parameters> + <label>D</label> + <method/> + <type>serviceTask</type> + <mid>sid-0937F905-A975-4DB2-A8C9-CD523611AEF5</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + <call id="a58" endpoint="timeout"> + <parameters> + <label>A</label> + <method/> + <type>serviceTask</type> + <mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + <manipulate output="result" language="application/javascript">data.a += 1</manipulate> + </call> + <call id="a61" endpoint="timeout"> + <parameters> + <label>B</label> + <method/> + <type>serviceTask</type> + <mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + </alternative> + <alternative condition="data.a &lt; 3" language="text/javascript"> + <call id="a60" endpoint="timeout"> + <parameters> + <label>C</label> + <method/> + <type>serviceTask</type> + <mid>sid-7E70A0D7-660E-4C1B-B377-64387F99BD87</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + <call id="a61" endpoint="timeout"> + <parameters> + <label>B</label> + <method/> + <type>serviceTask</type> + <mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid> + <parameters> + <timeout>1</timeout> + </parameters> + </parameters> + </call> + </alternative> + <otherwise> + <break/> + </otherwise> + </choose> + </loop> </description> </description> <transformation> <description type="copy"/> <dataelements type="xslt"/> \ No newline at end of file