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
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
STATUS_URL, TENANTS_URL
-
-
Constructor Summary
Constructors Constructor Description BatchReportResource(BatchReportServiceImpl batchReportServiceImpl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
appendReport(com.fasterxml.jackson.databind.JsonNode body, int tenantId)
javax.ws.rs.core.Response
createExtractedMetadataDistributionFileForAu(java.lang.String processId)
javax.ws.rs.core.Response
deleteReport(java.lang.String processId, ReportType reportType)
javax.ws.rs.core.Response
exportDistinctObjectGroup(java.lang.String processId, ReportExportRequest reportExportRequest)
javax.ws.rs.core.Response
exportPurgeAccessionRegister(java.lang.String processId, ReportExportRequest reportExportRequest)
javax.ws.rs.core.Response
exportUnitsToInvalidate(java.lang.String processId, ReportExportRequest reportExportRequest)
javax.ws.rs.core.Response
readComputedDetailsFromReport(com.fasterxml.jackson.databind.JsonNode body)
javax.ws.rs.core.Response
storeExtractedMetadataForAu(java.util.List<ExtractedMetadata> extractedMetadatas)
javax.ws.rs.core.Response
storeReportToWorkspace(Report reportInfo)
-
Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
getServerTenants, status
-
-
-
-
Constructor Detail
-
BatchReportResource
public BatchReportResource(BatchReportServiceImpl batchReportServiceImpl)
-
-
Method Detail
-
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") java.lang.String processId, ReportExportRequest reportExportRequest) throws ContentAddressableStorageServerException, java.io.IOException
- Throws:
ContentAddressableStorageServerException
java.io.IOException
-
exportUnitsToInvalidate
@Path("computedInheritedRulesInvalidation/{processId}") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response exportUnitsToInvalidate(@PathParam("processId") java.lang.String processId, ReportExportRequest reportExportRequest) throws java.lang.Exception
- Throws:
java.lang.Exception
-
exportPurgeAccessionRegister
@Path("/purge/accession_register_export/{processId}") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response exportPurgeAccessionRegister(@PathParam("processId") java.lang.String processId, ReportExportRequest reportExportRequest) throws ContentAddressableStorageServerException, java.io.IOException
- Throws:
ContentAddressableStorageServerException
java.io.IOException
-
deleteReport
@Path("/cleanup/{reportType}/{processId}") @DELETE @Produces("application/json") public javax.ws.rs.core.Response deleteReport(@PathParam("processId") java.lang.String processId, @PathParam("reportType") ReportType reportType)
-
storeExtractedMetadataForAu
@Path("/storeExtractedMetadataForAu") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response storeExtractedMetadataForAu(java.util.List<ExtractedMetadata> extractedMetadatas)
-
createExtractedMetadataDistributionFileForAu
@Path("/createExtractedMetadataDistributionFileForAu/{processId}") @GET @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createExtractedMetadataDistributionFileForAu(@PathParam("processId") java.lang.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)
-
-