server/instances/2/properties.xml in cpee-1.3.201 vs server/instances/2/properties.xml in cpee-1.3.202

- old
+ new

@@ -1,827 +1,28 @@ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0"> <attributes> - <info>Enter info here</info> + <uuid>dec6ca32-a6b1-4955-bd97-79a1bc130f2d</uuid> + <info/> <modeltype>CPEE</modeltype> - <uuid>27fe8dc6-f7ab-48c1-a2ed-7ecfe69987f1</uuid> + <theme>default</theme> </attributes> - <state>stopped</state> + <state>ready</state> <handlerwrapper>DefaultHandlerWrapper</handlerwrapper> - <positions> - <a10>at</a10> - </positions> - <dataelements> - <status>notOK</status> - <products>[{"id":"1","name":"P1","price":"1.54"},{"id":"2","name":"P2","price":"2.54"},{"id":"3","name":"P3","price":"3.54"},{"id":"4","name":"P4","price":"4.54"},{"id":"5","name":"P5","price":"5.54"},{"id":"6","name":"P6","price":"6.54"},{"id":"7","name":"P7","price":"7.54"},{"id":"8","name":"P8","price":"8.54"},{"id":"9","name":"P9","price":"9.54"},{"id":"10","name":"P10","price":"10.54"},{"id":"11","name":"P11","price":"11.54"},{"id":"12","name":"P12","price":"12.54"},{"id":"13","name":"P13","price":"13.54"},{"id":"14","name":"P14","price":"14.54"},{"id":"15","name":"P15","price":"15.54"},{"id":"16","name":"P16","price":"16.54"},{"id":"17","name":"P17","price":"17.54"},{"id":"18","name":"P18","price":"18.54"}]</products> - <erfolg>0</erfolg> - <created>ordered</created> - <orders>[{"customerID":"1349252","orderID":"100","deliveryDate":"2023-02-20","orderDate":"2024-02-20","status":"0"},{"customerID":"1349252","orderID":"101","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"749454","orderID":"102","deliveryDate":"2010-03-20","orderDate":"2015-03-20","status":"0"},{"customerID":"248291","orderID":"103","deliveryDate":"2009-03-20","orderDate":"2031-03-20","status":"0"},{"customerID":"248291","orderID":"104","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"248291","orderID":"105","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"1334543","orderID":"106","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"1334543","orderID":"107","deliveryDate":"2023-02-20","orderDate":"2027-02-20","status":"0"},{"customerID":"1423525","orderID":"108","deliveryDate":"2023-03-20","orderDate":"2027-04-20","status":"0"},{"customerID":"1423525","orderID":"109","deliveryDate":"2023-04-20","orderDate":"2027-05-20","status":"0"},{"customerID":"1423525","orderID":"110","deliveryDate":"2023-04-20","orderDate":"2027-05-20","status":"0"},{"customerID":"123213213","orderID":"1111","deliveryDate":".2015-12-15.","orderDate":".2015-12-12.","status":"0"}]</orders> - <order>[{"orderID":"100","productName":"P1","orderDate":"2024-02-20","status":"0","price":"1.54"},{"orderID":"100","productName":"P4","orderDate":"2024-02-20","status":"0","price":"4.54"},{"orderID":"100","productName":"P5","orderDate":"2024-02-20","status":"0","price":"5.54"},{"orderID":"100","productName":"P18","orderDate":"2024-02-20","status":"0","price":"18.54"},{"orderID":"100","productName":"P17","orderDate":"2024-02-20","status":"0","price":"17.54"}]</order> - <product>[{"orderID":"100","productName":"P1","orderDate":"2024-02-20","status":"0","price":"1.54"},{"orderID":"100","productName":"P4","orderDate":"2024-02-20","status":"0","price":"4.54"},{"orderID":"100","productName":"P5","orderDate":"2024-02-20","status":"0","price":"5.54"},{"orderID":"100","productName":"P18","orderDate":"2024-02-20","status":"0","price":"18.54"},{"orderID":"100","productName":"P17","orderDate":"2024-02-20","status":"0","price":"17.54"}]</product> - <logindata/> - <available/> - <loginData/> - </dataelements> + <positions/> + <dataelements/> <endpoints> <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout> - <loginService>http://wwwlab.cs.univie.ac.at/~a0248291/services/personLoginService.php</loginService> - <createLoginService>http://wwwlab.cs.univie.ac.at/~a0248291/services/createLoginService.php</createLoginService> - <getallProducts>http://wwwlab.cs.univie.ac.at/~a0248291/services/productlistService.php</getallProducts> - <getUserDataForLogin>http://wwwlab.cs.univie.ac.at/~a0248291/services/getUserDataForLogin.php</getUserDataForLogin> - <createOrderService>http://wwwlab.cs.univie.ac.at/~a0248291/services/createOrderService.php</createOrderService> - <createProductToOrderService>http://wwwlab.cs.univie.ac.at/~a0248291/services/createProductToOrderService.php</createProductToOrderService> - <orderlistService>http://wwwlab.cs.univie.ac.at/~a0248291/services/orderlistService.php</orderlistService> - <getOrderService>http://wwwlab.cs.univie.ac.at/~a0248291/services/getOrderService.php</getOrderService> - <activity>http://wwwlab.cs.univie.ac.at/~a0248291/worklist/activity.php</activity> </endpoints> - <dsl>call :a1, :loginService, parameters: { :label =&gt; "Login", :method =&gt; :post, :parameters =&gt; {:email =&gt; "a0248291@unet.univie.ac.at", :password =&gt; "a024829"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - -END -loop post_test{data.status == 'ok'} do - call :a25, :createLoginService, parameters: { :label =&gt; "NOT Registired", :method =&gt; :post, :parameters =&gt; {:email =&gt; "meintest@email.com", :password =&gt; "meintest", :status =&gt; 1, :personID =&gt; 123213213, :name =&gt; "Name", :personType =&gt; "Customer"} }, finalize: &lt;&lt;-END - - data.erfolg = result['erfolg'] - - END - call :a27, :getUserDataForLogin, parameters: { :label =&gt; "get data for login", :method =&gt; nil, :parameters =&gt; {:personID =&gt; 1232132} }, finalize: &lt;&lt;-END - - data.loginData = result['logindata'] - - END -end -call :a26, :getallProducts, parameters: { :label =&gt; "Select Products", :method =&gt; :post, :parameters =&gt; nil }, finalize: &lt;&lt;-END - - data.products = result['product'] - -END -call :a32, :createOrderService, parameters: { :label =&gt; "Create Order", :method =&gt; :post, :parameters =&gt; {:orderDate =&gt; "2015-12-12", :orderID =&gt; 1111, :status =&gt; 0, :customerID =&gt; 123213213, :deliveryDate =&gt; "2015-12-15"} }, finalize: &lt;&lt;-END - - data.created = result['created'] - -END -call :a41, :createProductToOrderService, parameters: { :label =&gt; "Add Product to Order", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 1111, :productID =&gt; 10, :amount =&gt; 4} }, finalize: &lt;&lt;-END - - data.created = result['created'] - -END -call :a16, :orderlistService, parameters: { :label =&gt; "automatic order management system", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 1111} }, finalize: &lt;&lt;-END - - data.orders = result['orders'] - -END -call :a12, :getOrderService, parameters: { :label =&gt; "analyse Order", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 100} }, finalize: &lt;&lt;-END - - data.order = result['order'] - -END -call :a51, :getOrderService, parameters: { :label =&gt; "select product", :method =&gt; :post, :parameters =&gt; {:orderID =&gt; 100} }, finalize: &lt;&lt;-END - - data.product = result['order'] - -END -choose :exclusive do - alternative "data.product != nil" do - call :a10, :activity, parameters: { :label =&gt; "check stock", :method =&gt; :post, :parameters =&gt; {:productID =&gt; 1, :amount =&gt; 5, :form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_checkstock.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.available = result['available'] - - END - loop pre_test{available=='available'} do - call :a14, nil, parameters: { :label =&gt; "Add the Product to Order for wholesaler", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-6AC4CA98-D1F6-47F0-979F-61CF0662E45B', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createOrderToWholesaler.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - call :a13, :activity, parameters: { :label =&gt; "Order to Wholesaler", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-EC19A8E6-8F40-4F7A-AE44-471A775AE5BC', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_OrderToWholesaler.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - call :a22, :activity, parameters: { :label =&gt; "automatic order management system", :method =&gt; nil, :type =&gt; :task, :mid =&gt; 'sid-F7E23A29-6BE3-4E19-BD30-CF9E1D67FA9D', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productExist.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - call :a23, :activity, parameters: { :label =&gt; "analyse Order", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-BD3670C9-1BF4-4757-9E01-18CB1A266396', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productAnalyse.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - choose :exclusive do - otherwise do - call :a18, :activity, parameters: { :label =&gt; "more than 10 days to arrive", :method =&gt; nil, :type =&gt; :intermediateCatchEvent, :mid =&gt; 'sid-A0777023-6600-411A-9219-1EC8C73AA060', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productMoreTenDays.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - end - otherwise do - call :a19, nil, parameters: { :label =&gt; "pack order", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-775863BE-8D29-4E31-B680-0AAF13FF034C', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - end - end - call :a20, :activity, parameters: { :label =&gt; "ship order", :method =&gt; nil, :type =&gt; :serviceTask, :mid =&gt; 'sid-D06C4D11-F2BF-4A4B-BEE5-7713B74C14BB', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_sendorderToHandel.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - call :a15, :activity, parameters: { :label =&gt; "Product has arrived", :method =&gt; nil, :type =&gt; :intermediateCatchEvent, :mid =&gt; 'sid-AF30D5E7-E6C3-46BB-B5CB-02271161F927', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_orderInHandel.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - end - parallel :wait =&gt; -1 do - parallel_branch do - call :a6, :activity, parameters: { :label =&gt; "create bill", :method =&gt; nil, :type =&gt; :sendTask, :mid =&gt; 'sid-2D16EA3E-6B40-4A50-9B84-F8F94C412BDA', :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createBill.html", :role =&gt; "Sachbearbeiter"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - end - parallel_branch do - call :a7, :activity, parameters: { :label =&gt; "pack order", :method =&gt; nil, :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html", :role =&gt; "Assistent"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - end - end - call :a9, :activity, parameters: { :label =&gt; "ship order", :method =&gt; nil, :parameters =&gt; {:form =&gt; "http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_shipOrder.html", :role =&gt; "Chef"} }, finalize: &lt;&lt;-END - - data.status = result['status'] - - END - call :a30, :timeout, parameters: { :label =&gt; "Customer getted order", :method =&gt; nil, :parameters =&gt; {:timeout =&gt; 1} } - end - otherwise do - end -end -</dsl> + <dsl/> <dslx> - <description xmlns="http://cpee.org/ns/description/1.0"> - <call id="a1" endpoint="loginService" svg-label="Login"> - <parameters> - <label>"Login"</label> - <method>:post</method> - <parameters> - <email>"a0248291@unet.univie.ac.at"</email> - <password>"a024829"</password> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <loop post_test="data.status == 'ok'" svg-label=""> - <call id="a25" endpoint="createLoginService" svg-label="NOT Registired"> - <parameters> - <label>"NOT Registired"</label> - <method>:post</method> - <parameters> - <email>"meintest@email.com"</email> - <password>"meintest"</password> - <status>1</status> - <personID>123213213</personID> - <name>"Name"</name> - <personType>"Customer"</personType> - </parameters> - </parameters> - <finalize output="result"> - data.erfolg = result['erfolg'] - </finalize> - </call> - <call id="a27" endpoint="getUserDataForLogin" svg-label="get data for login"> - <parameters> - <label>"get data for login"</label> - <method/> - <parameters> - <personID>1232132</personID> - </parameters> - </parameters> - <finalize output="result"> - data.loginData = result['logindata'] - </finalize> - </call> - </loop> - <call id="a26" endpoint="getallProducts" svg-label="Select Products"> - <parameters> - <label>"Select Products"</label> - <method>:post</method> - <parameters/> - </parameters> - <finalize output="result"> - data.products = result['product'] - </finalize> - </call> - <call id="a32" endpoint="createOrderService" svg-label="Create Order"> - <parameters> - <label>"Create Order"</label> - <method>:post</method> - <parameters> - <orderDate>"2015-12-12"</orderDate> - <orderID>1111</orderID> - <status>0</status> - <customerID>123213213</customerID> - <deliveryDate>"2015-12-15"</deliveryDate> - </parameters> - </parameters> - <finalize output="result"> - data.created = result['created'] - </finalize> - </call> - <call id="a41" endpoint="createProductToOrderService" svg-label="Add Product to Order"> - <parameters> - <label>"Add Product to Order"</label> - <method>:post</method> - <parameters> - <orderID>1111</orderID> - <productID>10</productID> - <amount>4</amount> - </parameters> - </parameters> - <finalize output="result"> - data.created = result['created'] - </finalize> - </call> - <call id="a16" endpoint="orderlistService" svg-label="automatic order management system"> - <parameters> - <label>"automatic order management system"</label> - <method>:post</method> - <parameters> - <orderID>1111</orderID> - </parameters> - </parameters> - <finalize output="result"> - data.orders = result['orders'] - </finalize> - </call> - <call id="a12" endpoint="getOrderService" svg-label="analyse Order"> - <parameters> - <label>"analyse Order"</label> - <method>:post</method> - <parameters> - <orderID>100</orderID> - </parameters> - </parameters> - <finalize output="result"> - data.order = result['order'] - </finalize> - </call> - <call id="a51" endpoint="getOrderService" svg-label="select product"> - <parameters> - <label>"select product"</label> - <method>:post</method> - <parameters> - <orderID>100</orderID> - </parameters> - </parameters> - <finalize output="result"> - data.product = result['order'] - </finalize> - </call> - <choose mode="exclusive" svg-label=""> - <alternative condition="data.product != nil" svg-label=""> - <call id="a10" endpoint="activity"> - <parameters> - <label>"check stock"</label> - <method>:post</method> - <parameters> - <productID>1</productID> - <amount>5</amount> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_checkstock.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.available = result['available'] - </finalize> - </call> - <loop pre_test="available=='available'" svg-label=""> - <call id="a14" endpoint="" svg-label="Add the Product to Order for wholesaler"> - <parameters> - <label>"Add the Product to Order for wholesaler"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-6AC4CA98-D1F6-47F0-979F-61CF0662E45B'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createOrderToWholesaler.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a13" endpoint="activity" svg-label="Order to Wholesaler"> - <parameters> - <label>"Order to Wholesaler"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-EC19A8E6-8F40-4F7A-AE44-471A775AE5BC'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_OrderToWholesaler.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a22" endpoint="activity" svg-label="automatic order management system"> - <parameters> - <label>"automatic order management system"</label> - <method/> - <type>:task</type> - <mid>'sid-F7E23A29-6BE3-4E19-BD30-CF9E1D67FA9D'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productExist.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a23" endpoint="activity" svg-label="analyse Order"> - <parameters> - <label>"analyse Order"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-BD3670C9-1BF4-4757-9E01-18CB1A266396'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productAnalyse.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <choose mode="exclusive" svg-label=""> - <otherwise svg-label=""> - <call id="a18" endpoint="activity" svg-label="more than 10 days to arrive"> - <parameters> - <label>"more than 10 days to arrive"</label> - <method/> - <type>:intermediateCatchEvent</type> - <mid>'sid-A0777023-6600-411A-9219-1EC8C73AA060'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productMoreTenDays.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </otherwise> - <otherwise svg-label=""> - <call id="a19" endpoint="" svg-label="pack order"> - <parameters> - <label>"pack order"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-775863BE-8D29-4E31-B680-0AAF13FF034C'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </otherwise> - </choose> - <call id="a20" endpoint="activity" svg-label="ship order"> - <parameters> - <label>"ship order"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-D06C4D11-F2BF-4A4B-BEE5-7713B74C14BB'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_sendorderToHandel.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a15" endpoint="activity" svg-label="Product has arrived"> - <parameters> - <label>"Product has arrived"</label> - <method/> - <type>:intermediateCatchEvent</type> - <mid>'sid-AF30D5E7-E6C3-46BB-B5CB-02271161F927'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_orderInHandel.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </loop> - <parallel wait="-1" svg-label=""> - <parallel_branch svg-label=""> - <call id="a6" endpoint="activity" svg-label="create bill"> - <parameters> - <label>"create bill"</label> - <method/> - <type>:sendTask</type> - <mid>'sid-2D16EA3E-6B40-4A50-9B84-F8F94C412BDA'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createBill.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </parallel_branch> - <parallel_branch svg-label=""> - <call id="a7" endpoint="activity" svg-label="pack order"> - <parameters> - <label>"pack order"</label> - <method/> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form> - <role>"Assistent"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </parallel_branch> - </parallel> - <call id="a9" endpoint="activity" svg-label="ship order"> - <parameters> - <label>"ship order"</label> - <method/> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_shipOrder.html"</form> - <role>"Chef"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a30" endpoint="timeout" svg-label="Customer getted order"> - <parameters> - <label>"Customer getted order"</label> - <method/> - <parameters> - <timeout>1</timeout> - </parameters> - </parameters> - </call> - </alternative> - <otherwise svg-label=""/> - </choose> - </description> + <description xmlns="http://cpee.org/ns/description/1.0"/> </dslx> <status> <id>0</id> <message>undefined</message> </status> <description> - <description xmlns="http://cpee.org/ns/description/1.0"> - <call id="a1" endpoint="loginService" svg-label="Login"> - <parameters> - <label>"Login"</label> - <method>:post</method> - <parameters> - <email>"a0248291@unet.univie.ac.at"</email> - <password>"a024829"</password> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <loop post_test="data.status == 'ok'" svg-label=""> - <call id="a25" endpoint="createLoginService" svg-label="NOT Registired"> - <parameters> - <label>"NOT Registired"</label> - <method>:post</method> - <parameters> - <email>"meintest@email.com"</email> - <password>"meintest"</password> - <status>1</status> - <personID>123213213</personID> - <name>"Name"</name> - <personType>"Customer"</personType> - </parameters> - </parameters> - <finalize output="result"> - data.erfolg = result['erfolg'] - </finalize> - </call> - <call id="a27" endpoint="getUserDataForLogin" svg-label="get data for login"> - <parameters> - <label>"get data for login"</label> - <method/> - <parameters> - <personID>1232132</personID> - </parameters> - </parameters> - <finalize output="result"> - data.loginData = result['logindata'] - </finalize> - </call> - </loop> - <call id="a26" endpoint="getallProducts" svg-label="Select Products"> - <parameters> - <label>"Select Products"</label> - <method>:post</method> - <parameters/> - </parameters> - <finalize output="result"> - data.products = result['product'] - </finalize> - </call> - <call id="a32" endpoint="createOrderService" svg-label="Create Order"> - <parameters> - <label>"Create Order"</label> - <method>:post</method> - <parameters> - <orderDate>"2015-12-12"</orderDate> - <orderID>1111</orderID> - <status>0</status> - <customerID>123213213</customerID> - <deliveryDate>"2015-12-15"</deliveryDate> - </parameters> - </parameters> - <finalize output="result"> - data.created = result['created'] - </finalize> - </call> - <call id="a41" endpoint="createProductToOrderService" svg-label="Add Product to Order"> - <parameters> - <label>"Add Product to Order"</label> - <method>:post</method> - <parameters> - <orderID>1111</orderID> - <productID>10</productID> - <amount>4</amount> - </parameters> - </parameters> - <finalize output="result"> - data.created = result['created'] - </finalize> - </call> - <call id="a16" endpoint="orderlistService" svg-label="automatic order management system"> - <parameters> - <label>"automatic order management system"</label> - <method>:post</method> - <parameters> - <orderID>1111</orderID> - </parameters> - </parameters> - <finalize output="result"> - data.orders = result['orders'] - </finalize> - </call> - <call id="a12" endpoint="getOrderService" svg-label="analyse Order"> - <parameters> - <label>"analyse Order"</label> - <method>:post</method> - <parameters> - <orderID>100</orderID> - </parameters> - </parameters> - <finalize output="result"> - data.order = result['order'] - </finalize> - </call> - <call id="a51" endpoint="getOrderService" svg-label="select product"> - <parameters> - <label>"select product"</label> - <method>:post</method> - <parameters> - <orderID>100</orderID> - </parameters> - </parameters> - <finalize output="result"> - data.product = result['order'] - </finalize> - </call> - <choose mode="exclusive" svg-label=""> - <alternative condition="data.product != nil" svg-label=""> - <call id="a10" endpoint="activity"> - <parameters> - <label>"check stock"</label> - <method>:post</method> - <parameters> - <productID>1</productID> - <amount>5</amount> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_checkstock.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.available = result['available'] - </finalize> - </call> - <loop pre_test="available=='available'" svg-label=""> - <call id="a14" endpoint="" svg-label="Add the Product to Order for wholesaler"> - <parameters> - <label>"Add the Product to Order for wholesaler"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-6AC4CA98-D1F6-47F0-979F-61CF0662E45B'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createOrderToWholesaler.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a13" endpoint="activity" svg-label="Order to Wholesaler"> - <parameters> - <label>"Order to Wholesaler"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-EC19A8E6-8F40-4F7A-AE44-471A775AE5BC'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_OrderToWholesaler.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a22" endpoint="activity" svg-label="automatic order management system"> - <parameters> - <label>"automatic order management system"</label> - <method/> - <type>:task</type> - <mid>'sid-F7E23A29-6BE3-4E19-BD30-CF9E1D67FA9D'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productExist.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a23" endpoint="activity" svg-label="analyse Order"> - <parameters> - <label>"analyse Order"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-BD3670C9-1BF4-4757-9E01-18CB1A266396'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productAnalyse.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <choose mode="exclusive" svg-label=""> - <otherwise svg-label=""> - <call id="a18" endpoint="activity" svg-label="more than 10 days to arrive"> - <parameters> - <label>"more than 10 days to arrive"</label> - <method/> - <type>:intermediateCatchEvent</type> - <mid>'sid-A0777023-6600-411A-9219-1EC8C73AA060'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_productMoreTenDays.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </otherwise> - <otherwise svg-label=""> - <call id="a19" endpoint="" svg-label="pack order"> - <parameters> - <label>"pack order"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-775863BE-8D29-4E31-B680-0AAF13FF034C'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </otherwise> - </choose> - <call id="a20" endpoint="activity" svg-label="ship order"> - <parameters> - <label>"ship order"</label> - <method/> - <type>:serviceTask</type> - <mid>'sid-D06C4D11-F2BF-4A4B-BEE5-7713B74C14BB'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_sendorderToHandel.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a15" endpoint="activity" svg-label="Product has arrived"> - <parameters> - <label>"Product has arrived"</label> - <method/> - <type>:intermediateCatchEvent</type> - <mid>'sid-AF30D5E7-E6C3-46BB-B5CB-02271161F927'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_orderInHandel.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </loop> - <parallel wait="-1" svg-label=""> - <parallel_branch svg-label=""> - <call id="a6" endpoint="activity" svg-label="create bill"> - <parameters> - <label>"create bill"</label> - <method/> - <type>:sendTask</type> - <mid>'sid-2D16EA3E-6B40-4A50-9B84-F8F94C412BDA'</mid> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_createBill.html"</form> - <role>"Sachbearbeiter"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </parallel_branch> - <parallel_branch svg-label=""> - <call id="a7" endpoint="activity" svg-label="pack order"> - <parameters> - <label>"pack order"</label> - <method/> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_packorder.html"</form> - <role>"Assistent"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - </parallel_branch> - </parallel> - <call id="a9" endpoint="activity" svg-label="ship order"> - <parameters> - <label>"ship order"</label> - <method/> - <parameters> - <form>"http://wwwlab.cs.univie.ac.at/~a0248291/worklist/f_shipOrder.html"</form> - <role>"Chef"</role> - </parameters> - </parameters> - <finalize output="result"> - data.status = result['status'] - </finalize> - </call> - <call id="a30" endpoint="timeout" svg-label="Customer getted order"> - <parameters> - <label>"Customer getted order"</label> - <method/> - <parameters> - <timeout>1</timeout> - </parameters> - </parameters> - </call> - </alternative> - <otherwise svg-label=""/> - </choose> - </description> + <description xmlns="http://cpee.org/ns/description/1.0"/> </description> <transformation> <description type="copy"/> <dataelements type="none"/> <endpoints type="none"/> \ No newline at end of file