Comment clear method after migration
This commit is contained in:
parent
d9a67626a8
commit
f8e54af4fa
|
@ -31,7 +31,7 @@ public class DMPRoadmapMigration implements CommandLineRunner {
|
|||
public void run(String... args) throws Exception {
|
||||
this.service.migrateUsers();
|
||||
this.service.migrate();
|
||||
Thread.sleep(20000);
|
||||
this.service.clear();
|
||||
/*Thread.sleep(20000);
|
||||
this.service.clear();*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@ import eu.eudat.logic.builders.entity.UserTokenBuilder;
|
|||
import eu.eudat.logic.managers.AdminManager;
|
||||
import eu.eudat.logic.managers.DataManagementPlanManager;
|
||||
import eu.eudat.logic.managers.DatasetProfileManager;
|
||||
import eu.eudat.logic.managers.UserManager;
|
||||
import eu.eudat.logic.services.ApiContext;
|
||||
import eu.eudat.logic.services.operations.authentication.NonVerifiedUserEmailAuthenticationService;
|
||||
import eu.eudat.models.data.admin.composite.DatasetProfile;
|
||||
|
@ -40,7 +39,6 @@ public class ArgosService {
|
|||
private final DataManagementPlanManager dataManagementPlanManager;
|
||||
private final DatasetProfileManager datasetProfileManager;
|
||||
private final Datasets datasets;
|
||||
private UUID token;
|
||||
|
||||
@Autowired
|
||||
public ArgosService(ApiContext context,
|
||||
|
@ -165,8 +163,4 @@ public class ArgosService {
|
|||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public void setToken(UUID token) {
|
||||
this.token = token;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package eu.eudat.migration.services;
|
||||
|
||||
import eu.eudat.data.entities.DMP;
|
||||
import eu.eudat.data.entities.UserInfo;
|
||||
import eu.eudat.migration.dao.TemplateRepository;
|
||||
import eu.eudat.migration.dao.UserRepository;
|
||||
|
@ -16,7 +15,6 @@ import eu.eudat.models.data.dmp.DataManagementPlan;
|
|||
import eu.eudat.models.data.dmp.DataManagementPlanEditorModel;
|
||||
import eu.eudat.models.data.listingmodels.UserInfoListingModel;
|
||||
import eu.eudat.models.data.security.Principal;
|
||||
import eu.eudat.models.data.userinfo.UserListingModel;
|
||||
import eu.eudat.types.Authorities;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
@ -24,7 +22,6 @@ import org.springframework.data.domain.Sort;
|
|||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@Service
|
||||
|
|
Loading…
Reference in New Issue