Skip to content
OSDU Data Platform
OS Core Common
Refactor http body parsing
Check out branch
requested to merge
Oct 12, 2020
the issue: [Bug] expirationDate failed to be parsed by Gson
Move the parsing logic of the HttpResponse#body field to a separate class.
Encapsulate the internal implementation of the parsing so that clients will not be affected if any low-level changes happen in the parsing logic.
Bugfix (non-breaking change that solves an issue)
New feature (non-breaking change that adds functionality)
Breaking change (change that is not backwards-compatible and/or changes current functionality)
Added Unit Tests, wherever applicable.
Updated the Readme
Existing Tests pass: The test shouldSuccessfullySerializeLegalTag is breaking in the existing code.
Verified functionality locally
Self Reviewed my code for formatting and complex business logic.
Oct 23, 2020
Merge request reports