summaryrefslogtreecommitdiffstats
path: root/datafile-commons
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2018-10-05 14:14:00 +0200
committervagrant <vv770d@att.com>2018-10-03 20:53:42 +0000
commit0ae7a7f6b40ff13a21f33e3e573d6b3ebde6bf90 (patch)
tree8f1b92c5b20678510c9dcb26e112bcf74f04d02f /datafile-commons
parent7126f3011b8f06e93be7d6c6f7ee35b539668236 (diff)
Fix mutual authentication
Last version from demo. Change-Id: Ib41581bf6f9eb92a03edf8434261d3674b6e3e39 Issue-ID: DCAEGEN2-860 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech> Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'datafile-commons')
-rw-r--r--datafile-commons/pom.xml3
-rw-r--r--datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/datafile-commons/pom.xml b/datafile-commons/pom.xml
index d018ff79..4b812aa2 100644
--- a/datafile-commons/pom.xml
+++ b/datafile-commons/pom.xml
@@ -70,7 +70,6 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
- <version>5.0.5.RELEASE</version>
- </dependency>
+ </dependency>
</dependencies>
</project>
diff --git a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java
index e02476a5..3be7bcf6 100644
--- a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java
+++ b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java
@@ -24,7 +24,7 @@ import com.google.gson.GsonBuilder;
public class CommonFunctions {
- private static Gson gson = new GsonBuilder().create();
+ private static Gson gson = new GsonBuilder().serializeNulls().create();
private CommonFunctions() {}