Improve veda loader method that updates the summaries and extents of all items in a collection with a new collection_temporal_extent_max function that includes the maximum item end_datetime which is significantly different from an item's nominal datetime in collections of items that represent an entire year or range or dates.
Removes ingest api large number test that is no longer needed because we no longer convert json values for the DDB schema.
Pins fastapi at for ingest api tests (tech debt). Note that python-multipart is pinned at the new and secure version so it is still OK for us to use older versions of fastapi and starlette for now.
Sets moto version to fix tests.
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.
What
collection_temporal_extent_max
function that includes the maximum itemend_datetime
which is significantly different from an item's nominaldatetime
in collections of items that represent an entire year or range or dates.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.