mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Change reporting webapp system variable name
This commit is contained in:
parent
62ef8d6bb5
commit
5fd5c110aa
@ -301,7 +301,7 @@ public class InvokerHandler extends HttpServlet {
|
|||||||
+ HandlerConstants.COLON + HandlerUtil.getGatewayPort(req.getScheme());
|
+ HandlerConstants.COLON + HandlerUtil.getGatewayPort(req.getScheme());
|
||||||
|
|
||||||
if ("reports".equalsIgnoreCase(req.getHeader("appName"))){
|
if ("reports".equalsIgnoreCase(req.getHeader("appName"))){
|
||||||
apiEndpoint = System.getProperty("iot.reporting.event.host");
|
apiEndpoint = System.getProperty("iot.reporting.webapp.host");
|
||||||
if (StringUtils.isBlank(apiEndpoint)){
|
if (StringUtils.isBlank(apiEndpoint)){
|
||||||
log.error("Reporting Endpoint is not defined in the iot-server.sh properly.");
|
log.error("Reporting Endpoint is not defined in the iot-server.sh properly.");
|
||||||
handleError(resp, HttpStatus.SC_INTERNAL_SERVER_ERROR);
|
handleError(resp, HttpStatus.SC_INTERNAL_SERVER_ERROR);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user