commit | b8432fe028654dbf538cd0cc79cebe5e6093acb6 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Wed Feb 27 10:08:55 2019 -0500 |
committer | Jim Hahn <jrh3@att.com> | Wed Feb 27 10:30:34 2019 -0500 |
tree | 47e431410f7ad3f0fc575ebf5fc8ed42b52e7bba | |
parent | 9e43e5a72b77ba4701dfd320bf6cefaffaaa3823 [diff] |
Add common coder classes Added coder classes as a common utility that can be used to encode and decode json data. Currently, it uses gson, but that can be changed. Separated the Coder interface from implementation. Used assertSame to compare references. Used numbers instead of strings so don't have to deal with escaping quotes in the test cases. Change-Id: Iea9001d2adc5a3150b3367619b5f43e96b5f8b41 Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: