From b75b28b8e56f19203cb6cce8ffeeaa771b9b60d8 Mon Sep 17 00:00:00 2001 From: "Plummer, Brittany" Date: Wed, 26 Jun 2019 10:58:22 -0400 Subject: add rollback ext system error source Added rollbackExtSystemErrorSource column and updated GET orchestrationRequests response Added missing columns from requestDb to schema.sql Change-Id: I2380f08b9bb1c86922e8faea70454df722c0873a Issue-ID: SO-2054 Signed-off-by: Benjamin, Max (mb388a) --- .../org/onap/so/serviceinstancebeans/RequestStatus.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/src/main/java/org/onap/so/serviceinstancebeans/RequestStatus.java b/common/src/main/java/org/onap/so/serviceinstancebeans/RequestStatus.java index e9d9d87b10..e236003631 100644 --- a/common/src/main/java/org/onap/so/serviceinstancebeans/RequestStatus.java +++ b/common/src/main/java/org/onap/so/serviceinstancebeans/RequestStatus.java @@ -38,6 +38,8 @@ public class RequestStatus { protected String timeStamp; @JsonProperty("extSystemErrorSource") protected String extSystemErrorSource; + @JsonProperty("rollbackExtSystemErrorSource") + protected String rollbackExtSystemErrorSource; public String getExtSystemErrorSource() { return extSystemErrorSource; @@ -79,10 +81,19 @@ public class RequestStatus { this.timeStamp = timeStamp; } + public String getRollbackExtSystemErrorSource() { + return rollbackExtSystemErrorSource; + } + + public void setRollbackExtSystemErrorSource(String rollbackExtSystemErrorSource) { + this.rollbackExtSystemErrorSource = rollbackExtSystemErrorSource; + } + @Override public String toString() { return new ToStringBuilder(this).append("requestState", requestState).append("statusMessage", statusMessage) .append("percentProgress", percentProgress).append("timestamp", timeStamp) - .append("extSystemErrorSource", extSystemErrorSource).toString(); + .append("extSystemErrorSource", extSystemErrorSource) + .append("rollbackExtSystemErrorSource", rollbackExtSystemErrorSource).toString(); } } -- cgit 1.2.3-korg