File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 66)
77import requests
88from urllib .parse import urlparse
9+ import logging
10+
11+ LOGGER = logging .getLogger (__name__ )
912
1013
1114class EOAPIProvider (BaseProvider ):
@@ -44,6 +47,7 @@ def query(
4447 }
4548 eoapi_search_url = f"{ eoapi_raster_url } /searches/register"
4649 response = requests .post (eoapi_search_url , json = search_data )
50+ LOGGER .debug (f"POST: { response .url } with { search_data } " )
4751 self ._handle_upstream_error (response .text , response .status_code )
4852
4953 search_id = response .json ()["id" ]
@@ -63,6 +67,7 @@ def query(
6367 ),
6468 params = render_data ,
6569 )
70+ LOGGER .debug (f"GET: { response .url } " )
6671 self ._handle_upstream_error (response .text , response .status_code )
6772
6873 return response .content
Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ def get_stacapi_pygeoapi_diff(
4646 if collection .get ("keywords" , []) != pygeoapi_resource ["keywords" ]:
4747 diff ["keywords" ] = collection ["keywords" ]
4848
49- if collection ["links" ] != pygeoapi_resource ["links" ]:
50- diff ["links" ] = collection ["links" ]
51-
5249 if collection ["title" ] != pygeoapi_resource ["title" ]:
5350 diff ["title" ] = collection ["title" ]
5451
You can’t perform that action at this time.
0 commit comments