From 210dea8a77584ed63b2bdfcddb9e05831fe642d9 Mon Sep 17 00:00:00 2001 From: Simon K <6615834+simon-20@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:09:44 +0100 Subject: [PATCH 1/2] docs: added note on re-running provisioning script --- azure-provision/azure-create-resources.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-provision/azure-create-resources.sh b/azure-provision/azure-create-resources.sh index 585bb1b..5e55a8c 100755 --- a/azure-provision/azure-create-resources.sh +++ b/azure-provision/azure-create-resources.sh @@ -92,10 +92,13 @@ echo echo "(Using subscription: $SUBSCRIPTION_ID)" echo echo -echo "**NOTE:** Before continuing you should ensure that there is a CNAME record created in Cloudflare" -echo " for subdomain $SUBDOMAIN on iatistandard.org pointing to " -echo " $HOST_FOR_CLOUDFLARE" +echo "**NOTE 1:** Before continuing you should ensure that there is a CNAME record created in Cloudflare" +echo " for subdomain $SUBDOMAIN on iatistandard.org pointing to " +echo " $HOST_FOR_CLOUDFLARE" echo +echo "**NOTE 2:** It is not (yet) safe to re-run this script for an instance which already exists. It will" +echo " fail at the point of database creation, because of how AZ handles creation of Postgres " +echo " servers." echo read -p "Do you want to continue? ([y]es or [n]o) " -n 1 -r From ad34155c0da601a255650098b3b8a17573a9df95 Mon Sep 17 00:00:00 2001 From: Simon K <6615834+simon-20@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:10:20 +0100 Subject: [PATCH 2/2] feat: add publisher_id to the minimal index --- src/bulk_data_service/dataset_indexing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bulk_data_service/dataset_indexing.py b/src/bulk_data_service/dataset_indexing.py index 6894570..1a549cf 100644 --- a/src/bulk_data_service/dataset_indexing.py +++ b/src/bulk_data_service/dataset_indexing.py @@ -125,6 +125,7 @@ def get_minimal_index_fields(context: dict) -> list[str]: return [ "id", "name", + "publisher_id", "publisher_name", "source_url", "hash",