From 8104711075101b84d35dad9bb800a4a0d520097e Mon Sep 17 00:00:00 2001 From: Croft Date: Wed, 6 Mar 2024 11:26:07 +0100 Subject: [PATCH 1/3] Allow user to push star model facts to Directory This takes advantage of new functionality added to Directory sync. Defaults to false. --- bbmri/modules/directory-sync-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bbmri/modules/directory-sync-compose.yml b/bbmri/modules/directory-sync-compose.yml index 9776ecb..99cb467 100644 --- a/bbmri/modules/directory-sync-compose.yml +++ b/bbmri/modules/directory-sync-compose.yml @@ -6,3 +6,4 @@ services: DS_DIRECTORY_USER_NAME: ${DS_DIRECTORY_USER_NAME} DS_DIRECTORY_PASS_CODE: ${DS_DIRECTORY_PASS_CODE} DS_TIMER_CRON: ${DS_TIMER_CRON} + DS_DIRECTORY_ALLOW_STAR_MODEL: ${DS_DIRECTORY_ALLOW_STAR_MODEL} From 1a928e670187ae3c29a75d576df4406cbfa02c70 Mon Sep 17 00:00:00 2001 From: Croft Date: Wed, 6 Mar 2024 11:35:17 +0100 Subject: [PATCH 2/3] Included the new functionality into the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 05038ae..4f03fd5 100644 --- a/README.md +++ b/README.md @@ -298,6 +298,8 @@ Once you have added your biobank to the Directory you got persistent identifier The Bridgehead's **Directory Sync** is an optional feature that keeps the Directory up to date with your local data, e.g. number of samples. Conversely, it also updates the local FHIR store with the latest contact details etc. from the Directory. You must explicitly set your country specific directory URL, username and password to enable this feature. +You should talk with your local data protection group regarding the information that is published by Directory sync. + Full details can be found in [directory_sync_service](https://github.com/samply/directory_sync_service). To enable it, you will need to set these variables to the ```bbmri.conf``` file of your GitLab repository. Here is an example config: @@ -306,6 +308,7 @@ To enable it, you will need to set these variables to the ```bbmri.conf``` file DS_DIRECTORY_URL=https://directory.bbmri-eric.eu DS_DIRECTORY_USER_NAME=your_directory_username DS_DIRECTORY_USER_PASS=qwdnqwswdvqHBVGFR9887 +DS_DIRECTORY_ALLOW_STAR_MODEL=true DS_TIMER_CRON="0 22 * * *" ``` You must contact the Directory team for your national node to find the URL, and to register as a user. From 8942b923b38efd16ae49bb03f6712e944dc1cd28 Mon Sep 17 00:00:00 2001 From: DavidCroftDKFZ <46788708+DavidCroftDKFZ@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:57:40 +0200 Subject: [PATCH 3/3] Added comment for consistency with Directory Sync README --- bbmri/modules/directory-sync-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bbmri/modules/directory-sync-compose.yml b/bbmri/modules/directory-sync-compose.yml index da329f8..60998f3 100644 --- a/bbmri/modules/directory-sync-compose.yml +++ b/bbmri/modules/directory-sync-compose.yml @@ -8,4 +8,5 @@ services: DS_DIRECTORY_USER_NAME: ${DS_DIRECTORY_USER_NAME} DS_DIRECTORY_PASS_CODE: ${DS_DIRECTORY_PASS_CODE} DS_TIMER_CRON: ${DS_TIMER_CRON} + # It is recommended to check the enabling of this flag with your local data protection group DS_DIRECTORY_ALLOW_STAR_MODEL: ${DS_DIRECTORY_ALLOW_STAR_MODEL}