1
0
Fork 0

[metadata collection] updated collector plugin name

This commit is contained in:
Claudio Atzori 2022-07-29 13:54:00 +02:00
parent f62c4e05cd
commit 92e48f12f7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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