diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-03-03 14:11:34 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-03-03 14:11:43 -0500 |
commit | 5318719622347f247fb659cf7ac3934c4449272f (patch) | |
tree | f13a28faa26a438c4e436b59457ff803c0562184 /mso/src | |
parent | 067860fa1cb0f493908608fcfc0a3651e7f7c091 (diff) |
Increase timeout waiting for MSO
Change-Id: I63a76123bdcbf9cc70d5f0127ebd559225d2f573
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'mso/src')
-rw-r--r-- | mso/src/main/java/org/openecomp/policy/mso/MSOManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java b/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java index 75369e6e4..dcac32626 100644 --- a/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java +++ b/mso/src/main/java/org/openecomp/policy/mso/MSOManager.java @@ -60,7 +60,7 @@ public final class MSOManager { System.out.println(body); String requestId = response.requestReferences.requestId; - int attemptsLeft = 7; + int attemptsLeft = 20; //String getUrl = "/orchestrationRequests/v2/"+requestId; String urlGet = urlBase + "/orchestrationRequests/v2/"+requestId; @@ -84,7 +84,7 @@ public final class MSOManager { Thread.sleep(20000); } - System.out.println("***** ######## VF Module Creation takes too long... can't wait longer. Status: ("+responseGet.request.requestStatus.requestState+")"); + System.out.println("***** ######## VF Module Creation timeout. Status: ("+responseGet.request.requestStatus.requestState+")"); return responseGet; } catch (JsonSyntaxException e) { System.err.println("Failed to deserialize into MSOResponse" + e.getLocalizedMessage()); |