-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
#!/bin/bash
#set -ex
# Download requests from S3
for d in */ ; do
cmd="aws s3 cp s3://aodn-private/WPS/geoserver_wps/${d::-1}/request.dat ${d::-1}.xml"
echo "$cmd"
#eval "$cmd"
done
# Submit requests to wps
i=0
for f in *.xml ; do
i=$(expr $i + 1)
file="wps${i}.xml"
echo "Preparing $file"
update_email="sed 's/@.*[.]/@/' ${f} > ${file}"
echo "removing email"
eval "$update_email"
eval "rm ${f}"
wps_req='curl -d@${file} --header "Expect:" --header "Content-Type: application/xml" http://geoserver-wps-systest$
echo "$wps_req"
eval "$wps_req"
eval "rm ${file}"
done
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels