summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-08-01 13:17:27 +0200
committerBjörn Mattsson <bjorn@sunet.se>2023-08-01 13:17:27 +0200
commit54bcdf1ee06ee16baa2a70d6788bc4b59053ccce (patch)
treeda1bb81f364093304d658e6687aa3f07334db0c0
parentd505ac64c4420df927ce8a1f24db2f337c6fe426 (diff)
Move ExtrenalEnties into DB to not get memoryproblemsmd-2023-08-01-v01
-rwxr-xr-xmetadata/scripts/update-and-validate.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/metadata/scripts/update-and-validate.sh b/metadata/scripts/update-and-validate.sh
index 628a2f0b..4cd286b2 100755
--- a/metadata/scripts/update-and-validate.sh
+++ b/metadata/scripts/update-and-validate.sh
@@ -27,9 +27,11 @@ update()
# Cleanup Pending-queue
docker exec swamid-metadata-sp php /var/www/scripts/cleanupPending.php
+
+ # to be able to show non-swamid entities on web-page
+ wget -qO swamid-2.0.xml https://mds.swamid.se/md/swamid-2.0.xml
+ docker exec swamid-metadata-sp php /var/www/scripts/updateExternalEntities.php
}
cd /opt/metadata || exit 1
update
-# to be able to show non-swamid entities on web-page
-wget -qO swamid-2.0.xml https://mds.swamid.se/md/swamid-2.0.xml