SciCatProject / backend-v3

SciCat Data Catalogue Backend
https://scicatproject.github.io/documentation/
BSD 3-Clause "New" or "Revised" License
13 stars 17 forks source link

Retrieve links #714

Closed minottic closed 1 year ago

minottic commented 1 year ago

Description

Add to the rendered template sent via email when job successful, the links to download the data, in case the jobResults.result is an object of HTTP URLs. Also, the additional message can be as well moved to the results section, making it more customisable.

Changes:

Tests included/Docs Updated?

stephan271 commented 1 year ago

That requires the additional message to come from the system sending the URLs . That is verry flexible but may be asking for too much from the sender. Shouldnt that text rather be in a configuration file ?

minottic commented 1 year ago

indeed. This would be one "general" solution, before following the route of allowing more custom templates. Having it in a configuration file it is not super trivial as it depends on the destination, which is PSI specific

minottic commented 1 year ago

superseded by #715