metno / discovery-metadata-catalog-ingestor

Apache License 2.0
1 stars 1 forks source link

Deletion in the file distributor should by default only change metadata status to "Inactive" #239

Open mortenwh opened 1 month ago

mortenwh commented 1 month ago

Dataset deletion should probably not delete the MMD file unless it is forced. Instead it should update the MMD with a new last_metadata_update and metadata_status="Inactive". We may want to be able to provide a comment, to be used as note in last_metadata_status, as input to the delete method as well.

mortenwh commented 3 weeks ago

I am not sure about this. It may make it overly complicated to remove MMD files.. Still, with a conscious additional input to the api, this would be safer. Whoever starts working on this - let's discuss..