Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(basemaps): Fix the collection.json path for the vector data. (#987)
#### Motivation [Argo Error log](https://argo.linzaccess.com/workflows/argo/cron-vector-etl-topographic-1715709600?tab=workflow&nodeId=cron-vector-etl-topographic-1715709600-1555051635&nodePanelView=containers&sidePanel=logs:cron-vector-etl-topographic-1715709600-1555051635:&uid=bbdff6e5-809d-4970-a41a-c0a5bd954423) Vector target is different from raster with have the filename at the end. like `s3://linz-basemaps/vector/3857/topographic/01HXW47WJAM1KMZVN4QXR7SA70/topographic.tar.co` instead of `s3://linz-basemaps/vector/3857/topographic/01HXW47WJAM1KMZVN4QXR7SA70/` So we need to replace the filename to `collection.json` instead of just adding it to the target. #### Modification - get the filename from the url and validate it as cotar file extension. - prepare the correct collection.json path. #### Checklist - [ ] Tests updated - no test - [ ] Docs updated - no doc - [ ] Issue linked in Title - no ticket
- Loading branch information