Skip to content

Allow advertising artifacts capabilities #384

Open

Description

@pvbouwel

For PR Open-EO/openeo-python-client#750 it would be beneficial if the Openeo Python client can discover the artifacts capabilities.

If there is an artifacts capabilities endpoint it could expose a document like:

 {
  "providers": [
    {
      "id": "s3",
      "type": "s3-sts"
      "cfg": {
	      "s3_endpoint": "https://s3.waw3-1.openeo.v1.dataspace.copernicus.eu",
	      "sts_endpont": "https://sts.waw3-1.openeo.v1.dataspace.copernicus.eu",
	      "buckets": [
	      	{
	      	  "bucket_name": "openeo-artifacts",
	      	  "role": "arn:aws:iam::000000000000:role/S3Access"
	      	},
	      	...
	      ]
      }
    },
    ...
  ]
}

The first provider is the default and the first bucket is also the default bucket.
With this configuration data the client could configure itself to upload artifacts to
a location that is accessible by OpenEO.

Activity

  1. self-assigned this
    on Mar 18, 2025
  2. soxofaan commented on Mar 18, 2025

    @soxofaan
    Member

    I added with Open-EO/openeo-geopyspark-driver@ae6bc3b a quick, simple but generic capabilities_extras config to easily append to the general capabilities document. Should serve as initial solution for this feature. When things are more settled in terms of expected schema we can upgrade this to a dedicated endpoint and/or API extension when necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions