Class AdminMigrationResource


  • @Path("/adminmanagement/v1")
    @ApplicationPath("webresources")
    public class AdminMigrationResource
    extends java.lang.Object
    • Constructor Detail

      • AdminMigrationResource

        public AdminMigrationResource​(LogbookOperationsClientFactory logbookOperationsClientFactory,
                                      ProcessingManagementClientFactory processingManagementClientFactory,
                                      WorkspaceClientFactory workspaceClientFactory)
        AdminMigrationResource
        Parameters:
        logbookOperationsClientFactory - logbookOperationsClientFactory
        processingManagementClientFactory - processingManagementClientFactory
        workspaceClientFactory - 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