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

CV2-5082 add logic to suppress a callback event to check-api when explicitly requested #440

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

DGaffney
Copy link
Contributor

Description

In some cases we want to index items to alegre, but we don't care about completing a round trip request back to check-api. This adds an additional parameter that, in conjunction with meedan/check-api#1996 will allow for the ability to suppress a response to Check API.

Reference: CV2-5082

How has this been tested?

Not yet tested - will likely require its own unit test, for now lets see if it breaks anything

Have you considered secure coding practices when writing this code?

Nothing in particular of concern here!

Copy link
Contributor

@skyemeedan skyemeedan left a comment

Choose a reason for hiding this comment

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

suggested some comments, and a tiny tweak

app/main/controller/presto_controller.py Show resolved Hide resolved
app/main/controller/presto_controller.py Show resolved Hide resolved
app/main/controller/presto_controller.py Show resolved Hide resolved
Copy link

codeclimate bot commented Aug 27, 2024

Code Climate has analyzed commit 0ab5c50 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 76.9% (50% is the threshold).

This pull request will bring the total coverage in the repository to 79.7% (0.0% change).

View more on Code Climate.

@DGaffney DGaffney merged commit 5413a6e into develop Aug 27, 2024
4 checks passed
@DGaffney DGaffney deleted the cv2-5082-article-indexing-to-presto branch August 27, 2024 12:58
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