From ea6b8c753681ae3626f7913b4ddd5f4abf094b36 Mon Sep 17 00:00:00 2001 From: "tcdlpds@gmail.com" Date: Mon, 17 Aug 2020 01:03:55 +0530 Subject: [PATCH] Fix invoker loading issue --- .../src/main/webapp/WEB-INF/web.xml | 5 ++--- .../io/entgra/ui/request/interceptor/OTPInvokerHandler.java | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/device-mgt/io.entgra.carbon.device.mgt.config.api/src/main/webapp/WEB-INF/web.xml b/components/device-mgt/io.entgra.carbon.device.mgt.config.api/src/main/webapp/WEB-INF/web.xml index 3b97a83bbc..aafbcec0e0 100644 --- a/components/device-mgt/io.entgra.carbon.device.mgt.config.api/src/main/webapp/WEB-INF/web.xml +++ b/components/device-mgt/io.entgra.carbon.device.mgt.config.api/src/main/webapp/WEB-INF/web.xml @@ -49,8 +49,7 @@ nonSecuredEndPoints /api/device-mgt-config/v1.0/configurations, - /api/device-mgt-config/v1.0/configurations/ui-config, - /api/device-mgt-config/v1.0/tenant + /api/device-mgt-config/v1.0/configurations/ui-config @@ -125,4 +124,4 @@ /* - \ No newline at end of file + diff --git a/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/OTPInvokerHandler.java b/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/OTPInvokerHandler.java index 1378f5af4c..624814f327 100644 --- a/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/OTPInvokerHandler.java +++ b/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/OTPInvokerHandler.java @@ -53,7 +53,7 @@ import java.util.Enumeration; import java.util.List; @WebServlet( - name = "RequestHandlerServlet", + name = "OTPRequestHandlerServlet", description = "This servlet intercepts the otp-api requests initiated from the user interface and validate " + "before forwarding to the backend", urlPatterns = {