Skip to content

feat: add collection status fields to the federation metadata#108

Draft
dalpasso wants to merge 15 commits into
mainfrom
dynamic-monitoring-of-collections
Draft

feat: add collection status fields to the federation metadata#108
dalpasso wants to merge 15 commits into
mainfrom
dynamic-monitoring-of-collections

Conversation

@dalpasso
Copy link
Copy Markdown
Collaborator

@dalpasso dalpasso commented Apr 24, 2026

Important: this PR uses the branch eodag-with-db as base. Leaving as draft until this branch is merged.

Add the collection status fields to the federation metadata as defined in https://github.com/Open-EO/openeo-api/blob/master/extensions/federation/README.md to the /collections endpoint:

  • status: online/offline;
  • last_status_check: time of the last status check;
  • last_successful_check: time of the last time the status check of the collection was successful.

The status of the backends is loaded on startup from the external STAC collection and it's stored in a dedicated column in the collection table (SQLite or PostgreSQL). This ensure the status is not lost in case of subsequent calls to upsert_collections().

CS-SI/eodag#2158 is required for this PR.

@dalpasso dalpasso force-pushed the dynamic-monitoring-of-collections branch from 20fd535 to 8d8d215 Compare April 27, 2026 14:47
@dalpasso dalpasso force-pushed the dynamic-monitoring-of-collections branch from 350516f to f1ea9cf Compare April 28, 2026 13:51
@dalpasso dalpasso changed the title feat: add federation extension feat: add collection status fields to the federation metadata May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants