Class AdminOfferSwiftMigrationResource
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
-
- fr.gouv.vitam.storage.offers.rest.AdminOfferSwiftMigrationResource
-
@Path("/offer/v1/swift-migration") public class AdminOfferSwiftMigrationResource extends ApplicationStatusResource
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
STATUS_URL, TENANTS_URL
-
-
Constructor Summary
Constructors Constructor Description AdminOfferSwiftMigrationResource(Swift swiftContentAddressableStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
checkSwiftMigrationInProgress()
javax.ws.rs.core.Response
getSwiftMigrationResult()
javax.ws.rs.core.Response
launchSwiftMigration(SwiftMigrationRequest swiftMigrationRequest)
-
Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
getServerTenants, status
-
-
-
-
Constructor Detail
-
AdminOfferSwiftMigrationResource
public AdminOfferSwiftMigrationResource(Swift swiftContentAddressableStorage)
-
-
Method Detail
-
launchSwiftMigration
@POST @Path("") @Consumes("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response launchSwiftMigration(SwiftMigrationRequest swiftMigrationRequest)
-
checkSwiftMigrationInProgress
@HEAD @Path("") @Consumes("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response checkSwiftMigrationInProgress()
-
getSwiftMigrationResult
@GET @Path("") @Consumes("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response getSwiftMigrationResult()
-
-