Class GrafanaEndpointRestServiceImpl
- java.lang.Object
-
- org.opennms.netmgt.endpoints.grafana.rest.internal.GrafanaEndpointRestServiceImpl
-
- All Implemented Interfaces:
GrafanaEndpointRestService
public class GrafanaEndpointRestServiceImpl extends Object implements GrafanaEndpointRestService
-
-
Constructor Summary
Constructors Constructor Description GrafanaEndpointRestServiceImpl(GrafanaEndpointService grafanaEndpointService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createEndpoint(GrafanaEndpoint newGrafanaEndpoint)
javax.ws.rs.core.Response
deleteAllEndpoints()
javax.ws.rs.core.Response
deleteEndpoint(Long endpointId)
javax.ws.rs.core.Response
getDashboard(String uid, String dashboardId)
javax.ws.rs.core.Response
getEndpoint(Long endpointId)
javax.ws.rs.core.Response
listDashboards(String uid)
javax.ws.rs.core.Response
listEndpoints()
javax.ws.rs.core.Response
updateEndpoint(GrafanaEndpoint grafanaEndpoint)
javax.ws.rs.core.Response
verifyEndpoint(GrafanaEndpoint grafanaEndpoint)
-
-
-
Constructor Detail
-
GrafanaEndpointRestServiceImpl
public GrafanaEndpointRestServiceImpl(GrafanaEndpointService grafanaEndpointService)
-
-
Method Detail
-
listEndpoints
public javax.ws.rs.core.Response listEndpoints()
- Specified by:
listEndpoints
in interfaceGrafanaEndpointRestService
-
deleteAllEndpoints
public javax.ws.rs.core.Response deleteAllEndpoints()
- Specified by:
deleteAllEndpoints
in interfaceGrafanaEndpointRestService
-
verifyEndpoint
public javax.ws.rs.core.Response verifyEndpoint(GrafanaEndpoint grafanaEndpoint)
- Specified by:
verifyEndpoint
in interfaceGrafanaEndpointRestService
-
getEndpoint
public javax.ws.rs.core.Response getEndpoint(Long endpointId)
- Specified by:
getEndpoint
in interfaceGrafanaEndpointRestService
-
updateEndpoint
public javax.ws.rs.core.Response updateEndpoint(GrafanaEndpoint grafanaEndpoint)
- Specified by:
updateEndpoint
in interfaceGrafanaEndpointRestService
-
createEndpoint
public javax.ws.rs.core.Response createEndpoint(GrafanaEndpoint newGrafanaEndpoint)
- Specified by:
createEndpoint
in interfaceGrafanaEndpointRestService
-
deleteEndpoint
public javax.ws.rs.core.Response deleteEndpoint(Long endpointId)
- Specified by:
deleteEndpoint
in interfaceGrafanaEndpointRestService
-
listDashboards
public javax.ws.rs.core.Response listDashboards(String uid)
- Specified by:
listDashboards
in interfaceGrafanaEndpointRestService
-
getDashboard
public javax.ws.rs.core.Response getDashboard(String uid, String dashboardId)
- Specified by:
getDashboard
in interfaceGrafanaEndpointRestService
-
-