aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main/java/org
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2017-11-14 11:09:42 -0500
committerJim Hahn <jrh3@att.com>2017-11-14 11:09:42 -0500
commit621e8a4eb94dd883e72e9bbea3eda5eaab819b52 (patch)
treef9e78d963b4dea973c92b167efbaa7c03d1a6b4a /mso-api-handlers/mso-api-handler-infra/src/main/java/org
parentc407a506a436c103cdd57a30f4c5d1eefc18b3d3 (diff)
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 <jrh3@att.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java/org')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/RequestInfo.java1
1 files changed, 1 insertions, 0 deletions
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)