Skip to content
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

Implement Workflow Registration #47

Closed
2 tasks done
Tracked by #16
kalxas opened this issue Sep 13, 2024 · 6 comments
Closed
2 tasks done
Tracked by #16

Implement Workflow Registration #47

kalxas opened this issue Sep 13, 2024 · 6 comments

Comments

@kalxas
Copy link
Member

kalxas commented Sep 13, 2024

Description

Continue work to define the Workflow Metadata Profile.
Extend Registration API to support registration of workflows in Resource Catalogue.

Acceptance criteria

  • Registration API supports registration of workflows in Resource Catalogue
  • A test is available showing that a workflow can be registered in the develop-cluster

Contributes to

@kalxas
Copy link
Member Author

kalxas commented Dec 24, 2024

Fix needed to register records according to latest version of the specification
geopython/pycsw#1059

@kalxas
Copy link
Member Author

kalxas commented Dec 30, 2024

@kalxas
Copy link
Member Author

kalxas commented Dec 30, 2024

@kalxas
Copy link
Member Author

kalxas commented Dec 30, 2024

Test using the Swagger UI:

{
  "inputs": {
    "source": {
      "id": "worldcereal_inference",
      "type": "Feature",
      "conformsTo": [
        "http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
      ],
      "geometry": null,
      "properties": {
        "created": "2024-05-17T00:00:00Z",
        "updated": "2024-05-17T00:00:00Z",
        "type": "process",
        "title": "ESA worldcereal global maize detector",
        "description": "A maize detection algorithm.",
        "cost_estimate": 0.1,
        "cost_unit": "platform credits per km²",
        "keywords": [
          "agriculture",
          "crops",
          "apex_algorithm"
        ],
        "language": {
          "code": "en-US",
          "name": "English (United States)"
        },
        "languages": [
          {
            "code": "en-US",
            "name": "English (United States)"
          }
        ],
        "contacts": [
          {
            "name": "Kristof Van Tricht",
            "position": "Researcher",
            "organization": "VITO",
            "links": [
              {
                "href": "https://www.vito.be/",
                "rel": "about",
                "type": "text/html"
              },
              {
                "href": "https://github.com/kvantricht",
                "rel": "about",
                "type": "text/html"
              }
            ],
            "contactInstructions": "Contact via VITO",
            "roles": [
              "principal investigator"
            ]
          },
          {
            "name": "VITO",
            "links": [
              {
                "href": "https://www.vito.be/",
                "rel": "about",
                "type": "text/html"
              }
            ],
            "contactInstructions": "SEE WEBSITE",
            "roles": [
              "processor"
            ]
          }
        ],
        "themes": [
          {
            "concepts": [
              {
                "id": "AGRICULTURE"
              },
              {
                "id": "FIELD CROP PRODUCTS"
              }
            ],
            "scheme": "https://gcmd.earthdata.nasa.gov/kms/concepts/concept_scheme/sciencekeywords"
          }
        ],
        "formats": [
          {
            "name": "GeoTiff"
          }
        ],
        "license": "other"
      },
      "linkTemplates": [],
      "links": [
        {
          "rel": "openeo-process",
          "type": "application/json",
          "title": "openEO Process Definition",
          "href": "https://github.com/ESA-APEX/apex_algorithms/blob/main/openeo_udp/worldcereal_inference.json"
        },
        {
          "rel": "git",
          "type": "application/json",
          "title": "Git source repository",
          "href": "https://github.com/WorldCereal/worldcereal-classification.git"
        },
        {
          "rel": "service",
          "type": "application/json",
          "title": "CDSE openEO federation",
          "href": "https://openeofed.dataspace.copernicus.eu/"
        },
        {
          "rel": "license",
          "href": "https://apex.esa.int/license"
        }
      ]
    },
    "target": "https://resource-catalogue.develop.eoepca.org/",
    "type": "item"
  }
}

@kalxas kalxas closed this as completed Dec 30, 2024
@kalxas
Copy link
Member Author

kalxas commented Dec 30, 2024

@kalxas
Copy link
Member Author

kalxas commented Jan 5, 2025

Demo:
EOEPCA/demo@1c3c068

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

No branches or pull requests

1 participant