Class EventAnalyticsResource
- java.lang.Object
-
- lumis.portal.monitor.impl.AbstractMonitorResource
-
- lumis.service.analytics.eventanalytics.EventAnalyticsResource
-
@Path("/lumis/service/analytics/eventanalytics/{si: [a-fA-F0-9]{32}}") public class EventAnalyticsResource extends AbstractMonitorResource
Event analytics rest.- Since:
- 11.0.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Field Summary
-
Fields inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
app
-
-
Constructor Summary
Constructors Constructor Description EventAnalyticsResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDashboardDetails(String dashboardId)
String
getReportDetails(String reportId)
Response
getReportsAndDashboards()
Returns the dashboards and reports.void
saveDashboard(String jsonStr, String dashboardId)
void
saveReport(String jsonStr, String reportId)
static void
saveReportInternal(String jsonStr, String reportId, String serviceInstanceId)
Save report utility.-
Methods inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
checkModeManagePermission, checkModeManagePermission, checkModeViewPermission, checkModeViewPermission, checkViewServiceInstancePermission
-
-
-
-
Method Detail
-
getReportsAndDashboards
@GET @Path("/reportsanddashboards") @Produces("application/json") public Response getReportsAndDashboards()
Returns the dashboards and reports.- Returns:
- the dashboards and reports.
- Since:
- 11.0.0
-
getReportDetails
@Path("/report/{reportId: [a-fA-F0-9]{32}}") @GET @Produces("application/json") public String getReportDetails(@PathParam("reportId") String reportId)
-
saveReport
@Path("/report/{reportId: [a-fA-F0-9]{32}}") @POST @Produces("application/json") @Consumes("application/json") public void saveReport(String jsonStr, @PathParam("reportId") String reportId)
-
saveReportInternal
public static void saveReportInternal(String jsonStr, String reportId, String serviceInstanceId) throws PortalException
Save report utility.- Parameters:
jsonStr
- the report JSONreportId
- the report identifierserviceInstanceId
- the service instance identifier- Throws:
PortalException
- Since:
- 14.2.0
-
getDashboardDetails
@Path("/dashboard/{dashboardId: [a-fA-F0-9]{32}}") @GET @Produces("application/json") public String getDashboardDetails(@PathParam("dashboardId") String dashboardId)
-
-