Open-EO / openeo-hub

Source code for openEO Hub, a centralized platform to explore openEO back-end providers.
https://hub.openeo.org
Apache License 2.0
8 stars 3 forks source link

What should be the primary key? #56

Closed christophfriedrich closed 4 years ago

christophfriedrich commented 4 years ago

Just writing down some thoughts I just had


So far, the primary key for crawled responses is the URL that was requested, split into the two fields backend + path (e.g. https://earthengine.openeo.org/v0.4 + /collections).

The primary key for individual backend instances is backend (e.g. https://earthengine.openeo.org/v0.4).


However, backend could be represented by service + version, where service is the URL under which the well-known document resides and version the api_version field of that well-known document (e.g. https://earthengine.openeo.org + v0.4.2).

But again, service could be represented by provider, e.g. Google Earth Engine or GEE.

provider + version + path would be the most abstract form and thus also the most robust -- think URL changes.