aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2019-04-03 15:35:56 +0000
committerefiacor <fiachra.corcoran@est.tech>2019-04-03 15:35:56 +0000
commitd5e08a1d3809fac596192c4e2bd44809ae4fa027 (patch)
treee41f730326785cd219c0161b61c5eb87b7689f64
parent5b4d074b2f317ffe2cd9cdae5292b0ea94b35fb3 (diff)
Fix broken unit test
Change-Id: I5ba79bd8cbc0aaec5a1f373d7ac83a0d1b760e3c Issue-ID: DMAAP-1016 Signed-off-by: efiacor <fiachra.corcoran@est.tech>
-rw-r--r--datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServlet.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServlet.java
index 34c0f5a6..41661377 100644
--- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServlet.java
+++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServlet.java
@@ -66,7 +66,6 @@ public class NodeServlet extends HttpServlet {
private static NodeConfigManager config;
private static Pattern MetaDataPattern;
private static EELFLogger eelflogger = EELFManager.getInstance().getLogger(NodeServlet.class);
- private static boolean isAAFFeed = false;
private final Delivery delivery;
static {
@@ -195,6 +194,7 @@ public class NodeServlet extends HttpServlet {
String xpubid = null;
String rcvd = NodeUtils.logts(System.currentTimeMillis()) + ";from=" + ip + ";by=" + lip;
Target[] targets = null;
+ boolean isAAFFeed = false;
if (fileid.startsWith("/delete/")) {
deleteFile(req, resp, fileid, pubid);
return;