aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-01-07 12:49:01 +0200
committerIttay Stern <ittay.stern@att.com>2020-01-07 12:49:01 +0200
commit16ef9772c84d9110b451a1a28f0fe76e40f8bd53 (patch)
treef96ba29753520844d88491a0828ff2a82c6222a1
parent6291d31b674ac0f1de86211ec801772f3de3abd1 (diff)
Add only non-null isInstantiationTemplateExists to Models list
Change-Id: I66aae22094e507f56ac4d1249ff3e9773869382f Issue-ID: VID-739 Signed-off-by: Ittay Stern <ittay.stern@att.com>
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/asdc/beans/Service.java4
1 files changed, 4 insertions, 0 deletions
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;