From 00109a0ca24bf94d6f97a567c49e0ba945739f5c Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 15 Feb 2019 15:30:05 +0100 Subject: Remove remaining Jackson Remove jackson import as jackson shoul dbe removed Issue-ID: CLAMP-292 Change-Id: Ie638e40b278e747caf5efc30bf6f32bb489c758b Signed-off-by: sebdet --- .../org/onap/clamp/clds/config/CamelConfiguration.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/main/java/org/onap/clamp/clds/config/CamelConfiguration.java b/src/main/java/org/onap/clamp/clds/config/CamelConfiguration.java index c80fd0ec0..45c945c4f 100644 --- a/src/main/java/org/onap/clamp/clds/config/CamelConfiguration.java +++ b/src/main/java/org/onap/clamp/clds/config/CamelConfiguration.java @@ -31,13 +31,12 @@ public class CamelConfiguration extends RouteBuilder { @Override public void configure() { - restConfiguration().component("servlet").bindingMode(RestBindingMode.json) - .dataFormatProperty("prettyPrint", "true")//.enableCORS(true) - // turn on swagger api-doc - .apiContextPath("api-doc") - .apiVendorExtension(true) - .apiProperty("api.title", "Clamp Rest API").apiProperty("api.version", ClampVersioning.getCldsVersionFromProps()) - .apiProperty("base.path", "/restservices/clds/v1/"); - //.apiProperty("cors", "true"); + restConfiguration().component("servlet").bindingMode(RestBindingMode.json).jsonDataFormat("json-gson") + .dataFormatProperty("prettyPrint", "true")// .enableCORS(true) + // turn on swagger api-doc + .apiContextPath("api-doc").apiVendorExtension(true).apiProperty("api.title", "Clamp Rest API") + .apiProperty("api.version", ClampVersioning.getCldsVersionFromProps()) + .apiProperty("base.path", "/restservices/clds/v1/"); + // .apiProperty("cors", "true"); } } -- cgit 1.2.3-korg