raster-foundry / granary

Open source repo for AI-supported information feeds

Home Page:https://raster-foundry.github.io/granary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sign S3 URLs for `outputLocation` in Predictions

notthatbreezy opened this issue · comments

Tasking manager's frontend is going to need to be able to download results for the models it kicks off. It won't have access to S3. In that case we'll need the API to try to sign S3 URLs when they're used in the outputLocation field for predictions.

Acceptance Criteria

If an S3 URL is present in outputLocation we try to sign it, if it fails we return the original S3 URL