From 53fbf8fb466a5962630ab7fc1fe073f385bec9bc Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Thu, 4 Dec 2025 21:16:41 +0100 Subject: [PATCH] Call run_queued_queries procedure. --- CHANGELOG.md | 6 +++--- .../templates/database/pgstacbootstrap/queue-processor.yaml | 2 +- charts/eoapi/tests/pgstac_config_tests.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 020be593..709e41f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,17 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Added documentation for cloud-native bucket access [#364](https://github.com/developmentseed/eoapi-k8s/pull/364) -- Removed unused testing variable and unused deploy script [#369](https://github.com/developmentseed/eoapi-k8s/pull/369) - ### Added - Added support for ConfigMap reference-based queryables configuration in addition to file-based queryables. Queryables can now be sourced from external ConfigMaps using `configMapRef`, from chart files using `file`, or a combination of both [#360](https://github.com/developmentseed/eoapi-k8s/pull/360) +- Added documentation for cloud-native bucket access [#364](https://github.com/developmentseed/eoapi-k8s/pull/364) +- Removed unused testing variable and unused deploy script [#369](https://github.com/developmentseed/eoapi-k8s/pull/369) ## Changed - Unified scripts and removed Makefile, combined all into one CLI command `eoapi-cli` [#359](https://github.com/developmentseed/eoapi-k8s/pull/359) - Added stac-auth-proxy for authentication and authorization on the STAC API [#358](https://github.com/developmentseed/eoapi-k8s/pull/358) +- Fixed call to run_queued_queries pgstac procedure call [#377](https://github.com/developmentseed/eoapi-k8s/pull/377) ## [0.8.0] - 2025-11-20 diff --git a/charts/eoapi/templates/database/pgstacbootstrap/queue-processor.yaml b/charts/eoapi/templates/database/pgstacbootstrap/queue-processor.yaml index 5b771dd1..839adf78 100644 --- a/charts/eoapi/templates/database/pgstacbootstrap/queue-processor.yaml +++ b/charts/eoapi/templates/database/pgstacbootstrap/queue-processor.yaml @@ -31,7 +31,7 @@ spec: - "/bin/sh" - "-c" - | - psql -c "RUN run_queued_queries();" + psql -c "CALL run_queued_queries();" env: {{- include "eoapi.postgresqlEnv" . | nindent 14 }} resources: diff --git a/charts/eoapi/tests/pgstac_config_tests.yaml b/charts/eoapi/tests/pgstac_config_tests.yaml index ae10884d..ff971799 100644 --- a/charts/eoapi/tests/pgstac_config_tests.yaml +++ b/charts/eoapi/tests/pgstac_config_tests.yaml @@ -98,7 +98,7 @@ tests: value: "*/15 * * * *" - matchRegex: path: spec.jobTemplate.spec.template.spec.containers[0].command[2] - pattern: "RUN run_queued_queries\\(\\);" + pattern: "CALL run_queued_queries\\(\\);" # Extent Updater Tests - it: should create extent updater when update_collection_extent is false