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

Handle death registration in @opencrvs/mosip #7982

Open
3 tasks
naftis opened this issue Nov 13, 2024 · 0 comments
Open
3 tasks

Handle death registration in @opencrvs/mosip #7982

naftis opened this issue Nov 13, 2024 · 0 comments
Labels

Comments

@naftis
Copy link
Collaborator

naftis commented Nov 13, 2024

When a person with a specific UIN dies, we need to call the MOSIP side to inform them about the death. When MOSIP responds to us back in a webhook, we need to call confirmRegistration.

Dev tasks

  • Handle death registration in the MOSIP repository. The eventRegistrationHandler-hook should already forward the calls to the MOSIP repository server
  • Handle this in the @opencrvs/mosip/mosip-mock. Return either 200 OK (deactivated), 404 Not Found (the VID of the dead person wasn't found), or 409 Conflict (the VID was already deactivated)
  • In confirmRegistration from the @opencrvs/mosip/server, allow passing details to record audit log, which are derived from the above HTTP status codes.
@naftis naftis moved this from Backlog to Ready to build in OpenCRVS Core Nov 13, 2024
@naftis naftis added the MOSIP label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready to build
Development

No branches or pull requests

1 participant