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 submission delete #60

Open
jmgasper opened this issue Sep 1, 2022 · 0 comments
Open

Handle submission delete #60

jmgasper opened this issue Sep 1, 2022 · 0 comments

Comments

@jmgasper
Copy link
Collaborator

jmgasper commented Sep 1, 2022

We are working at enabling submission delete on the platform, and it's working, but the submission delete isn't being synced through the legacy submission processor down to OR.

That means that submissions deleted from the platform are still showing in OR, which we need to resolve.

The submission delete will raise a submission.notification.delete message in Kafka - we just need to update this legacy-submission-processor to properly handle the message and delete the submission from Informix as well so that it doesn't show up in OR anymore.

NOTE - You will likely need to also update https://github.com/topcoder-platform/legacy-processor-module to expose a deleteSubmission function.

Testing

For testing, you can use jgasperMobile12 / Appirio123 and this challenge:

https://www.topcoder-dev.com/challenges/832c034a-d09a-43b9-9bdd-1efff6dbb485/my-submissions

Feel free to submit and the delete the submissions using the enabled delete button in the UI under ACTIONS on the my-submissions page.

You can see the submission.notification.delete messages in lauscher.

186561195-da7fba18-d08b-4fbd-9338-a81d5b818392

Sample

{
  "resource": "submission",
  "id": "a5c75919-11df-4c7d-9f09-386767730958"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant