# 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/ -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/ -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/ -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/ -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/ -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/ -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/ -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