geostore icon indicating copy to clipboard operation
geostore copied to clipboard

Delete root catalog.json reference when deleting dataset

Open l0b0 opened this issue 2 years ago • 0 comments

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 the catalog.json reference to the dataset

l0b0 avatar Jul 01 '22 09:07 l0b0