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

[API] enable re-verification of a file #1120

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

jbygdell
Copy link
Collaborator

@jbygdell jbygdell commented Nov 7, 2024

Description
This PR adds an endpoint to the API that will trigger re-verification of a single file.

  • Changes include having verify do the actual re-check, on failure the file_event_log will be updated with the state error
  • Integration test step added as well.

How to test

make integration-test-sda

In the logs for verify you will se a message with re_verify: true

@jbygdell jbygdell requested a review from a team November 7, 2024 08:45
@jbygdell jbygdell self-assigned this Nov 7, 2024
Copy link
Contributor

@MalinAhlberg MalinAhlberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!
Would it be useful to somehow mark when a file passes the re-verficiation..? In the db or in the logs.

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

Successfully merging this pull request may close these issues.

2 participants