Closed vteague closed 4 months ago
This actually requires some carefully-designed tests, because it's important not only to understand the success path but also to respond appropriately to all of the errors that the raire-service may return. The Design Doc V1.1 gives a very good idea of what to do, but is slightly out of date wrt return types and some error codes. Make sure to read V1.2.
I have
Implement models for responses from raire, with tests. Note that colorado-rla does not need to understand any of the file return data types (csv or json) - only the GenerateAssertionsResponse with the winner. This can probably be copied from raire-service. Error codes are returned in the http header, so possibly copy those from raire-service too.