summaryrefslogtreecommitdiff
path: root/tests/perf-tests/orchestration-tests.txt
blob: 32d9993c098e005baa4e3ee0c95df6c0b8b10245 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# For testing locally on WC Lab VM
curl -v http://localhost:8000/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-test1.json
curl -v http://localhost:8000/orchestration/image-upload/<> -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/status -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/images/<>/status -X GET
curl -v http://localhost:8000/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json
curl -v http://localhost:8000/orchestration/setup-cluster/<> -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/site-details -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -v http://localhost:8000/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

# For testing against WC Lab VM from Jump server with Django app deployed to Apache
curl -v http://192.168.31.20/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-test1.json
curl -v http://192.168.31.20/orchestration/image-upload/<> -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/status -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/images/<>/status -X GET
curl -v http://192.168.31.20/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json
curl -v http://192.168.31.20/orchestration/setup-cluster/<> -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/site-details -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -v http://192.168.31.20/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

# For testing against WCLab middleware endpoint
curl -kv http://middleware.hqplan.lab/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-test1.json
curl -kv http://middleware.hqplan.lab/orchestration/image-upload/<> -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/status -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/images/<>/status -X GET
curl -kv http://middleware.hqplan.lab/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json
curl -kv http://middleware.hqplan.lab/orchestration/setup-cluster/<> -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/site-details -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -kv http://middleware.hqplan.lab/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

# For testing on production app server (app1) via ssh/django proxy
curl -kv http://localhost:18000/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-prod.json
curl -kv http://localhost:18000/orchestration/image-upload/<> -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/status -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/images/<>/status -X GET
curl -kv http://localhost:18000/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json
curl -kv http://localhost:18000/orchestration/setup-cluster/<> -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/site-details -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -kv http://localhost:18000/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

# For testing locally on production app server (app1 or app2)
curl -kv 127.0.0.1/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-prod.json
curl -kv 127.0.0.1/orchestration/image-upload/<> -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/status -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/images/<>/status -X GET
curl -kv 127.0.0.1/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json
curl -kv 127.0.0.1/orchestration/setup-cluster/<> -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/site-details -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -kv 127.0.0.1/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

# For testing against production endpoint
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-prod.json
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/image-upload/<> -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/status -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/images/<>/status -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/setup-cluster/<> -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/site-details -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

# For testing against middleware2 endpoint
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/image-upload -X POST -H "Content-Type: application/json" -d @data-ss-prod.json
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/image-upload/<> -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/status -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/images/<>/status -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/images/<>/tags/<> -X DELETE	
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/setup-cluster/<> -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/site-details -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/<>/setup-network -X GET (this should be PUT)
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details?team=orchestration -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details?team=application -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details?team=samsung -X GET
curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/<>/connection-details/<transaction_id> -X GET

curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/caas-status -X POST -H "Content-Type: application/json" -d @caas-status.json

curl -kv https://middleware2.vcpfe.vzwops.com/orchestration/remote-regions/wsbomagj-d666654-001/images/vzw-adpf-dip/tags/svr20aa5vvzwg06a4_r06 -X DELETE

curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/wsbomagj-d674811-001/site-details -X GET
curl -kv https://middleware.vcpfe.vzwops.com/orchestration/remote-regions/wsbomagj-d666654-001/site-details -X GET | python -m json.tool