Skip to content

Commit

Permalink
Updating the post-deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Jan 22, 2025
1 parent 2e1326e commit a6f0248
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/post_deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ do
echo " "
proc_name=$(echo "$proc" | sed "s/.json//")

# unregister process (in case it was already registered)
echo "Unregistering process: $proc_name"
curl -k -X DELETE -H "Content-Type: application/json; charset=utf-8" "${WPST_API}/processes/${proc_name}"

# register process
echo "Registering process: $proc_name"
curl -k -v -X POST -H "Expect:" -H "Content-Type: application/json; charset=utf-8" --data-binary @"../ogc-application-packages/$proc" "${WPST_API}/processes"

# unregister process
#echo "Unregistering process: $proc_name"
#curl -k -X DELETE -H "Content-Type: application/json; charset=utf-8" "${WPST_API}/processes/${proc_name}"

done

0 comments on commit a6f0248

Please sign in to comment.