-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processes/Collections: Return supported back-ends as a list? #10
Comments
yes, it would be straightforward to add that metadata. FYI, for collections provided by multiple back-ends there is already a openeo-aggregator/tests/test_backend.py Line 146 in 8e50569
(because there is no pure id-based overlap yet between VITO and EODC, this is not yet visible in production) |
I don't think we need to standardize this yet, this can be a platform-specific API extension and could be implemented right away. |
I don't meant to standardize on level of openEO API (yet), just agree between aggregator and client/docs/website on a scheme that's reasonably future proof |
I've updated the example above to |
FYI: the aggregator uses "internal" ids for the back-ends like this: openeo-aggregator/src/openeo_aggregator/config.py Lines 44 to 49 in 8e50569
which is probably better (and conflict-free by design) than the self-chosen back-end ids |
URL as id is also a good idea, maybe the connect URL instead of the versioned one? |
Some additional ideas I had this morning: https://github.com/openEOPlatform/architecture-docs/issues/85#issuecomment-945554415 Especially: In STAC world "provider:backend" is a bit strange, better use something project-specific, e.g. "openeo:backend". This is a bit different from what I said before, sorry. |
Would it also make sense to add the back-end flag to batch jobs and other back-end-specific resources? |
FYI: this ticket #10 and PR #11 just introduce top-level key "backends" for collections and processes, while the "provider:backend" reference is (at the moment) a "summaries" property for load_collection filtering . |
I'm thinking about that right now, especially about the "extension" behavior in the API. From STAC I'm used to |
I would also favor namespaced scheme like |
Good to know, then I'll proceed with that. In the past we had some voices that aimed to remove the |
Would it make sense to return a list of back-ends in the JSON metadata that support a certain collection / process?
For example:
This would allow us to add a "compliance" matrix to the documentation, which a user can get a quick overview from what is supported where.
For example (just listed random names with randomly placed yes/no icons):
This should be relatively easy to implement both server- and client-side, I think.
Thoughts? @jdries @soxofaan
The text was updated successfully, but these errors were encountered: