Follow https://github.com/guardian/crossword-uploader/pull/35. This change notifies the new crosswordv2 service about crosswords as well as continuing to notify the existing current service. Requests to crosswordsv2 should fail safely in a way that does not prevent the existing service from continuing to behave as expected.
How to test
[x] Run the tests
[x] Run this locally using CODE configuration with an uploaded PDF
[ ] Deploy this to CODE and test it behaves as expected with an uploaded PDF
How can we measure success?
Both crosswords services can run at the same time without impacting one another allowing us quick feedback on the running of the crosswordv2 service.
Have we considered potential risks?
This change has the potential to impact the existing crossword service if contacting the V2 endpoint causes the V1 request to fail, we've attempted to mitigate this with thorough testing and wrapping function calls in Try where appropriate.
What does this change?
Follow https://github.com/guardian/crossword-uploader/pull/35. This change notifies the new
crosswordv2
service about crosswords as well as continuing to notify the existing current service. Requests tocrosswordsv2
should fail safely in a way that does not prevent the existing service from continuing to behave as expected.How to test
How can we measure success?
Both crosswords services can run at the same time without impacting one another allowing us quick feedback on the running of the crosswordv2 service.
Have we considered potential risks?
This change has the potential to impact the existing crossword service if contacting the V2 endpoint causes the V1 request to fail, we've attempted to mitigate this with thorough testing and wrapping function calls in
Try
where appropriate.