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

- old
+ new

@@ -1,58 +1,123 @@ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0"> - <info>asdasd</info> + <info>asdads</info> <state>ready</state> <handlerwrapper>DefaultHandlerWrapper</handlerwrapper> - <positions> - <a1>after</a1> - </positions> - <dataelements> - <x/> - </dataelements> + <positions/> + <dataelements/> <endpoints> <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout> - <back>http://gruppe.wst.univie.ac.at/~mangler/services/callback.php</back> </endpoints> - <dsl>call :a1, :back, { :method =&gt; "post", :parameters =&gt; { :timeout =&gt; 2 } }, &lt;&lt;-end - data.x += "a1," + <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' + 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' + 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"> - <call id="a1" endpoint="back"> + <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"> <parameters> - <!--{{{--> + <label>A</label> <method>post</method> + <type>serviceTask</type> + <mid>sid-DCA5CEE9-2935-4876-AF02-8322B5DB31EE</mid> <parameters> - <timeout>2</timeout> + <timeout>1</timeout> </parameters> </parameters> - <!--}}}--> - <manipulate output="result"> data.x += "a1,"</manipulate> </call> </description> </dslx> <status> <id>0</id> <message>undefined</message> </status> <description> <description xmlns="http://cpee.org/ns/description/1.0"> - <call id="a1" endpoint="back"> + <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"> <parameters> - <!--{{{--> + <label>A</label> <method>post</method> + <type>serviceTask</type> + <mid>sid-DCA5CEE9-2935-4876-AF02-8322B5DB31EE</mid> <parameters> - <timeout>2</timeout> + <timeout>1</timeout> </parameters> </parameters> - <!--}}}--> - <manipulate output="result"> data.x += "a1,"</manipulate> </call> </description> </description> <transformation> <description type="copy"/> - <dataelements type="rest"/> - <endpoints type="rest"/> + <dataelements type="xslt"/> + <endpoints type="xslt"/> </transformation> </properties> \ No newline at end of file