From 16ef9772c84d9110b451a1a28f0fe76e40f8bd53 Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Tue, 7 Jan 2020 12:49:01 +0200 Subject: Add only non-null isInstantiationTemplateExists to Models list Change-Id: I66aae22094e507f56ac4d1249ff3e9773869382f Issue-ID: VID-739 Signed-off-by: Ittay Stern --- vid-app-common/src/main/java/org/onap/vid/asdc/beans/Service.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vid-app-common') diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/beans/Service.java b/vid-app-common/src/main/java/org/onap/vid/asdc/beans/Service.java index 092cfe4e2..f5dd5d85f 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/beans/Service.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/beans/Service.java @@ -20,6 +20,9 @@ package org.onap.vid.asdc.beans; +import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL; + +import com.fasterxml.jackson.annotation.JsonInclude; import java.util.Collection; import java.util.UUID; @@ -77,6 +80,7 @@ public class Service { private String orchestrationType; + @JsonInclude(NON_NULL) private Boolean isInstantiationTemplateExists; -- cgit 1.2.3-korg