Closed johnbradley closed 5 years ago
Adds api/v2/job-templates/validate endpoint that receives a job template and validates it. Changes serializer used by api/v2/job-templates/create-job endpoint to perform this validation as well.
api/v2/job-templates/validate
api/v2/job-templates/create-job
Adds job template logic from bespin-cli: https://github.com/Duke-GCB/bespin-cli/blob/6138a5432f60d02791784ffc2b7876db06fe5bf7/bespin/jobtemplate.py New changes to this existing logic include validating that the job_order in the job template has the expected keys based on the user fields derived from the specified WorkflowVersion and WorkflowConfiguration.
job_order
Adds
api/v2/job-templates/validate
endpoint that receives a job template and validates it. Changes serializer used byapi/v2/job-templates/create-job
endpoint to perform this validation as well.Adds job template logic from bespin-cli: https://github.com/Duke-GCB/bespin-cli/blob/6138a5432f60d02791784ffc2b7876db06fe5bf7/bespin/jobtemplate.py New changes to this existing logic include validating that the
job_order
in the job template has the expected keys based on the user fields derived from the specified WorkflowVersion and WorkflowConfiguration.