In order to let mdtranslator users know whether their input was processed successfully, datagov wants to update the http status code of the response to 200 if processing was a success or 422 ( Unprocessable Entity ) if processing failed
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
[ ] GIVEN the mdtranslator rails app \
WHEN an input dataset fails or succeeds processing \
THEN the response code should be 422 or 200, respectively
mdtranslator returns a 200 regardless of whether the input dataset was able to transform. we want the status code to better reflect whether the transformation was successful or not.
User Story
In order to let mdtranslator users know whether their input was processed successfully, datagov wants to update the http status code of the response to 200 if processing was a success or 422 ( Unprocessable Entity ) if processing failed
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
Background
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch