Class BatchReportResource

java.lang.Object
fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
fr.gouv.vitam.batch.report.rest.resource.BatchReportResource

@Path("/batchreport/v1") public class BatchReportResource extends ApplicationStatusResource
  • Constructor Details

  • Method Details

    • appendReport

      @Path("/append") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response appendReport(com.fasterxml.jackson.databind.JsonNode body, @HeaderParam("X-Tenant-Id") int tenantId)
    • storeReportToWorkspace

      @Path("/storeToWorkspace") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response storeReportToWorkspace(Report reportInfo)
    • exportDistinctObjectGroup

      @Path("/purge_unit/objectgroup_export/{processId}") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response exportDistinctObjectGroup(@PathParam("processId") String processId, ReportExportRequest reportExportRequest) throws ContentAddressableStorageServerException, IOException
      Throws:
      ContentAddressableStorageServerException
      IOException
    • exportUnitsToInvalidate

      @Path("computedInheritedRulesInvalidation/{processId}") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response exportUnitsToInvalidate(@PathParam("processId") String processId, ReportExportRequest reportExportRequest) throws Exception
      Throws:
      Exception
    • exportPurgeAccessionRegister

      @Path("/purge/accession_register_export/{processId}") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response exportPurgeAccessionRegister(@PathParam("processId") String processId, ReportExportRequest reportExportRequest) throws ContentAddressableStorageServerException, IOException
      Throws:
      ContentAddressableStorageServerException
      IOException
    • deleteReport

      @Path("/cleanup/{reportType}/{processId}") @DELETE @Produces("application/json") public javax.ws.rs.core.Response deleteReport(@PathParam("processId") String processId, @PathParam("reportType") ReportType reportType)
    • storeExtractedMetadataForAu

      @Path("/storeExtractedMetadataForAu") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response storeExtractedMetadataForAu(List<ExtractedMetadata> extractedMetadatas)
    • createExtractedMetadataDistributionFileForAu

      @Path("/createExtractedMetadataDistributionFileForAu/{processId}") @GET @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createExtractedMetadataDistributionFileForAu(@PathParam("processId") String processId)
    • readComputedDetailsFromReport

      @Path("/readComputedDetailsFromReport") @GET @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response readComputedDetailsFromReport(com.fasterxml.jackson.databind.JsonNode body)