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 => "post", :parameters => { :timeout => 2 } }, <<-end
- data.x += "a1,"
+ <dsl>choose :exclusive do
+ alternative "data.a < 3" do
+ call :a42, :timeout, { :label => "B", :method => "post", :type => "serviceTask", :mid => "sid-C4915A51-F57C-44E7-8BA7-AC5247998430", :parameters => { :timeout => 1 } }, <<-end
+data.a = 'path 1'
+ end
+ end
+ otherwise do
+ call :a44, :timeout, { :label => "C", :method => "post", :type => "serviceTask", :mid => "sid-4F7DC368-C233-43DF-862A-28FC41919D18", :parameters => { :timeout => 1 } }, <<-end
+data.a = 'path 2'
+ end
+ end
end
+call :a46, :timeout, { :label => "A", :method => "post", :type => "serviceTask", :mid => "sid-DCA5CEE9-2935-4876-AF02-8322B5DB31EE", :parameters => { :timeout => 1 } }
</dsl>
<dslx>
<description xmlns="http://cpee.org/ns/description/1.0">
- <call id="a1" endpoint="back">
+ <choose mode="exclusive">
+ <alternative condition="data.a < 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 < 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