From 5c3860d7a735e4fe934a7ba07fd51324f48587bc Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Mon, 7 Dec 2020 16:25:04 +0100
Subject: [PATCH] TMSS-320: ingest all output dataproducts of all UC1 pipelines

---
 ...-scheduling-unit-observation-strategy.json | 70 +++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/SAS/TMSS/src/tmss/tmssapp/schemas/UC1-scheduling-unit-observation-strategy.json b/SAS/TMSS/src/tmss/tmssapp/schemas/UC1-scheduling-unit-observation-strategy.json
index ac216fa1195..9763e45af29 100644
--- a/SAS/TMSS/src/tmss/tmssapp/schemas/UC1-scheduling-unit-observation-strategy.json
+++ b/SAS/TMSS/src/tmss/tmssapp/schemas/UC1-scheduling-unit-observation-strategy.json
@@ -198,6 +198,12 @@
         "storagemanager": "dysco"
       },
       "specifications_template": "preprocessing pipeline"
+    },
+    "Ingest": {
+      "description": "Ingest all preprocessed dataproducts",
+      "tags": [],
+      "specifications_doc": {},
+      "specifications_template": "ingest"
     }
   },
   "task_relations": [
@@ -272,6 +278,70 @@
         ]
       },
       "selection_template": "SAP"
+    },
+    {
+      "producer": "Pipeline 1",
+      "consumer": "Ingest",
+      "tags": [],
+      "input": {
+        "role": "input",
+        "datatype": "visibilities"
+      },
+      "output": {
+        "role": "correlator",
+        "datatype": "visibilities"
+      },
+      "dataformat": "MeasurementSet",
+      "selection_doc": {},
+      "selection_template": "all"
+    },
+    {
+      "producer": "Pipeline 2",
+      "consumer": "Ingest",
+      "tags": [],
+      "input": {
+        "role": "input",
+        "datatype": "visibilities"
+      },
+      "output": {
+        "role": "correlator",
+        "datatype": "visibilities"
+      },
+      "dataformat": "MeasurementSet",
+      "selection_doc": {},
+      "selection_template": "all"
+    },
+    {
+      "producer": "Pipeline target1",
+      "consumer": "Ingest",
+      "tags": [],
+      "input": {
+        "role": "input",
+        "datatype": "visibilities"
+      },
+      "output": {
+        "role": "correlator",
+        "datatype": "visibilities"
+      },
+      "dataformat": "MeasurementSet",
+      "selection_doc": {},
+      "selection_template": "all"
+    },
+    {
+      "producer": "Pipeline target2",
+      "consumer": "Ingest",
+      "tags": [],
+      "input": {
+        "role": "input",
+        "datatype": "visibilities"
+      },
+      "output": {
+        "role": "correlator",
+        "datatype": "visibilities"
+      },
+      "dataformat": "MeasurementSet",
+      "selection_doc": {},
+      "selection_template": "all"
     }
   ],
   "task_scheduling_relations": [
-- 
GitLab