Class AuditLogResource


  • @Path("/audit")
    @Consumes("application/json")
    @Produces("application/json")
    public class AuditLogResource
    extends ConfigBaseResource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getLogsEnteries​(String pattern, int startIndex, int limit, String startDate, String endDate)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException
    • Constructor Detail

      • AuditLogResource

        public AuditLogResource()
    • Method Detail

      • getLogsEnteries

        @GET
        public jakarta.ws.rs.core.Response getLogsEnteries​(@QueryParam("pattern")
                                                           String pattern,
                                                           @DefaultValue("0") @QueryParam("startIndex")
                                                           int startIndex,
                                                           @DefaultValue("50") @QueryParam("limit")
                                                           int limit,
                                                           @QueryParam("start_date")
                                                           String startDate,
                                                           @QueryParam("end_date")
                                                           String endDate)