aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'datarouter-prov/src/main')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
index 96e523df..42d2b113 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
@@ -26,6 +26,7 @@ package org.onap.dmaap.datarouter.provisioning;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
+
import java.io.IOException;
import java.util.*;
import javax.servlet.ServletConfig;
@@ -42,7 +43,6 @@ import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
import org.onap.dmaap.datarouter.provisioning.beans.IngressRoute;
import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
import org.onap.dmaap.datarouter.provisioning.utils.DB;
-import org.slf4j.MDC;
/**
* This servlet handles redirects for the <publishURL> on the provisioning server, which is generated by the
@@ -74,7 +74,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doDelete(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doDelete");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -86,7 +86,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doGet(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doGet");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -98,7 +98,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doPut(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doPut");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -110,7 +110,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doPost(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doPost");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -130,7 +130,7 @@ public class PublishServlet extends BaseServlet {
}
}
- private void redirect(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ private void redirect(HttpServletRequest req, HttpServletResponse resp) {
try {
String[] nodes = getNodes();
if (nodes == null || nodes.length == 0) {
@@ -170,7 +170,6 @@ public class PublishServlet extends BaseServlet {
}
} catch (IOException ioe) {
intlogger.error("IOException" + ioe.getMessage());
-
}
}