Skip to content
Snippets Groups Projects
Commit e48f471b authored by juanf's avatar juanf
Browse files

SSDM-3617 : Maintenance task to find orphan datasets in archivers, fixing dependencies

SVN: 36638
parent ae8190d6
No related branches found
No related tags found
No related merge requests found
...@@ -22,10 +22,10 @@ import ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedOpenBISService; ...@@ -22,10 +22,10 @@ import ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedOpenBISService;
import ch.systemsx.cisd.openbis.dss.generic.shared.ServiceProvider; import ch.systemsx.cisd.openbis.dss.generic.shared.ServiceProvider;
import ch.systemsx.cisd.openbis.generic.shared.dto.SimpleDataSetInformationDTO; import ch.systemsx.cisd.openbis.generic.shared.dto.SimpleDataSetInformationDTO;
public class MultiDataSetArchiverOrphanFinderTask implements IMaintenanceTask public class DataSetArchiverOrphanFinderTask implements IMaintenanceTask
{ {
private static final Logger operationLog = LogFactory.getLogger(LogCategory.OPERATION, MultiDataSetArchiverOrphanFinderTask.class); private static final Logger operationLog = LogFactory.getLogger(LogCategory.OPERATION, DataSetArchiverOrphanFinderTask.class);
public static final String EMAIL_ADDRESSES_KEY = "email-addresses"; public static final String EMAIL_ADDRESSES_KEY = "email-addresses";
...@@ -47,7 +47,7 @@ public class MultiDataSetArchiverOrphanFinderTask implements IMaintenanceTask ...@@ -47,7 +47,7 @@ public class MultiDataSetArchiverOrphanFinderTask implements IMaintenanceTask
@Override @Override
public void execute() public void execute()
{ {
operationLog.info(MultiDataSetArchiverOrphanFinderTask.class.getSimpleName() + " Started"); operationLog.info(DataSetArchiverOrphanFinderTask.class.getSimpleName() + " Started");
// 1.Directories. // 1.Directories.
operationLog.info("1.Directories, obtain archiver directory."); operationLog.info("1.Directories, obtain archiver directory.");
...@@ -160,7 +160,7 @@ public class MultiDataSetArchiverOrphanFinderTask implements IMaintenanceTask ...@@ -160,7 +160,7 @@ public class MultiDataSetArchiverOrphanFinderTask implements IMaintenanceTask
} }
} }
operationLog.info(MultiDataSetArchiverOrphanFinderTask.class.getSimpleName() + " Finished"); operationLog.info(DataSetArchiverOrphanFinderTask.class.getSimpleName() + " Finished");
} }
private List<EMailAddress> getEMailAddresses(Properties properties) private List<EMailAddress> getEMailAddresses(Properties properties)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment