feat: add collection status fields to the federation metadata#108
Draft
dalpasso wants to merge 15 commits into
Draft
feat: add collection status fields to the federation metadata#108dalpasso wants to merge 15 commits into
federation metadata#108dalpasso wants to merge 15 commits into
Conversation
rename internal core method '_get_collection()' to '_format_collection()' remove label:assets if null
current eodag branch used in this branch does not have the required version
20fd535 to
8d8d215
Compare
350516f to
f1ea9cf
Compare
federation extensionfederation metadata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important: this PR uses the branch
eodag-with-dbas base. Leaving as draft until this branch is merged.Add the collection status fields to the
federationmetadata as defined in https://github.com/Open-EO/openeo-api/blob/master/extensions/federation/README.md to the/collectionsendpoint: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.