Class AnalyticsReportCustomResource
- java.lang.Object
-
- lumis.portal.monitor.impl.AbstractMonitorResource
-
- lumis.service.analytics.eventanalytics.report.rest.EventAnalyticsReportResource
-
- lumis.service.analytics.eventanalytics.report.rest.AnalyticsReportCustomResource
-
@Path("/lumis/service/analytics/eventanalytics/report/rest/custom") @StableMinor(version="16.0", sinceVersion="12.2") public class AnalyticsReportCustomResource extends EventAnalyticsReportResource
Exposes an event analytics graph JSON data via REST.- Since:
- 12.2.0
- Version:
- $Revision: 25809 $ $Date: 2023-07-04 15:23:22 -0300 (Tue, 04 Jul 2023) $
-
-
Field Summary
-
Fields inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
app
-
-
Constructor Summary
Constructors Constructor Description AnalyticsReportCustomResource()
Constructor for JAX-RS use.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearReportCaches(java.lang.String reportId)
Clear report caches stored in this REST.java.lang.String
getReport(java.lang.String serviceInstanceId, @NotNull java.lang.String reportFriendlyId, java.lang.String projectIdFilter, HttpServletRequest request)
Returns the JSON response for the report-
Methods inherited from class lumis.service.analytics.eventanalytics.report.rest.EventAnalyticsReportResource
deleteEventList, getGraph
-
Methods inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
checkModeManagePermission, checkModeManagePermission, checkModeViewPermission, checkModeViewPermission, checkViewServiceInstancePermission
-
-
-
-
Method Detail
-
getReport
@Path("/{serviceInstanceId:[a-fA-F0-9]{32}}/{reportFriendlyId}") @GET @Produces("application/json") public java.lang.String getReport(@PathParam("serviceInstanceId") java.lang.String serviceInstanceId, @PathParam("reportFriendlyId") @NotNull @NotNull java.lang.String reportFriendlyId, @QueryParam("lum_event.projectId") java.lang.String projectIdFilter, @Context HttpServletRequest request) throws PortalException
Returns the JSON response for the report- Parameters:
serviceInstanceId
- the report service instance.reportFriendlyId
- the report REST friendly identifier.projectIdFilter
- the project identifier used as filter. May benull
or blank if will not filter by project.- Returns:
- the JSON containing the report data.
- Throws:
PortalException
- Since:
- 12.2.0
-
clearReportCaches
public static void clearReportCaches(java.lang.String reportId)
Clear report caches stored in this REST.- Parameters:
reportId
- the report identifier.- Since:
- 14.0.0
-
-