-
Notifications
You must be signed in to change notification settings - Fork 9
/
part01_DataInitiation.sh
executable file
·34 lines (28 loc) · 2.01 KB
/
part01_DataInitiation.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
echo "Part01 Data Initiation"
echo "" | faas-cli invoke init-auth-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-config-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-contacts-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-inside-payment-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-order-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-payment-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-price-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-route-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-security-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-station-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-train-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-travel-mongo --gateway http://10.141.212.140:31112
echo "" | faas-cli invoke init-user-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-auth-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-config-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-contacts-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-inside-payment-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-order-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-payment-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-price-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-route-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-security-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-station-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-train-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-travel-mongo --gateway http://10.141.212.140:31112
faas-cli remove init-user-mongo --gateway http://10.141.212.140:31112
echo "Done"