Class 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: 25308 $ $Date: 2022-10-24 12:26:03 -0300 (Mon, 24 Oct 2022) $
    • Constructor Detail

      • EventAnalyticsResource

        public EventAnalyticsResource()
    • 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 java.lang.String getReportDetails​(@PathParam("reportId")
                                                 java.lang.String reportId)
      • saveReport

        @Path("/report/{reportId: [a-fA-F0-9]{32}}")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public void saveReport​(java.lang.String jsonStr,
                               @PathParam("reportId")
                               java.lang.String reportId)
      • saveReportInternal

        public static void saveReportInternal​(java.lang.String jsonStr,
                                              java.lang.String reportId,
                                              java.lang.String serviceInstanceId)
                                       throws PortalException
        Save report utility.
        Parameters:
        jsonStr - the report JSON
        reportId - the report identifier
        serviceInstanceId - the service instance identifier
        Throws:
        PortalException
        Since:
        14.2.0
      • getDashboardDetails

        @Path("/dashboard/{dashboardId: [a-fA-F0-9]{32}}")
        @GET
        @Produces("application/json")
        public java.lang.String getDashboardDetails​(@PathParam("dashboardId")
                                                    java.lang.String dashboardId)
      • saveDashboard

        @Path("/dashboard/{dashboardId: [a-fA-F0-9]{32}}")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public void saveDashboard​(java.lang.String jsonStr,
                                  @PathParam("dashboardId")
                                  java.lang.String dashboardId)