Repository: CS-SI/eodag
Pull request #295 (2021-06-07 16:32:56)

fix: remove out-of-date wekeo driver
Remove settings for WEkEO, as it is out of date and it won't be updated using the current csw plugin, see GH-57


Patch:
diff --git a/docs/notebooks/api_user_guide/1_overview.ipynb b/docs/notebooks/api_user_guide/1_overview.ipynb
index 234fc8ba..7efd912b 100644
--- a/docs/notebooks/api_user_guide/1_overview.ipynb
+++ b/docs/notebooks/api_user_guide/1_overview.ipynb
@@ -188,8 +188,7 @@
        " 'mundi',\n",
        " 'onda',\n",
        " 'peps',\n",
-       " 'sobloo',\n",
-       " 'wekeo']"
+       " 'sobloo']"
       ]
      },
      "execution_count": 7,
diff --git a/docs/notebooks/api_user_guide/2_providers_products_available.ipynb b/docs/notebooks/api_user_guide/2_providers_products_available.ipynb
index 59b9c97f..532a23e6 100644
--- a/docs/notebooks/api_user_guide/2_providers_products_available.ipynb
+++ b/docs/notebooks/api_user_guide/2_providers_products_available.ipynb
@@ -79,8 +79,7 @@
        " 'sobloo',\n",
        " 'theia',\n",
        " 'usgs',\n",
-       " 'usgs_satapi_aws',\n",
-       " 'wekeo']"
+       " 'usgs_satapi_aws']"
       ]
      },
      "metadata": {},
@@ -132,8 +131,7 @@
        " 'mundi',\n",
        " 'onda',\n",
        " 'peps',\n",
-       " 'sobloo',\n",
-       " 'wekeo']"
+       " 'sobloo']"
       ]
      },
      "metadata": {},
diff --git a/docs/notebooks/api_user_guide/3_configuration.ipynb b/docs/notebooks/api_user_guide/3_configuration.ipynb
index 5a2732af..1cd3c9cc 100644
--- a/docs/notebooks/api_user_guide/3_configuration.ipynb
+++ b/docs/notebooks/api_user_guide/3_configuration.ipynb
@@ -78,8 +78,7 @@
        " 'sobloo',\n",
        " 'theia',\n",
        " 'usgs',\n",
-       " 'usgs_satapi_aws',\n",
-       " 'wekeo']"
+       " 'usgs_satapi_aws']"
       ]
      },
      "metadata": {},
diff --git a/docs/plugins.rst b/docs/plugins.rst
index ee4d166b..32d0b83e 100644
--- a/docs/plugins.rst
+++ b/docs/plugins.rst
@@ -54,8 +54,6 @@ The providers are implemented with a triplet of *Search/Authentication/Download*
 +-----------------+-------------------+--------------------------+----------------+
 | usgs            | UsgsApi           | UsgsApi                  | UsgsApi        |
 +-----------------+-------------------+--------------------------+----------------+
-| wekeo           | CSWSearch         | GenericAuth              | HTTPDownload   |
-+-----------------+-------------------+--------------------------+----------------+
 
 .. _creating_plugins:
 
diff --git a/eodag/resources/providers.yml b/eodag/resources/providers.yml
index caa8da62..e356dd02 100644
--- a/eodag/resources/providers.yml
+++ b/eodag/resources/providers.yml
@@ -1346,60 +1346,6 @@
       instrument: '{instrument}'
       processingLevel: '{processingLevel}'
 ---
-!provider
-  name: wekeo
-  priority: 0
-  roles:
-    - host
-  url: https://www.wekeo.eu
-  description: Wekeo
-  search: !plugin
-    type: CSWSearch
-    api_endpoint: 'https://www.wekeo.eu/elastic-csw/service'
-    metadata_mapping:
-      id: 'dc:identifier/text()'
-      productType: 'dct:alternative/text()'
-      title: 'dc:title/text()'
-      abstract: 'dct:abstract/text()'
-      quicklook: 'https://www.wekeo.eu/sites/default/files/quicklooks/{productType}.jpg'
-      keyword: 'dc:subject[text()]'
-    search_definition:
-      product_type_tags:
-        - name: 'dc:identifier' # any xml tag of the catalogue that can be queryable
-          matching: exact # One of exact (eq. to L1C for ex), prefix (eq. *L1C), postfix (eq. L1C*) or fuzzy (eq. *L1C*)
-  download: !plugin
-    type: HTTPDownload
-    order_enabled: false
-  auth: !plugin
-    type: GenericAuth
-  products:
-    S1_SAR_GRD:
-      productType: "EO:ESA:DAT:SENTINEL-1:L1_GRD"
-    S1_SAR_SLC:
-      productType: "EO:ESA:DAT:SENTINEL-1:L1_SLC"
-    S2_MSI_L1C:
-      productType: "EO:ESA:DAT:SENTINEL-2:MSI1C"
-    S3_LAN:
-      productType: "EO:ESA:DAT:SENTINEL-3:SR_2_LAN___"
-    S3_SRA:
-      productType: "EO:EUM:DAT:SENTINEL-3:SR_1_SRA___"
-    S3_SRA_BS:
-      productType: "EO:EUM:DAT:SENTINEL-3:SR_1_SRA_BS___"
-    S3_EFR:
-      productType: "EO:EUM:DAT:SENTINEL-3:OL_1_EFR___"
-    S3_ERR:
-      productType: "EO:EUM:DAT:SENTINEL-3:OL_1_ERR___"
-    S3_WAT:
-      productType: "EO:EUM:DAT:SENTINEL-3:SR_2_WAT___"
-    S3_SLSTR_L2LST:
-      productType: "EO:ESA:DAT:SENTINEL-3:SL_2_LST___"
-    S3_OLCI_L2LRR:
-      productType: "EO:ESA:DAT:SENTINEL-3:OL_2_LRR___"
-    S3_OLCI_L2LFR:
-      productType: "EO:ESA:DAT:SENTINEL-3:OL_2_LFR___"
-    S3_SLSTR_L1RBT:
-      productType: "EO:EUM:DAT:SENTINEL-3:SL_1_RBT___"
----
 !provider
   name: onda
   priority: 0


Test patch:
diff --git a/tests/units/test_core.py b/tests/units/test_core.py
index fca2aad9..17c4f06f 100644
--- a/tests/units/test_core.py
+++ b/tests/units/test_core.py
@@ -58,7 +58,6 @@ class TestCore(unittest.TestCase):
             "peps",
             "sobloo",
             "onda",
-            "wekeo",
             "mundi",
             "creodias",
             "aws_eos",
@@ -66,7 +65,7 @@ class TestCore(unittest.TestCase):
         ],
         "S1_SAR_OCN": ["peps", "sobloo", "onda", "creodias"],
         "S1_SAR_RAW": ["sobloo", "onda", "creodias"],
-        "S1_SAR_SLC": ["peps", "sobloo", "onda", "wekeo", "mundi", "creodias"],
+        "S1_SAR_SLC": ["peps", "sobloo", "onda", "mundi", "creodias"],
         "S2_MSI_L2A": [
             "onda",
             "mundi",
@@ -87,23 +86,22 @@ class TestCore(unittest.TestCase):
             "peps",
             "sobloo",
             "onda",
-            "wekeo",
             "mundi",
             "creodias",
             "astraea_eod",
             "earth_search",
         ],
-        "S3_ERR": ["peps", "onda", "wekeo", "creodias"],
-        "S3_EFR": ["peps", "onda", "wekeo", "creodias"],
-        "S3_LAN": ["peps", "onda", "wekeo", "creodias"],
-        "S3_SRA": ["onda", "wekeo", "creodias"],
-        "S3_SRA_BS": ["onda", "wekeo", "creodias"],
+        "S3_ERR": ["peps", "onda", "creodias"],
+        "S3_EFR": ["peps", "onda", "creodias"],
+        "S3_LAN": ["peps", "onda", "creodias"],
+        "S3_SRA": ["onda", "creodias"],
+        "S3_SRA_BS": ["onda", "creodias"],
         "S3_SRA_A_BS": ["onda", "creodias"],
-        "S3_WAT": ["onda", "wekeo", "creodias"],
-        "S3_OLCI_L2LFR": ["peps", "onda", "wekeo", "creodias", "mundi"],
-        "S3_OLCI_L2LRR": ["peps", "onda", "wekeo", "creodias"],
-        "S3_SLSTR_L1RBT": ["peps", "onda", "wekeo", "creodias"],
-        "S3_SLSTR_L2LST": ["peps", "onda", "wekeo", "creodias"],
+        "S3_WAT": ["onda", "creodias"],
+        "S3_OLCI_L2LFR": ["peps", "onda", "creodias", "mundi"],
+        "S3_OLCI_L2LRR": ["peps", "onda", "creodias"],
+        "S3_SLSTR_L1RBT": ["peps", "onda", "creodias"],
+        "S3_SLSTR_L2LST": ["peps", "onda", "creodias"],
         "PLD_PAN": ["theia"],
         "PLD_XS": ["theia"],
         "PLD_BUNDLE": ["theia"],
@@ -147,7 +145,6 @@ class TestCore(unittest.TestCase):
         "creodias",
         "mundi",
         "onda",
-        "wekeo",
         "aws_eos",
         "astraea_eod",
         "usgs_satapi_aws",