Package fr.gouv.vitam.metadata.rest
Class MetadataMigrationAdminResource
- java.lang.Object
-
- fr.gouv.vitam.metadata.rest.MetadataMigrationAdminResource
-
@Path("/metadata/v1") public class MetadataMigrationAdminResource extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetadataMigrationAdminResource.ResponseMessage
-
Constructor Summary
Constructors Constructor Description MetadataMigrationAdminResource()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
isMigrationInProgress()
API for data migration status checkjavax.ws.rs.core.Response
startDataMigration()
API for data migration
-
-
-
Method Detail
-
startDataMigration
@Path("/migration") @POST @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response startDataMigration()
API for data migration- Returns:
- the response
-
isMigrationInProgress
@Path("/migration/status") @GET @Produces("application/json") public javax.ws.rs.core.Response isMigrationInProgress()
API for data migration status check- Returns:
- the response
-
-