Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deletion & archiving for custom metadata: Closes 5484 #6727

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robbarnsley
Copy link
Contributor

Borrows heavily from @cserf's request (#5604).

  • Added metadata deletion trigger to both JSON and ExternalPostgresJSON plugins.
  • Attached trigger to delete_dids (core/did) and __cleanup_after_replica_deletion (core/replica) functions.
  • Added archiving ability to JSON plugin.
  • Added unit testing for archiving/delete.

…N plugins.

Added archiving ability to JSON plugin.
@robbarnsley robbarnsley self-assigned this Apr 25, 2024
@robbarnsley robbarnsley linked an issue Apr 25, 2024 that may be closed by this pull request
@robbarnsley robbarnsley marked this pull request as ready for review April 25, 2024 10:43
@robbarnsley
Copy link
Contributor Author

I'm not entirely comfortable that I know everything about the DID lifecycle model. I've implemented this on_delete trigger for when all replicas are removed __cleanup_after_replica_deletion and in the delete_dids function.

Is there anywhere else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the possibility to archive metadata for deleted DIDs
1 participant