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