-
Notifications
You must be signed in to change notification settings - Fork 0
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
Updated - and greatly simplified - GenerateAssertionsResponse. Now ju… #175
Updated - and greatly simplified - GenerateAssertionsResponse. Now ju… #175
Conversation
…st the contest name and two booleans: did it succeed? and is it worth retrying?
This matches the corresponding PR in the raire-service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good and the endpoint worked when i tested it. thanks!
@@ -177,22 +175,20 @@ public String endpointBody(final Request the_request, final Response the_respons | |||
* - Gather all the IRVContestResults | |||
* - For each IRV contest, make a request to the raire-service get-assertions endpoint of the right format type | |||
* - Collate all the results into a list. | |||
* | |||
* @param IRVContestResults the collection of all IRV ContestResults. | |||
* @param timeLimitSeconds the time limit for raire assertion generation, per contest. | |||
* @param raireUrl the url where the raire-service is running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing these input arguments can be final?
* @return The GenerateAssertionsResponseWithErrors, which usually contains a | ||
* winner but may instead be UNKNOWN_WINNER and an error message. | ||
* @return The GenerateAssertionsResponseWithErrors, which usually contains a | ||
* winner but may instead be UNKNOWN_WINNER and an error message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check input arguments for what can be final.
…st the contest name and two booleans: did it succeed? and is it worth retrying?
This makes everything a lot simpler, though it will get more complicated again when we want to retrieve winners and errors from the database.