Package fr.gouv.vitam.security.internal.rest.resource

# Class AdminSecurityDataMigrationResource

java.lang.Object
fr.gouv.vitam.security.internal.rest.resource.AdminSecurityDataMigrationResource

@Path("/v1/api/security") public class AdminSecurityDataMigrationResource extends 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

  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  `isMigrationInProgress()`
  API for security data migration status check
  `jakarta.ws.rs.core.Response`
  `startSecurityDataMigration()`
  API for security data migration

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AdminSecurityDataMigrationResource

    public AdminSecurityDataMigrationResource(SecurityDataMigrationService securityDataMigrationService)
    Constructor

- ## Method Details

  - ### startSecurityDataMigration

    @Path("/migration") @POST @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public jakarta.ws.rs.core.Response startSecurityDataMigration()
    API for security data migration
    Returns:
      the response

  - ### isMigrationInProgress

    @Path("/migration/status") @GET @Produces("application/json") public jakarta.ws.rs.core.Response isMigrationInProgress()
    API for security data migration status check
    Returns:
      the response