Commit bf535688 authored by BODERE's avatar BODERE
Browse files

fix: test url

parent f85b4364
......@@ -31,8 +31,10 @@ async def granule(params: OpensearchQueryParameters = Depends()):
@app.get("/")
def home(request: Request):
return {
"Test granule": "http://127.0.0.1:8000/granules?datasetId=sca_l2a___&startPage=0&count=1000"
"Test granule Ifremer": "http://127.0.0.1:8000/granules?datasetId=sca_l2a___&startPage=0&count=1000"
"&timeStart=2014-01-01T00:00:00Z&timeEnd=2020-05-18T23:59:59Z&geoBox=134,-64,135,-63",
"Test granule Nasa": "http://127.0.0.1:8000/granules?datasetId=C1693233348-PODAAC&startPage=0&count=1000"
"&timeStart=2014-01-01T00:00:00Z&timeEnd=2020-05-18T23:59:59Z&geoBox=134,-64,135,-63",
"Configuration": "http://127.0.0.1:8000/conf"
}
......
......@@ -216,8 +216,8 @@ class NasaOpensearchEngine(OpensearchAtomEngine):
title=self.get_text(entry, "feed:title"),
updated=self.get_text(entry, "feed:updated"),
summary=self.get_text(entry, "feed:summary"),
# dc_date=self.get_text(entry, "dc:date"),
# geobox=self.get_text(entry, "georss:box"),
dc_date=self.get_text(entry, "dc:date"),
geobox=self.get_text(entry, "georss:box"),
# geobox_where=self.get_text(entry, "geobox_where")
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment