server/instances/6/properties.xml in cpee-1.4.7 vs server/instances/6/properties.xml in cpee-1.4.8
- old
+ new
@@ -1,31 +1,206 @@
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
<attributes>
- <uuid>234dc454-d15c-4414-90c2-6ca9c66617f3</uuid>
- <info/>
+ <uuid>a5e56666-9168-4d33-b63e-81c9039c6700</uuid>
+ <info>Linear</info>
<modeltype>CPEE</modeltype>
- <theme>default</theme>
+ <theme>labels</theme>
</attributes>
- <state>ready</state>
+ <state>stopped</state>
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
- <positions/>
- <dataelements/>
+ <positions>
+ <fab>at</fab>
+ <design>at</design>
+ </positions>
+ <dataelements>
+ <feedback>true</feedback>
+ </dataelements>
<endpoints>
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
</endpoints>
- <dsl/>
+ <dsl>parallel do
+ parallel_branch do
+ loop pre_test{data.feedback} do
+ call :design, :timeout, parameters: { :label => "Design", :method => :post, :arguments => [⭐(:name => :timeout, :value => 4)] }
+ call :validate, :timeout, parameters: { :label => "Validate", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
+ call :publish, :timeout, parameters: { :label => "Publish", :method => :post, :arguments => [⭐(:name => :timeout, :value => 1)] }
+ end
+ end
+ parallel_branch do
+ loop pre_test{data.feedback} do
+ call :prepare, :timeout, parameters: { :label => "Prepare", :method => :post, :arguments => [⭐(:name => :timeout, :value => 4)] }
+ call :fab, :timeout, parameters: { :label => "Fabricate", :method => :post, :arguments => [⭐(:name => :timeout, :value => 4)] }
+ call :evaluate, :timeout, parameters: { :label => "Evaluate", :method => :post, :arguments => [⭐(:name => :timeout, :value => 4)] }
+ end
+ end
+end
+</dsl>
<dslx>
- <description xmlns="http://cpee.org/ns/description/1.0"/>
+ <description xmlns="http://cpee.org/ns/description/1.0">
+ <parallel>
+ <parallel_branch>
+ <loop mode="pre_test" condition="data.feedback">
+ <call id="design" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Design</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="validate" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Validate</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>2</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="publish" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Publish</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>1</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ </loop>
+ </parallel_branch>
+ <parallel_branch>
+ <loop mode="pre_test" condition="data.feedback">
+ <call id="prepare" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Prepare</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="fab" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Fabricate</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="evaluate" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Evaluate</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ </loop>
+ </parallel_branch>
+ </parallel>
+ </description>
</dslx>
<status>
<id>0</id>
<message>undefined</message>
</status>
<description>
- <description xmlns="http://cpee.org/ns/description/1.0"/>
+ <description xmlns="http://cpee.org/ns/description/1.0">
+ <parallel>
+ <parallel_branch>
+ <loop mode="pre_test" condition="data.feedback">
+ <call id="design" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Design</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="validate" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Validate</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>2</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="publish" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Publish</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>1</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ </loop>
+ </parallel_branch>
+ <parallel_branch>
+ <loop mode="pre_test" condition="data.feedback">
+ <call id="prepare" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Prepare</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="fab" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Fabricate</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ <call id="evaluate" endpoint="timeout">
+ <parameters>
+ <!--{{{-->
+ <label>Evaluate</label>
+ <method>:post</method>
+ <arguments>
+ <timeout>4</timeout>
+ </arguments>
+ </parameters>
+ <!--}}}-->
+ </call>
+ </loop>
+ </parallel_branch>
+ </parallel>
+ </description>
</description>
<transformation>
<description type="copy"/>
- <dataelements type="none"/>
- <endpoints type="none"/>
+ <dataelements type="rest"/>
+ <endpoints type="rest"/>
</transformation>
</properties>
\ No newline at end of file