Name: cockpit/testsets/Order.xml
| 1: | <?xml version="1.0"?> |
| 2: | <!-- |
| 3: | Apache License, Version 2.0 |
| 4: | |
| 5: | Copyright (c) 2013 Juergen Mangler |
| 6: | |
| 7: | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8: | you may not use this file except in compliance with the License. |
| 9: | You may obtain a copy of the License at |
| 10: | |
| 11: | http://www.apache.org/licenses/LICENSE-2.0 |
| 12: | |
| 13: | Unless required by applicable law or agreed to in writing, software |
| 14: | distributed under the License is distributed on an "AS IS" BASIS, |
| 15: | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16: | See the License for the specific language governing permissions and |
| 17: | limitations under the License. |
| 18: | --> |
| 19: | |
| 20: | <testset> |
| 21: | <positions/> |
| 22: | <handlerwrapper>DefaultHandlerWrapper</handlerwrapper> |
| 23: | <dataelements><!--{{{--> |
| 24: | <test></test> |
| 25: | </dataelements><!--}}}--> |
| 26: | <handlers> |
| 27: | <handler url="xmpp://[email protected]"> |
| 28: | <events topic='properties/state'>change</events> |
| 29: | <events topic='properties/datalements'>change</events> |
| 30: | <events topic='properties/position'>change</events> |
| 31: | <events topic='running'>activity_calling,activity_failed,activity_manipulating,activity_done</events> |
| 32: | </handler> |
| 33: | <handler url="xmpp://[email protected]"> |
| 34: | <events topic='properties/state'>change</events> |
| 35: | <events topic='properties/position'>change</events> |
| 36: | <events topic='running'>activity_calling,activity_failed,activity_manipulating,activity_done</events> |
| 37: | </handler> |
| 38: | <handler url="xmpp://[email protected]"> |
| 39: | <events topic='simulating'>step</events> |
| 40: | </handler> |
| 41: | </handlers> |
| 42: | <endpoints><!--{{{--> |
| 43: | <gateway>http://localhost/gateways/timeout.php</gateway> |
| 44: | </endpoints> <!--}}}--> |
| 45: | <description> |
| 46: | <description xmlns="http://cpee.org/ns/description/1.0"><!--{{{--> |
| 47: | <parallel> |
| 48: | <parallel_branch> |
| 49: | <call id="a9" endpoint="gateway"> |
| 50: | <parameters><!--{{{--> |
| 51: | <label>Produce Headcap Subsystem</label> |
| 52: | <method>post</method> |
| 53: | <parameters> |
| 54: | <timeout>4</timeout> |
| 55: | </parameters> |
| 56: | </parameters><!--}}}--> |
| 57: | </call> |
| 58: | <call id="a10" endpoint="gateway"> |
| 59: | <parameters><!--{{{--> |
| 60: | <label>Delivery</label> |
| 61: | <method>post</method> |
| 62: | <parameters> |
| 63: | <timeout>4</timeout> |
| 64: | </parameters> |
| 65: | </parameters><!--}}}--> |
| 66: | </call> |
| 67: | </parallel_branch> |
| 68: | <parallel_branch> |
| 69: | <call id="a5" endpoint="gateway"> |
| 70: | <parameters><!--{{{--> |
| 71: | <label>Supply Mechanical Parts</label> |
| 72: | <method>post</method> |
| 73: | <parameters> |
| 74: | <timeout>4</timeout> |
| 75: | </parameters> |
| 76: | </parameters><!--}}}--> |
| 77: | </call> |
| 78: | <call id="a6" endpoint="gateway"> |
| 79: | <parameters><!--{{{--> |
| 80: | <label>Produce Mechanical Parts (A-Z)</label> |
| 81: | <method>post</method> |
| 82: | <parameters> |
| 83: | <timeout>4</timeout> |
| 84: | </parameters> |
| 85: | </parameters><!--}}}--> |
| 86: | </call> |
| 87: | <call id="a7" endpoint="gateway"> |
| 88: | <parameters><!--{{{--> |
| 89: | <label>Perform Surface Treatment</label> |
| 90: | <method>post</method> |
| 91: | <parameters> |
| 92: | <timeout>4</timeout> |
| 93: | </parameters> |
| 94: | </parameters><!--}}}--> |
| 95: | </call> |
| 96: | <call id="a8" endpoint="gateway"> |
| 97: | <parameters><!--{{{--> |
| 98: | <label>Mechanical Parts Assembly</label> |
| 99: | <method>post</method> |
| 100: | <parameters> |
| 101: | <timeout>4</timeout> |
| 102: | </parameters> |
| 103: | </parameters><!--}}}--> |
| 104: | </call> |
| 105: | </parallel_branch> |
| 106: | <parallel_branch> |
| 107: | <parallel> |
| 108: | <parallel_branch> |
| 109: | <call id="a2" endpoint="gateway"> |
| 110: | <parameters><!--{{{--> |
| 111: | <label>Supply Electric Parts</label> |
| 112: | <method>post</method> |
| 113: | <parameters> |
| 114: | <timeout>4</timeout> |
| 115: | </parameters> |
| 116: | </parameters><!--}}}--> |
| 117: | </call> |
| 118: | <call id="a3" endpoint="gateway"> |
| 119: | <parameters><!--{{{--> |
| 120: | <label>Delivery</label> |
| 121: | <method>post</method> |
| 122: | <parameters> |
| 123: | <timeout>4</timeout> |
| 124: | </parameters> |
| 125: | </parameters><!--}}}--> |
| 126: | </call> |
| 127: | </parallel_branch> |
| 128: | <parallel_branch> |
| 129: | <call id="a1" endpoint="gateway"> |
| 130: | <parameters><!--{{{--> |
| 131: | <label>Develop Control System</label> |
| 132: | <method>post</method> |
| 133: | <parameters> |
| 134: | <timeout>4</timeout> |
| 135: | </parameters> |
| 136: | </parameters><!--}}}--> |
| 137: | </call> |
| 138: | </parallel_branch> |
| 139: | </parallel> |
| 140: | <call id="a4" endpoint="gateway"> |
| 141: | <parameters><!--{{{--> |
| 142: | <label>Electric Board Assembly</label> |
| 143: | <method>post</method> |
| 144: | <parameters> |
| 145: | <timeout>4</timeout> |
| 146: | </parameters> |
| 147: | </parameters><!--}}}--> |
| 148: | </call> |
| 149: | </parallel_branch> |
| 150: | </parallel> |
| 151: | <call id="a11" endpoint="gateway"> |
| 152: | <parameters><!--{{{--> |
| 153: | <label>Systems Integration</label> |
| 154: | <method>post</method> |
| 155: | <parameters> |
| 156: | <timeout>4</timeout> |
| 157: | </parameters> |
| 158: | </parameters><!--}}}--> |
| 159: | </call> |
| 160: | <call id="a12" endpoint="gateway"> |
| 161: | <parameters><!--{{{--> |
| 162: | <label>Test</label> |
| 163: | <method>post</method> |
| 164: | <parameters> |
| 165: | <timeout>4</timeout> |
| 166: | </parameters> |
| 167: | </parameters><!--}}}--> |
| 168: | <manipulate output="result"> data.test = "success"</manipulate> |
| 169: | </call> |
| 170: | </description><!--}}}--> |
| 171: | </description> |
| 172: | <transformation> |
| 173: | <description type='copy'/> |
| 174: | <dataelements type='rest'/> |
| 175: | <endpoints type='rest'/> |
| 176: | </transformation> |
| 177: | </testset> |
