NASA-IMPACT / veda-backend

Backend services for VEDA
Other
13 stars 5 forks source link

fix(db)!: update collection summaries on load items #344

Closed anayeaye closed 8 months ago

anayeaye commented 8 months ago

What

Note This requires incrementing VEDA_DB_SCHEMA_VERSION to cause the dashboard schema update to run so I am making it a breaking change.

How tested

I removed the latest date from the geoglam collection's temporal extent and datetime summaries then ingested a single item to /ingestions which triggered both the summaries and extent functions to be executed. Verified in dev.openveda.cloud/api/stac/collections/geoglam.

anayeaye commented 8 months ago

Ingest api tests are now failing with the same moto version issue that @stephenkilbourn has been fighting I think. I will dig into that next, too.