#!/bin/sh echo 'Sending 3 Widgets to London from Node A to Node B' sleep 5 echo '{"orderNumber": "1","deliveryDate": "2018-09-15","deliveryAddress": {"city": "London","country": "UK"},"items" : [{"name": "Banjo","amount": "3"},{"name": "thing","amount": "4"}]}' | curl -T - -H 'Content-Type: application/json' http://localhost:10005/api/example/NodeB/create-purchase-order echo 'Sending 3 Coals to Newcastle from Node A to Node B' sleep 5 echo '{"orderNumber": "1","deliveryDate": "2018-09-15","deliveryAddress": {"city": "Newcastle","country": "UK"},"items" : [{"name": "Coals","amount": "3"},{"name": "thing","amount": "4"}]}' | curl -T - -H 'Content-Type: application/json' http://localhost:10005/api/example/NodeB/create-purchase-order echo 'Sending 3 Flutes to Featherstone from Node A to Node C' sleep 5 echo '{"orderNumber": "1","deliveryDate": "2018-09-15","deliveryAddress": {"city": "Featherstone","country": "UK"},"items" : [{"name": "Flutes","amount": "3"},{"name": "thing","amount": "4"}]}' | curl -T - -H 'Content-Type: application/json' http://localhost:10005/api/example/NodeC/create-purchase-order echo 'Sending 3 Chickens to Chichester from Node A to Node C' sleep 5 echo '{"orderNumber": "1","deliveryDate": "2018-09-15","deliveryAddress": {"city": "Chichester","country": "UK"},"items" : [{"name": "Chickens","amount": "3"},{"name": "thing","amount": "4"}]}' | curl -T - -H 'Content-Type: application/json' http://localhost:10005/api/example/NodeC/create-purchase-order echo 'Sending 3 Greyhounds to Glasgow from Node B to Node C' sleep 5 echo '{"orderNumber": "1","deliveryDate": "2018-09-15","deliveryAddress": {"city": "Glasgow","country": "UK"},"items" : [{"name": "Greyhounds","amount": "3"},{"name": "thing","amount": "4"}]}' | curl -T - -H 'Content-Type: application/json' http://localhost:10007/api/example/NodeC/create-purchase-order echo 'Sending 3 Donkeys to Doncaster from Node B to Node C' sleep 5 echo '{"orderNumber": "1","deliveryDate": "2018-09-15","deliveryAddress": {"city": "Doncaster","country": "UK"},"items" : [{"name": "Donkeys","amount": "3"},{"name": "thing","amount": "4"}]}' | curl -T - -H 'Content-Type: application/json' http://localhost:10007/api/example/NodeC/create-purchase-order