Closed phwissmann closed 1 week ago
Does this need to update the job in the database, or does the result just get passed through to the actions triggered by the status update?
After discussion, we believe that this should be included in the job.schema (thus persisted in the database) and the jobStatusUpdate.dto (allowing it to be set by the archive system)
jobResultObject missing in jobs-release
Summary
jobResultObject (or an alternative) is missing in the
jobs-release
branch. Inmain
this was for example used to report urls for downloading retrieved datablocks:The code change seemed to have happened when changing
update-job.dto
tostatus-update-job.dto
, see https://github.com/SciCatProject/scicat-backend-next/blob/release-jobs/src/jobs/dto/status-update-job.dto.ts vs https://github.com/SciCatProject/scicat-backend-next/blob/master/src/jobs/dto/update-job.dto.ts