@Path(value="/metadata/v1") public class MetadataManagementResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OBJECTGROUP |
static String |
UNIT |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
computeGraph(GraphComputeResponse.GraphComputeAction action,
Set<String> documentsId)
API to access and launch the Vitam graph builder service for metadatas.
|
javax.ws.rs.core.Response |
computeGraphByDSL(Integer xTenantId,
com.fasterxml.jackson.databind.JsonNode queryDsl)
API to access and launch the Vitam graph builder service for metadatas.
|
javax.ws.rs.core.Response |
computeGraphByDSLInProgress()
Check if graph builder is in progress.
|
javax.ws.rs.core.Response |
exportReclassificationChildNodes(ReclassificationChildNodeExportRequest request)
Export child nodes of units to reclassify for graph update into workspaces.
|
javax.ws.rs.core.Response |
migrationPurgeDipFilesFromOffers() |
javax.ws.rs.core.Response |
processObsoleteComputedInheritedRules() |
javax.ws.rs.core.Response |
purgeExpiredDipFiles() |
javax.ws.rs.core.Response |
purgeExpiredTransfersSIPFiles() |
javax.ws.rs.core.Response |
purgeReconstructedDocumentsWithGraphOnlyData(GraphComputeResponse.GraphComputeAction action)
API to purge documents reconstructed but having only graph data
This will remove all documents older than a configured delay (deleteIncompleteReconstructedUnitDelay) in vitam conf
|
javax.ws.rs.core.Response |
reconstructCollection(List<ReconstructionRequestItem> reconstructionItems)
API to access and launch the Vitam reconstruction service for metadatas.
|
javax.ws.rs.core.Response |
storeGraph()
API to access and launch the Vitam store graph service for metadatas.
|
javax.ws.rs.core.Response |
storeGraphInProgress()
Check if store graph is in progress.
|
public static final String OBJECTGROUP
public static final String UNIT
@Path(value="/reconstruction") @POST @Consumes(value="application/json") @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollection(List<ReconstructionRequestItem> reconstructionItems)
reconstructionItems
- list of reconstruction request items@Path(value="/storegraph") @GET @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response storeGraph()
@Path(value="/storegraph/progress") @GET @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response storeGraphInProgress()
@Path(value="/computegraph") @POST @Consumes(value="application/json") @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response computeGraphByDSL(@HeaderParam(value="X-Tenant-Id") Integer xTenantId, com.fasterxml.jackson.databind.JsonNode queryDsl)
@Path(value="/computegraph/progress") @GET @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response computeGraphByDSLInProgress()
@Path(value="/computegraph/{collection:UNIT|OBJECTGROUP|UNIT_OBJECTGROUP}") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response computeGraph(@PathParam(value="collection") GraphComputeResponse.GraphComputeAction action, Set<String> documentsId)
@Path(value="exportReclassificationChildNodes") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response exportReclassificationChildNodes(ReclassificationChildNodeExportRequest request)
@Path(value="/purgeGraphOnlyDocuments/{collection:UNIT|OBJECTGROUP|UNIT_OBJECTGROUP}") @DELETE @Produces(value="application/json") public javax.ws.rs.core.Response purgeReconstructedDocumentsWithGraphOnlyData(@PathParam(value="collection") GraphComputeResponse.GraphComputeAction action)
@Path(value="/units/computedInheritedRules/processObsoletes") @POST @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response processObsoleteComputedInheritedRules()
@Path(value="/purgeDIP") @DELETE @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response purgeExpiredDipFiles()
@Path(value="/purgeTransfersSIP") @DELETE @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response purgeExpiredTransfersSIPFiles()
@Path(value="/migrationDeleteDipFromOffers") @DELETE @Produces(value="application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response migrationPurgeDipFilesFromOffers()
Copyright © 2019 Vitam. All rights reserved.