Commit 99f3b3bd authored by Krit Punpreuk's avatar Krit Punpreuk

Add new file

parent bb5e3a10
Pipeline #1533 failed with stages
#!/bin/bash
BIGSTREAM_CONTROL_API="http://control_api:19980/v1.2/"
echo "------------------------------------------------"
echo "BIGSTREAM_CONTROL_API: ${BIGSTREAM_CONTROL_API}"
for file in job/*.json; do
curl -X POST --data @"$file" -H "Content-Type:application/json" "${BIGSTREAM_CONTROL_API}/jobs?reload=true" -w " <<< file: $file \n"
done
echo "Current job list: "
curl -X GET "$BIGSTREAM_CONTROL_API/jobs" -w "\n"
echo "------------------------------------------------"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment