aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2020-06-02 11:10:41 +0300
committerEinat Vinouze <einat.vinouze@intl.att.com>2020-06-02 11:10:41 +0300
commite0638b1278a72b2dbb40f3b96d86e3c7bb75c0f7 (patch)
treef0eb10c8e87d8022b337b979303fa28690329518 /vid-app-common
parentb8f308c3685781640f8543600b56e04c298560d7 (diff)
When JobStatus is COMPLETED_AND_PAUSED add retry option dropdown menu on instantiationStatus
Issue-ID: VID-821 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Idd20b768c1279a3736fbeeb56ec85b3911bb186f
Diffstat (limited to 'vid-app-common')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java b/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java
index 07c2d1593..91801973b 100644
--- a/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java
+++ b/vid-app-common/src/main/java/org/onap/vid/services/AsyncInstantiationBusinessLogicImpl.java
@@ -435,8 +435,8 @@ public class AsyncInstantiationBusinessLogicImpl implements
}
private boolean isRetryEnabledForStatus(JobStatus jobStatus) {
- return featureManager.isActive(Features.FLAG_1902_RETRY_JOB) &&
- (jobStatus==JobStatus.COMPLETED_WITH_ERRORS || jobStatus==JobStatus.FAILED);
+ return jobStatus==JobStatus.COMPLETED_AND_PAUSED || (featureManager.isActive(Features.FLAG_1902_RETRY_JOB) &&
+ (jobStatus==JobStatus.COMPLETED_WITH_ERRORS || jobStatus==JobStatus.FAILED));
}
private void setServiceInfoStatus(ServiceInfo serviceInfo, JobStatus jobStatus) {