Create new job type for Source Image / Capture Collections
Add retry method for all jobs (!)
Adds a new job_type_key to Jobs as a basic way to associate a JobType class to a Job instance. Migrates existing jobs to use that field, which can now be used as a filter or in other DB queries.
Tested MLJobs, DataSyncJobs and new SourceImageCollectionSyncJobs. New ones and retries.
Future work:
Make the populate button aware of the created job
Show jobs associated to collections (links to jobs filters from collections, deployment (data sync jobs), session detail page (single capture jobs).
job_type_key
to Jobs as a basic way to associate a JobType class to a Job instance. Migrates existing jobs to use that field, which can now be used as a filter or in other DB queries.Tested MLJobs, DataSyncJobs and new SourceImageCollectionSyncJobs. New ones and retries.
Future work: