Consistently use JSON marshaling/demarshaling for REST resources
GENERAL
TESTING
GENERAL
TESTING
Description
Activity
Show:

David Woods December 2, 2011 at 4:09 PM
QA Test
regression testing covered this.
QA Pass
Thomas Amsler November 18, 2011 at 2:54 PM
QA Test Plan:
Use the "Student Summary" page to enter and changes Scores, Comments, and Excuses. Make sure that all the data is created and persisted between reloading the gradebook.
The LearnerRecord REST resource uses JAXBElement to marshaling JSON into a GradeRecord object. This needs to be changed to consistently use our fromJson() util method. Also, a lot of resources used annotations like:
@Consumes({"application/xml", "application/json"})
... which just needs to change to:
@Consumes("application/json")
We also need to remove the "@XmlRootElement" annotation from the GradeRecord class.