NHMDenmark / DaSSCo-Integration

This Repo will include integration of dassco storage from northtec
0 stars 0 forks source link

Checking if an asset is a device target and should NOT be send to cropping and derivative modules will be handled on integration server. #111

Open Baeist opened 3 weeks ago

Baeist commented 3 weeks ago
          Checking if an asset is a device target and should NOT be send to cropping and derivative modules will be handled on integration server.

Originally posted by @ThomasAlscher1991 in https://github.com/NHMDenmark/DaSSCo-Image-Refinery/issues/253#issuecomment-2295876533

We want to remove the asset from the pipeline once it has been identified as a asset_subject: "device target" --- this should happen before the status of the job gets updated.

ThomasAlscher1991 commented 3 weeks ago

Do you mean the job status of barcodeReader?

Baeist commented 3 weeks ago

Yes, this is so the asset wont get send to the next job in line before the jobs are eliminated from the job list.

Baeist commented 3 weeks ago

Implemented this in the development branch. It is easy to add more asset subject types that should be handled differently than the typical assets. Could fex. see labels also not needing to be cropped etc.