[metadata collection] updated collector plugin name

removeDump
Claudio Atzori 2 years ago
parent f62c4e05cd
commit 92e48f12f7

@ -118,7 +118,7 @@ public class CollectorWorker extends ReportingJob {
return new RestCollectorPlugin(clientParams);
case file:
return new FileCollectorPlugin(fileSystem);
case fileGZip:
case fileGzip:
return new FileGZipCollectorPlugin(fileSystem);
case other:
final CollectorPlugin.NAME.OTHER_NAME plugin = Optional

@ -10,7 +10,7 @@ import eu.dnetlib.dhp.common.collection.CollectorException;
public interface CollectorPlugin {
enum NAME {
oai, other, rest_json2xml, file, fileGZip;
oai, other, rest_json2xml, file, fileGzip;
public enum OTHER_NAME {
mdstore_mongodb_dump, mdstore_mongodb

Loading…
Cancel
Save