commit | af2e4018c92b0fb311f60dfe507335b12e2935a4 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Fri Sep 13 12:14:25 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Fri Sep 13 17:40:29 2019 -0400 |
tree | 62705712e2a88682e17bdd9fef248e866c7407e4 | |
parent | 63922e3dc9101f019cb490f6c5d02991c10fcdf5 [diff] |
Extract YamlJsonTranslator from StandardYamlCoder Refactored StandardYamlCoder, extracting a new class, YamlJsonTranslator, from it. This facilitates performing yaml translation when not using a standard "gson" coder. Added YamlJacksonHandler which supports YAML translation layered on top of a JacksonHandler instead of a GsonMessageBodyHandler. Also added junit tests to complete coverage of StandardCoder. Also added public APPLICATION_YAML to YamlMessageBodyHandler. Change-Id: Ia470fa194661fbf1aebeaf0f18b57f2a984cb64b Issue-ID: POLICY-2081 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: