geostore
geostore copied to clipboard
Delete root catalog.json reference when deleting dataset
User Story
So that the top-level catalog.json is up-to-date, as a Geostore maintainer, I want the dataset delete functionality to remove references to the dataset in that file.
Acceptance Criteria
- [ ] Given a dataset with a version, when I manually delete the prefix corresponding to the dataset and call the dataset delete Lambda function, then the reference to the dataset in the top-level
catalog.json
is removed.
Additional context
The original dataset deletion only deletes the DynamoDB references, because it assumes that no version was ever created of that dataset.
Based on the work related to deleting a dataset with the wrong title.
Tasks
- [ ] Change
delete.py
to delete thecatalog.json
reference to the dataset