Added startup script for metadata feedback

This commit is contained in:
Gerhard Salvini 2025-02-05 14:30:24 +01:00
parent ed95dff63e
commit 6c71a83e70
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/bash
log INFO "######################################### Metadata feedback script was found by Bridgehead"
if [ "$ENABLE_FEEDBACK_AGENT" == true ]; then
log INFO "######################################### Metadata feedback setup detected -- will start Feedback service."
OVERRIDE+=" -f ./$PROJECT/modules/feedback-agent-compose.yml"
FEEDBACK_AGENT_BEAM_SECRET="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
FEEDBACK_AGENT_DB_PASSWORD="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
fi

View File

@ -0,0 +1,6 @@
# Metadata feedback agent
This component can be used to choose the sample to be associated
with a given piece of metadata (generally the ID of a publication
relating to research done with the sample).