Perform soft delete instead of purge

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [No]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description?

Modify the delete_record function in RecordClient for the storage API to perform logical soft delete instead of purge. Purge can still be done by supplying purge=True as an option to the call or calling purge_record.

This is better aligned with the semantics of a delete operation in the storage API instead of doing 1:1 mapping of HTTP methods. The library method is also safer in that a caller will now have to explicitly request for the permanent deletion of a record. Currently the library also does not provide any way of performing a logical delete.

This change will impact anyone using the library to delete records.

Edited by Asbjørn L. Johansen

Merge request reports

Loading