Merge branch 'fix/grafana/api/context/path/constant' into 'master'

Fix grafana api context path

See merge request entgra/carbon-device-mgt!844
temp
Pahansith Gunathilake 3 years ago
commit 02e0129d25

@ -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