From dfba75058f514428fe6984114a4712053fdefa91 Mon Sep 17 00:00:00 2001 From: mishaschwartz <4380924+mishaschwartz@users.noreply.github.com> Date: Thu, 6 Feb 2025 15:28:55 -0500 Subject: [PATCH] update stac to version 1.0.0 --- CHANGES.md | 12 +++++++++++- birdhouse/components/stac/default.env | 8 +++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 744ae1185..4cbdc2b71 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,7 +15,17 @@ [Unreleased](https://github.com/bird-house/birdhouse-deploy/tree/master) (latest) ------------------------------------------------------------------------------------------------------------------ -[//]: # (list changes here, using '-' for each new entry, remove this when items are added) +## Changes + +- STAC: update `stac` component to version [1.0.0](https://github.com/crim-ca/stac-app/releases/tag/1.0.0) + + This update makes the `/queryables` endpoint run much more quickly by stashing the queryables data in the + database instead of building it from scratch every time the `/queryables` endpoint was accessed. + + It also adds two new endpoints `PATCH /queryables` and `PATCH /summaries` which automatically update the + queryables and collection summaries based on the data that is currently present in the database. See the + [documentation](https://github.com/crim-ca/stac-app/blob/040d350ade758871b6e95db9c86c04202433ef0e/README.md) + for more details. [2.9.0](https://github.com/bird-house/birdhouse-deploy/tree/2.9.0) (2025-02-03) ------------------------------------------------------------------------------------------------------------------ diff --git a/birdhouse/components/stac/default.env b/birdhouse/components/stac/default.env index 97b31cb0e..1bdeb3332 100644 --- a/birdhouse/components/stac/default.env +++ b/birdhouse/components/stac/default.env @@ -3,11 +3,9 @@ export STAC_POSTGRES_PASSWORD='${BIRDHOUSE_POSTGRES_PASSWORD}' export STAC_PGUSER='${BIRDHOUSE_POSTGRES_USERNAME}' export STAC_PGPASSWORD='${BIRDHOUSE_POSTGRES_PASSWORD}' -# 'main' branch points at https://github.com/stac-utils/stac-fastapi/commit/d53e792 -# (see: https://github.com/crim-ca/stac-app/blob/40cad1aa7a094d58fca2d3184182761e248f781d/Dockerfile#L15-L20) -# which corresponds to 2.4.3 release -export STAC_VERSION=2.4.3-crim-main -export STAC_IMAGE='ghcr.io/crim-ca/stac-app:main' +# crim-ca/stac-app:1.0.0 uses STAC-fastapi version 3.0.3 +export STAC_VERSION=3.0.3-crim-1.0.0 +export STAC_IMAGE='ghcr.io/crim-ca/stac-app:1.0.0' export STAC_IMAGE_URI='${STAC_IMAGE}' # 'docker_image_push' branch points at https://github.com/crim-ca/stac-browser/tree/docker_image_push