Description
Stargate uses the default json marshaller/unmarshaller in natural mode. In this mode the unmarshaller has trouble unmarshalling json instances.
This patch fixes this issue by using jackson as the marshaller/unmarshaller instead.
I've also updated all the model unit tests to test json serialization/deserialization. Backwards compatibilty can be verified by modify the test base class to use the original marshaller/unmarshaller and see that model tests pass.
The patch is backward compatible except for StorageClusterStatusModel, which is broken anyway. It only shows one node in the liveNodes field.
Attachments
Attachments
Issue Links
- is cloned by
-
HBASE-11250 Document: CLONE - Fix jersey serialization/deserialization of json objects
- Closed