Skip to content
Commit edda28cb authored by Arne Franken's avatar Arne Franken Committed by Andreas Gudian
Browse files

Adds serialization tests for the DTO layer

This only adds tests and serialized responses to see what changes when
refactoring the code.

There are several issues with the current serialization:
Typos in fields. (e.g. "prefix" instead of "Prefix")
Superfluous fields (e.g. "truncated" or "part")
Some lists are not serialized correctly, as can be seen in
currently open issues.
Several types are not enforced, where fields in the POJOs are Strings
which should be Integer or enum.
Etag fields contain quoted values in all Amazon examples, while in
our serialization, they are all unquoted.
Date field serialization seems to be broken right now. Also, for dates,
we should be using "java.time" classes in favor of "java.util.Date".
parent 99bbcfcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment