From 5fd5c110aae3eb3c8e9d3003e7ff6f004673cfe6 Mon Sep 17 00:00:00 2001 From: "tcdlpds@gmail.com" Date: Tue, 19 May 2020 14:16:25 +0530 Subject: [PATCH] Change reporting webapp system variable name --- .../java/io/entgra/ui/request/interceptor/InvokerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/InvokerHandler.java b/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/InvokerHandler.java index 49536194ba..3c1e4a45b1 100644 --- a/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/InvokerHandler.java +++ b/components/ui-request-interceptor/io.entgra.ui.request.interceptor/src/main/java/io/entgra/ui/request/interceptor/InvokerHandler.java @@ -301,7 +301,7 @@ public class InvokerHandler extends HttpServlet { + HandlerConstants.COLON + HandlerUtil.getGatewayPort(req.getScheme()); if ("reports".equalsIgnoreCase(req.getHeader("appName"))){ - apiEndpoint = System.getProperty("iot.reporting.event.host"); + apiEndpoint = System.getProperty("iot.reporting.webapp.host"); if (StringUtils.isBlank(apiEndpoint)){ log.error("Reporting Endpoint is not defined in the iot-server.sh properly."); handleError(resp, HttpStatus.SC_INTERNAL_SERVER_ERROR);