Skip to content
Snippets Groups Projects
Commit a5f230ba authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-261: added cleanup task/subtask templates, initially with no parameters

parent 16e08d40
No related branches found
No related tags found
1 merge request!409Resolve TMSS-261
...@@ -61,7 +61,7 @@ class SubtaskType(AbstractChoice): ...@@ -61,7 +61,7 @@ class SubtaskType(AbstractChoice):
INSPECTION = "inspection" INSPECTION = "inspection"
QA_FILES = "qa_files" # task which creates "adder" QA h5 file(s) from a MeasurementSet of beamformed data QA_FILES = "qa_files" # task which creates "adder" QA h5 file(s) from a MeasurementSet of beamformed data
QA_PLOTS = "qa_plots" # task which creates "adder" QA plots from an "adder" QA h5 file h5 QA_PLOTS = "qa_plots" # task which creates "adder" QA plots from an "adder" QA h5 file h5
DELETION = "deletion" CLEANUP = "cleanup"
MANUAL = 'manual' MANUAL = 'manual'
OTHER = 'other' OTHER = 'other'
......
{
"$id":"http://tmss.lofar.org/api/schemas/subtasktemplate/cleanup/1#",
"$schema": "http://json-schema.org/draft-06/schema#",
"title":"cleanup",
"description":"This schema defines the parameters to setup and control a dataproducts cleanup subtask.",
"version":1,
"type": "object",
"properties": {
},
"required": [
]
}
{
"$id": "http://tmss.lofar.org/api/schemas/tasktemplate/cleanup/1#",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "cleanup",
"description": "This schema defines the parameters to setup a dataproduct(s) cleanup task.",
"version": 1,
"type": "object",
"properties": {
},
"required": [
]
}
...@@ -159,11 +159,21 @@ ...@@ -159,11 +159,21 @@
"template": "subtask_template", "template": "subtask_template",
"type": "ingest" "type": "ingest"
}, },
{
"file_name": "subtask_template-cleanup-1.json",
"template": "subtask_template",
"type": "cleanup"
},
{ {
"file_name": "task_template-ingest-1.json", "file_name": "task_template-ingest-1.json",
"template": "task_template", "template": "task_template",
"type": "ingest" "type": "ingest"
}, },
{
"file_name": "task_template-cleanup-1.json",
"template": "task_template",
"type": "cleanup"
},
{ {
"file_name": "reservation_template-reservation-1.json", "file_name": "reservation_template-reservation-1.json",
"template": "reservation_template" "template": "reservation_template"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment