MAAP-Project / maap-eoapi

MAAP STAC infrastructure
Apache License 2.0
0 stars 2 forks source link

test for titiler-pgstac api #16

Closed emileten closed 1 year ago

emileten commented 1 year ago

This PR adds :

It's a "silly" test that use the single test collection and item we have : I register a mosaic through mosaic/register with an item search that has no filter, simply the name of our test collection (test_collection). So the mosaic is going to be composed of all the items we have in the collection after the ingestion tests ran (namely, just one). Once the mosaic is registered, I test that I can find through the mosaic/{searchid}/tiles/z/x/y/assets endpoint, a single item with the expected assets (tif and csv, based on our test data).

The goal is just to verify that the basic functionality works.

emileten commented 1 year ago

@jjfrench @omshinde alright the test tests action passed. Shall we run these in dev as well? Also can someone review when you get a chance ? Thank you !