From fedde87d80a928e58aa2a1ca70653e4b2dd238a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Rodr=C3=ADguez?= <36035218+grojeda@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:53:01 +1100 Subject: [PATCH] fix: remove hardcoded mooring citation from download email The job-started email template carried a static paragraph with citation requirements for the Ningaloo (TAN100) and Ocean Reference Station 65m (ORS065) moorings, so it was sent with every download regardless of the dataset. Remove that paragraph; keep the generic IMOS acknowledgement and the "as is" disclaimer untouched. Add a regression test asserting the generated email no longer contains the mooring-specific text. Refs aodn/backlog#9241 --- .../src/main/resources/job-started-email.html | 1 - .../server/processes/RestServicesTest.java | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/server/src/main/resources/job-started-email.html b/server/src/main/resources/job-started-email.html index e94c0f42d..27c0dd48e 100644 --- a/server/src/main/resources/job-started-email.html +++ b/server/src/main/resources/job-started-email.html @@ -1459,7 +1459,6 @@
If using data from the Ningaloo (TAN100) mooring, please add to the citation - "Department of Jobs, Tourism, Science and Innovation (DJTSI), Western Australian Government". If using data from the Ocean Reference Station 65m (ORS065) mooring, please add to the citation - "Sydney Water Corporation".
Data, products and services from IMOS are provided "as is" without any warranty as to fitness for a particular purpose. By using this data you are accepting the license agreement and terms specified above. You accept all risks and responsibility for losses, damages, costs and other consequences resulting directly or indirectly from using this site and any information or material available from it.