diff options
author | Marcus Williams <marcus.williams@intel.com> | 2019-01-28 20:43:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-28 20:43:35 +0000 |
commit | 902b6a93925067f0bb8c7a1639b62cbd64604465 (patch) | |
tree | 1869cb1b23e0fc0f7113ca812e9d26fc8fa2a403 /adapters/mso-sdnc-adapter | |
parent | 1f57cd06a3bf1deeb277430dba310088368c82fa (diff) | |
parent | fe91155454a27401e8c23780fa247c0ede196747 (diff) |
Merge "Merge 'origin/casablanca' into master"
Diffstat (limited to 'adapters/mso-sdnc-adapter')
-rw-r--r-- | adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/SDNCRestClient.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/SDNCRestClient.java b/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/SDNCRestClient.java index 4b3181e6e9..65c7d093a9 100644 --- a/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/SDNCRestClient.java +++ b/adapters/mso-sdnc-adapter/src/main/java/org/onap/so/adapters/sdnc/impl/SDNCRestClient.java @@ -84,6 +84,14 @@ public class SDNCRestClient{ msoLogger.debug("BPEL Request:" + bpelRequest.toString()); + // Added delay to allow completion of create request to SDNC + // before executing activate of create request. + try { + Thread.sleep(5000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + String action = bpelRequest.getRequestHeader().getSvcAction(); String operation = bpelRequest.getRequestHeader().getSvcOperation(); String bpelReqId = bpelRequest.getRequestHeader().getRequestId(); |