Class AdminMigrationResource


  • @Path("/adminmanagement/v1")
    @ApplicationPath("webresources")
    public class AdminMigrationResource
    extends java.lang.Object
    • 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
      • migrateCollection

        @Path("collectionMigration")
        @PUT
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response migrateCollection​(DataMigrationBody dataMigrationBody)
        Migrate Collections : To add a new Migration scenary, please add a AUTHORIZED_FIELDS_TO_UPDATE list in the concerned collection to control fields to update. Collection should be controled by its enum family ( FunctionalAdminCollections, OfferCollections, LogbookCollections, ... )
        Parameters:
        dataMigrationBody -
        Returns: