unity-sds / unity-sps-prototype

Apache License 2.0
2 stars 7 forks source link

[New Feature]: Send SNS message for job completion task #187

Open LucaCinquini opened 1 year ago

LucaCinquini commented 1 year ago

Create a task that, when a job execution is completed, will send a message to an SNS topic with all the relevant information. The functionality needs to be packaged as a Docker container and invoked as a CWL workflow.

LucaCinquini commented 1 year ago

The same Docker container that is mused to send the job creation message can also be used to update its status. The wrapper workflow calls them both before and after the CHIRP execution.

rtapella commented 1 year ago

Does "completion" include failure/error? Is it the same topic?

LucaCinquini commented 1 year ago

Yes, it should definitely include notification to the database in case of error.