mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'fix/grafana/api/context/path/constant' into 'master'
Fix grafana api context path See merge request entgra/carbon-device-mgt!844
This commit is contained in:
commit
02e0129d25
@ -112,7 +112,7 @@ public interface GrafanaAPIProxyService {
|
|||||||
@Path("/dashboards/uid/{uid}")
|
@Path("/dashboards/uid/{uid}")
|
||||||
@ApiOperation(
|
@ApiOperation(
|
||||||
produces = MediaType.APPLICATION_JSON,
|
produces = MediaType.APPLICATION_JSON,
|
||||||
httpMethod = "POST",
|
httpMethod = "GET",
|
||||||
value = "Grafana dashboard details API proxy",
|
value = "Grafana dashboard details API proxy",
|
||||||
tags = "Analytics",
|
tags = "Analytics",
|
||||||
extensions = {
|
extensions = {
|
||||||
@ -145,7 +145,7 @@ public interface GrafanaAPIProxyService {
|
|||||||
@Path("/alerts/states-for-dashboard")
|
@Path("/alerts/states-for-dashboard")
|
||||||
@ApiOperation(
|
@ApiOperation(
|
||||||
produces = MediaType.APPLICATION_JSON,
|
produces = MediaType.APPLICATION_JSON,
|
||||||
httpMethod = "POST",
|
httpMethod = "GET",
|
||||||
value = "Get Grafana alert states for dashboard details API proxy",
|
value = "Get Grafana alert states for dashboard details API proxy",
|
||||||
tags = "Analytics",
|
tags = "Analytics",
|
||||||
extensions = {
|
extensions = {
|
||||||
|
|||||||
@ -84,7 +84,7 @@ public class HandlerConstants {
|
|||||||
public static final String WSS_PROTOCOL = "wss";
|
public static final String WSS_PROTOCOL = "wss";
|
||||||
public static final String WS_PROTOCOL = "ws";
|
public static final String WS_PROTOCOL = "ws";
|
||||||
public static final String REMOTE_SESSION_CONTEXT = "/remote/session/clients";
|
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_HOST_ENV_VAR = "iot.core.host";
|
||||||
public static final String IOT_CORE_HTTP_PORT_ENV_VAR = "iot.core.http.port";
|
public static final String IOT_CORE_HTTP_PORT_ENV_VAR = "iot.core.http.port";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user