From b7ab32aa7ec5865005ed321cc7ebbb64ece6c6e1 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Mon, 24 Jun 2024 18:14:27 +0200 Subject: [PATCH] Issue #12 link to UDP with rel="openeo-udp" --- algorithm_catalog/worldcereal_inference.json | 2 +- qa/unittests/tests/test_algorithm_catalog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/algorithm_catalog/worldcereal_inference.json b/algorithm_catalog/worldcereal_inference.json index 55fa17a..bff8e32 100644 --- a/algorithm_catalog/worldcereal_inference.json +++ b/algorithm_catalog/worldcereal_inference.json @@ -84,7 +84,7 @@ "linkTemplates": [], "links": [ { - "rel": "udp", + "rel": "openeo-udp", "type": "application/json", "title": "openEO UDP", "href": "https://github.com/ESA-APEX/apex_algorithms/blob/main/openeo_udp/worldcereal_inference.json" diff --git a/qa/unittests/tests/test_algorithm_catalog.py b/qa/unittests/tests/test_algorithm_catalog.py index 84b375c..0882876 100644 --- a/qa/unittests/tests/test_algorithm_catalog.py +++ b/qa/unittests/tests/test_algorithm_catalog.py @@ -19,5 +19,5 @@ def test_lint_algorithm_catalog_json_file(path): assert data["properties"]["type"] == "apex_algorithm" - assert "udp" in {k["rel"] for k in data["links"]} + assert "openeo-udp" in {k["rel"] for k in data["links"]} # TODO more checks