Skip to content

Commit

Permalink
ci: show thesauri loaded in docker compose init
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Jul 30, 2024
1 parent 0e37a8b commit e898909
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions support-services/docker-entrypoint.d/04-upload-thesauri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ do
echo ""
done

curl "http://$host/geonetwork/srv/fre/thesaurus?_content_type=json" \
-H 'Accept: application/json, text/plain, */*' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json, text/plain, */*' \
-H "Cookie: JSESSIONID=$jsessionid; XSRF-TOKEN=$xsrf_token" \
-H "X-XSRF-TOKEN: $xsrf_token"

echo ""
echo "Thesauri uploaded to GeoNetwork."

0 comments on commit e898909

Please sign in to comment.