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

When deleting a connection, update the status as part of the API #18266

Closed
gosusnp opened this issue Oct 20, 2022 · 1 comment
Closed

When deleting a connection, update the status as part of the API #18266

gosusnp opened this issue Oct 20, 2022 · 1 comment
Assignees

Comments

@gosusnp
Copy link
Contributor

gosusnp commented Oct 20, 2022

What

When we delete a connection, we change the status of the connection as part of the workflow.
It means that we currently do know exactly when we are effectively deleting the connection which also causes issues in our acceptance tests.

How

In our delete endpoint:

  • signal the workflow for deletion as we do today
  • update the db to mark the connection as deleted before returning from the API rather than wait for the workflow to do it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants