Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Maintenance Update #3

Open
adambreznicky opened this issue Jul 25, 2018 · 1 comment
Open

Maintenance Update #3

adambreznicky opened this issue Jul 25, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@adambreznicky
Copy link
Contributor

update ls4-maintenance function to cleanup based on deleted .tifs
this may be better as another function, triggered by the s3 bucket on file deletion. if a file is deleted, all it's associates should be deleted too:

  • /scanned
  • /georef
  • /deflate - .tif and .tif.ovr
  • /cog
  • tile index record in RDS

if an entire service of .tifs is deleted, the mapfile and complete table is RDS should go away also

@adambreznicky adambreznicky added the enhancement New feature or request label Jul 26, 2018
@adambreznicky
Copy link
Contributor Author

secondly, update ls4-maintenance to check if there are files in the /georef folder without having it's original in the /scanned folder. if not, then send notification to RDS to upload the original, plain scanned copy of that image. This will not apply to mosaics since they have no originals and no /scanned folder. This also won't apply to the /StratMap/... structure in s3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant