Class AdminMigrationResource
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.rest.AdminMigrationResource
-
@Path("/adminmanagement/v1") @ApplicationPath("webresources") public class AdminMigrationResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AdminMigrationResource(LogbookOperationsClientFactory logbookOperationsClientFactory, ProcessingManagementClientFactory processingManagementClientFactory, WorkspaceClientFactory workspaceClientFactory)
AdminMigrationResource
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
check()
Check migration statusjavax.ws.rs.core.Response
start(javax.ws.rs.core.HttpHeaders headers)
Migration Api
-
-
-
Constructor Detail
-
AdminMigrationResource
public AdminMigrationResource(LogbookOperationsClientFactory logbookOperationsClientFactory, ProcessingManagementClientFactory processingManagementClientFactory, WorkspaceClientFactory workspaceClientFactory)
AdminMigrationResource- Parameters:
logbookOperationsClientFactory
- logbookOperationsClientFactoryprocessingManagementClientFactory
- processingManagementClientFactoryworkspaceClientFactory
- workspaceClientFactory
-
-
Method Detail
-
start
@POST @Path("/startMigration") @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response start(@Context javax.ws.rs.core.HttpHeaders headers)
Migration Api- Parameters:
headers
- headers- Returns:
- Response
-
check
@HEAD @Path("/migrationStatus") @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response check()
Check migration status- Returns:
- Response
-
-