SwarmPlayer is now detected; CIS-LB random load balancer created
[living-lab-site.git] / cis / post-json.sh
1 #!/usr/bin/env bash
2
3 if [ $# -ne 1 ]; then
4         echo "usage: $0 json_file" >&2
5         exit 1
6 fi
7
8 JSON_FILE="$1"
9 #CIS_URL="http://p2p-next-03.grid.pub.ro:8080/"
10 CIS_URL="http://localhost:31500/"
11
12 curl -H 'Content-Type: application/json' --data-binary @"$JSON_FILE" ${CIS_URL}ingest_content