hotosm / oam-uploader-api

DEPRECIATED - The OAM Uploader API server
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

adjust for temp bucket #76

Closed smit1678 closed 7 years ago

smit1678 commented 7 years ago

PR into the current uploads branch to make adjustments for storing imagery in a temp bucket from direct uploads. This factors for erroneous imagery that is uploaded. Instead of uploading directly to the OIN bucket, it goes to a temp bucket before it is then processed. The temp bucket can then be clear periodically to keep storage costs low.

Matching changes made on the frontend Uploader.

This was tested and works. 👍

@nbumbarger @danielfdsilva Can you double check the changes before we merge this into the current uploads branch?