diff options
author | 2018-11-27 03:16:13 +0000 | |
---|---|---|
committer | 2018-11-27 03:16:13 +0000 | |
commit | 8ffb5d68abc841b3a36744c3dbef7e81089ed0d3 (patch) | |
tree | e82d6225e9720e95b733babfe5b8cc4b39bd6435 /adapters/mso-requests-db-adapter/src/main/java | |
parent | 6eb546a46148950204e430133f0c5d917bea64ad (diff) | |
parent | 7373add0c99ae0220a62212bf187aa74542d931a (diff) |
Merge "insert service progress into db if no record"
Diffstat (limited to 'adapters/mso-requests-db-adapter/src/main/java')
-rw-r--r-- | adapters/mso-requests-db-adapter/src/main/java/org/onap/so/adapters/requestsdb/MsoRequestsDbAdapterImpl.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/adapters/mso-requests-db-adapter/src/main/java/org/onap/so/adapters/requestsdb/MsoRequestsDbAdapterImpl.java b/adapters/mso-requests-db-adapter/src/main/java/org/onap/so/adapters/requestsdb/MsoRequestsDbAdapterImpl.java index dc6abce759..c8ea1652f7 100644 --- a/adapters/mso-requests-db-adapter/src/main/java/org/onap/so/adapters/requestsdb/MsoRequestsDbAdapterImpl.java +++ b/adapters/mso-requests-db-adapter/src/main/java/org/onap/so/adapters/requestsdb/MsoRequestsDbAdapterImpl.java @@ -201,7 +201,10 @@ public class MsoRequestsDbAdapterImpl implements MsoRequestsDbAdapter { String error = "Entity not found. Unable to retrieve OperationStatus Object ServiceId: " + serviceId + " operationId: " + operationId; logger.error(error); - throw new MsoRequestsDbException(error,MsoLogger.ErrorCode.BusinessProcesssError); +// throw new MsoRequestsDbException(error,MsoLogger.ErrorCode.BusinessProcesssError); + operStatus = new OperationStatus(); + operStatus.setOperationId(operationId); + operStatus.setServiceId(serviceId); } operStatus.setUserId(userId); |