This commit is contained in:
Thomas Georgios Giannos 2023-11-23 10:34:44 +02:00
parent 2936cbbb7a
commit 1e92d86356
1 changed files with 4 additions and 11 deletions

View File

@ -2,16 +2,12 @@ package eu.old.eudat.publicapi.migration;
import com.fasterxml.jackson.core.JsonProcessingException;
import eu.old.eudat.migration.*;
import eu.eudat.commons.JsonHandlingService;
import eu.old.eudat.logic.services.operations.DatabaseRepository;
import eu.old.eudat.migration.DatasetMigrationService;
import eu.old.eudat.migration.DmpDatasetProfileMigrationService;
import eu.old.eudat.migration.DmpMigrationService;
import eu.old.eudat.migration.OrganizationMigrationService;
import io.swagger.annotations.Api;
import jakarta.persistence.EntityManager;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(tags = "Migration")
@RestController
@ -28,11 +24,8 @@ public class MigrationController {
private final RegistryMigrationService registryMigrationService;
private final ResearcherMigrationService researcherMigrationService;
private final ServiceMigrationService serviceMigrationService;
private final DatasetMigrationService datasetMigrationService;
private final DmpDatasetProfileMigrationService dmpDatasetProfileMigrationService;
private final OrganizationMigrationService organizationMigrationService;
public MigrationController(