mainProcess.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <testset>
  2. <dataelements/>
  3. <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
  4. <endpoints>
  5. <timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
  6. <get_data xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://192.168.20.133:8080/PHP/services/get_data.php</get_data>
  7. <get_tool_list xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://192.168.20.133:8080/PHP/services/get_tool_list.php</get_tool_list>
  8. <tool_config xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://192.168.20.133:8080/PHP/services/tool_config.php</tool_config>
  9. <start_url xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://192.168.20.133:9296/url/</start_url>
  10. </endpoints>
  11. <description>
  12. <description xmlns="http://cpee.org/ns/description/1.0">
  13. <call id="a2" endpoint="get_tool_list">
  14. <parameters>
  15. <label>get_tool_list</label>
  16. <method>:post</method>
  17. <arguments>
  18. <articleID>!data.articleID</articleID>
  19. </arguments>
  20. <sensors/>
  21. </parameters>
  22. <finalize output="result">data.toolList = result["toolList"];</finalize>
  23. <update output="result"/>
  24. <_timing>
  25. <_timing_min/>
  26. <_timing_max/>
  27. <_timing_avg/>
  28. </_timing>
  29. <_notes>
  30. <_notes_general/>
  31. <_notes_output/>
  32. <_attachments/>
  33. </_notes>
  34. </call>
  35. <call id="a6" endpoint="tool_config">
  36. <parameters>
  37. <label>get_tool_config</label>
  38. <method>:post</method>
  39. <arguments>
  40. <toolList>!data.toolList</toolList>
  41. </arguments>
  42. <sensors/>
  43. </parameters>
  44. <finalize output="result">data.events = result</finalize>
  45. <update output="result"/>
  46. <_timing>
  47. <_timing_min/>
  48. <_timing_max/>
  49. <_timing_avg/>
  50. </_timing>
  51. <_notes>
  52. <_notes_general/>
  53. <_notes_output/>
  54. <_attachments/>
  55. </_notes>
  56. </call>
  57. <call id="a3" endpoint="get_data">
  58. <parameters>
  59. <label>Select Tool</label>
  60. <method>:post</method>
  61. <arguments>
  62. <toolList>!data.toolList</toolList>
  63. <form>toolList.html</form>
  64. <rolle>!data.rolle</rolle>
  65. <events>!data.events</events>
  66. </arguments>
  67. <sensors/>
  68. </parameters>
  69. <finalize output="result">data.toolID = result["result"]["toolID"]
  70. data.toolStatus = result["result"]["toolStatus"]</finalize>
  71. <update output="result"/>
  72. <_timing>
  73. <_timing_min/>
  74. <_timing_max/>
  75. <_timing_avg/>
  76. </_timing>
  77. <_notes>
  78. <_notes_general/>
  79. <_notes_output/>
  80. <_attachments/>
  81. </_notes>
  82. </call>
  83. <choose mode="exclusive">
  84. <alternative condition="data.toolStatus == &quot;Production&quot;">
  85. <_probability>
  86. <_probability_min/>
  87. <_probability_max/>
  88. <_probability_avg/>
  89. </_probability>
  90. <call id="a4" endpoint="start_url">
  91. <parameters>
  92. <label>Production</label>
  93. <method>:post</method>
  94. <arguments/>
  95. <sensors/>
  96. <report>
  97. <url/>
  98. </report>
  99. </parameters>
  100. <finalize output="result"/>
  101. <update output="result"/>
  102. <_timing>
  103. <_timing_min/>
  104. <_timing_max/>
  105. <_timing_avg/>
  106. </_timing>
  107. <_notes>
  108. <_notes_general/>
  109. <_notes_output/>
  110. <_attachments/>
  111. </_notes>
  112. </call>
  113. </alternative>
  114. <otherwise>
  115. <call id="a5" endpoint="start_url">
  116. <parameters>
  117. <label>Umbau</label>
  118. <method>:post</method>
  119. <arguments/>
  120. <sensors/>
  121. <report>
  122. <url/>
  123. </report>
  124. </parameters>
  125. <finalize output="result">data.smth = "umbau"</finalize>
  126. <update output="result"/>
  127. <_timing>
  128. <_timing_min/>
  129. <_timing_max/>
  130. <_timing_avg/>
  131. </_timing>
  132. <_notes>
  133. <_notes_general/>
  134. <_notes_output/>
  135. <_attachments/>
  136. </_notes>
  137. </call>
  138. </otherwise>
  139. </choose>
  140. </description>
  141. </description>
  142. <transformation>
  143. <description type="copy"/>
  144. <dataelements type="none"/>
  145. <endpoints type="none"/>
  146. </transformation>
  147. <attributes>
  148. <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Production</info>
  149. <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
  150. <theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">default</theme>
  151. </attributes>
  152. </testset>