Fix grafana api context path

feature/traccar-sync
Mohamed Rashd 3 years ago
parent a1b7320215
commit 65ae8dd774

@ -112,7 +112,7 @@ public interface GrafanaAPIProxyService {
@Path("/dashboards/uid/{uid}")
@ApiOperation(
produces = MediaType.APPLICATION_JSON,
httpMethod = "POST",
httpMethod = "GET",
value = "Grafana dashboard details API proxy",
tags = "Analytics",
extensions = {
@ -145,7 +145,7 @@ public interface GrafanaAPIProxyService {
@Path("/alerts/states-for-dashboard")
@ApiOperation(
produces = MediaType.APPLICATION_JSON,
httpMethod = "POST",
httpMethod = "GET",
value = "Get Grafana alert states for dashboard details API proxy",
tags = "Analytics",
extensions = {

@ -84,7 +84,7 @@ public class HandlerConstants {
public static final String WSS_PROTOCOL = "wss";
public static final String WS_PROTOCOL = "ws";
public static final String REMOTE_SESSION_CONTEXT = "/remote/session/clients";
public static final String GRAFANA_API = "/api/device-mgt/v1.0/reports/grafana";
public static final String GRAFANA_API = "/api/grafana-mgt/v1.0";
public static final String IOT_CORE_HOST_ENV_VAR = "iot.core.host";
public static final String IOT_CORE_HTTP_PORT_ENV_VAR = "iot.core.http.port";

Loading…
Cancel
Save