From 621e8a4eb94dd883e72e9bbea3eda5eaab819b52 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 14 Nov 2017 11:09:42 -0500 Subject: Force source to always be included in JSON Modified RequestInfo to pass source to JSON, even when it has the default value. Ordinarily, this is unnecessary when the default value is null, but in this case, the default value is not null, thus other code to which the JSON is passed expects it to be populated. Change-Id: I53fde35b8d46f69234fb51f1cceedb31cedc3335 Issue-Id: SO-340 Signed-off-by: Jim Hahn --- .../openecomp/mso/apihandlerinfra/serviceinstancebeans/RequestInfo.java | 1 + 1 file changed, 1 insertion(+) (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java') diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/RequestInfo.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/RequestInfo.java index 6b8cb84b3c..66d6ce5398 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/RequestInfo.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/RequestInfo.java @@ -32,6 +32,7 @@ public class RequestInfo { protected String orderNumber; protected String productFamilyId; protected Integer orderVersion; + @JsonSerialize(include=Inclusion.ALWAYS) protected String source; protected String instanceName; @JsonSerialize(include=Inclusion.ALWAYS) -- cgit 1.2.3-korg