summaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-artifact-handler/provider/src
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-02-14 19:06:26 +0530
committerTakamune Cho <takamune.cho@att.com>2019-02-14 15:01:08 +0000
commitf645188c3e3de65e41f6f5d53b3c3aca7d491770 (patch)
tree90f55f707d9355f43b7e4916831f6249508d6cb0 /appc-inbound/appc-artifact-handler/provider/src
parentc36a7706f20773966b08e0a845e451e26097237d (diff)
Added interrupt method to notify caller method
Called interrupt method on current thread Issue-ID: APPC-1437 Change-Id: I0dbb8cf01f285c01f96fe4f1c0396999e3361373 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
Diffstat (limited to 'appc-inbound/appc-artifact-handler/provider/src')
-rw-r--r--appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java
index 9ca1f44a4..3246ef1ff 100644
--- a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java
+++ b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java
@@ -111,7 +111,10 @@ public class ArtifactHandlerProvider implements AutoCloseable, ArtifactHandlerSe
checkedFuture.get();
log.info("Create containers succeeded!");
- } catch (InterruptedException | ExecutionException e) {
+ } catch (InterruptedException e) {
+ log.error("Create containers failed", e);
+ Thread.currentThread().interrupt();
+ } catch (ExecutionException e) {
log.error("Create containers failed", e);
}
}