nf-osi / jobs

0 stars 0 forks source link

Update job transitioning projects from "data pending" to "under embargo" #91

Open allaway opened 2 weeks ago

allaway commented 2 weeks ago

This project annotation/study annotation is often out of date, because we don't know when people upload data. it would be great to to have a job that transitions datastatus from Data Pending to Under Embargo. High level outline: runs once a week, retrieve study view for dataStatus = 'Data Pending' and then for each of those rows, check the project "Raw Data" folder for file entities, and if they are present, transition to "Under Embargo"

This job should not touch 'terminal' statuses like Data Not Expected or Available.

Update: This is currently running but not sending Slack notifications. James will be learning how to test the job, build image, add Slack notifications, and update with new image in Service Catalog.

allaway commented 2 weeks ago

Also, I might have filed this issue elsewhere...it sounds familiar to me. apologies of that's the case :)