diff options
author | Steve Smokowski <ss835w@att.com> | 2019-01-04 13:16:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-04 13:16:58 +0000 |
commit | a5bb70becba912f172615b873c4921a2a88dcf3e (patch) | |
tree | 6eb17aa418ef17a9d72bf34f4e0982cd9af6dbcf /mso-api-handlers/mso-api-handler-infra/src/main/java/org | |
parent | 61b78a7d5f1eb8f1c5955d6d1439ce9225a39b46 (diff) | |
parent | e9ce2038f8aaffaa021bf83524bdb5de248de167 (diff) |
Merge "Added timeStamp to requestStatus returned"
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/onap/so/apihandlerinfra/OrchestrationRequests.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java index c809079acf..a7c25fab68 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java @@ -363,6 +363,10 @@ public class OrchestrationRequests { String endTimeStamp = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss").format(iar.getEndTime()) + " GMT"; status.setFinishTime(endTimeStamp); } + if(iar.getModifyTime() != null){ + String timeStamp = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss").format(iar.getModifyTime()) + " GMT"; + status.setTimeStamp(timeStamp); + } if(iar.getRequestStatus() != null){ |