aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-09-21 12:03:01 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-21 12:03:01 +0000
commit436da2796d3487a23c7778d9f1558a086a35fb21 (patch)
tree2d3852d9a67a4e17c56afa8ef04110c69f488a70 /common
parent5c1f91666cff5d3b21d2d8cd706d09e186e3fe7d (diff)
parente78a5e3bae36e084e630bd9c238a9ef238953ac5 (diff)
Merge "Heatbridge Updates"
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java b/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java
index 33958a7850..c601b88ae5 100644
--- a/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java
+++ b/common/src/main/java/org/onap/so/utils/ExternalTaskServiceUtils.java
@@ -78,13 +78,9 @@ public class ExternalTaskServiceUtils {
@Scheduled(fixedDelay = 30000)
public void checkAllClientsActive() {
try {
- logger.debug("Executing scheduled task to check and restart external task clients"); // TODO remove
- // eventually
List<ExternalTaskClient> inactiveClients =
getClients().stream().filter(client -> !client.isActive()).collect(Collectors.toList());
-
inactiveClients.forEach(c -> {
- logger.debug("External Task Client found to be inactive. Restarting Client.");
c.start();
});
} catch (Exception e) {