diff --git a/SAS/TMSS/frontend/tmss_webapp/prepareTemplateSchemas.js b/SAS/TMSS/frontend/tmss_webapp/prepareTemplateSchemas.js index 4c72cc658da646100ab35c093176c33c3015d69e..bda77a7f159e03541eafdd9889073cd7676aa2cf 100644 --- a/SAS/TMSS/frontend/tmss_webapp/prepareTemplateSchemas.js +++ b/SAS/TMSS/frontend/tmss_webapp/prepareTemplateSchemas.js @@ -175,6 +175,17 @@ getTemplateFiles('../../../../install/opt/lofar/share/tmss/schemas').then(async( strategyTemplate.type = "http://localhost:3000/api/task_type/ingest"; strategyTemplate.type_value = "ingest"; } + + + // commented out on purpose to determine Total Test Failures without this fix. + /* + if (taskTemplate?.schema?.properties?.station_configuration) { taskTemplate.schema.properties.station_configuration["$ref"] = "#/definitions/station_configuration"; } + if ( taskTemplate?.schema?.properties?.QA) taskTemplate.schema.properties.QA["$ref"] = "#/definitions/QA"; + if ( taskTemplate?.schema?.properties?.duration) taskTemplate.schema.properties.duration["$ref"] = "#/definitions/duration"; + if ( taskTemplate?.schema?.properties?.calibrator) taskTemplate.schema.properties.calibrator["$ref"] = "#/definitions/calibrator"; + if ( taskTemplate?.schema?.properties?.correlator) taskTemplate.schema.properties.correlator["$ref"] = "#/definitions/correlator"; + */ + index++; templates.push(strategyTemplate); }