From 52a0b13a8c8bba2e1e2b4d36a6b7548d6fc79f29 Mon Sep 17 00:00:00 2001 From: Yulian Han Date: Wed, 28 Mar 2018 17:04:00 +0800 Subject: checkE2ESvcInstStatus using status_result Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641f8 Issue-ID: SO-419 Signed-off-by: Yulian Han --- .../java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java') diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java index 2e0b53d5d8..5016c9d3e7 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java @@ -687,7 +687,7 @@ public class E2EServiceInstances { return response; } - if (curStatus != null && !curStatus.getProgress().equals("100")) { + if (curStatus != null && curStatus.getResult() != null && curStatus.getResult().equalsIgnoreCase("processing")) { String chkMessage = "Error: Locked instance - This " + requestScope + " (" + requestId + ") " + "now being worked with a status of " + curStatus.getProgress() + " (ServiceName - " + curStatus.getServiceName() -- cgit 1.2.3-korg