DS-4440 GDPR - Anonymize statistics feature - feedback

This commit is contained in:
Samuel
2020-03-10 18:56:27 +01:00
committed by Samuel
parent 810b9c3bbc
commit 10f38d3fe5
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ public class AnonymizeStatistics {
options.addOption( options.addOption(
builder(SLEEP_OPTION) builder(SLEEP_OPTION)
.longOpt("sleep") .longOpt("sleep")
.desc("Sleep a certain time between each solr request") .desc("Sleep a certain time given in milliseconds between each solr request")
.hasArg(true) .hasArg(true)
.build() .build()
); );
@@ -134,7 +134,7 @@ public class AnonymizeStatistics {
if (commandLine.hasOption(HELP_OPTION)) { if (commandLine.hasOption(HELP_OPTION)) {
printHelp(options); printHelp(options);
System.exit(0); System.exit(-1);
} }
if (commandLine.hasOption(SLEEP_OPTION)) { if (commandLine.hasOption(SLEEP_OPTION)) {

View File

@@ -363,7 +363,7 @@
<name>anonymize-statistics</name> <name>anonymize-statistics</name>
<description>Anonymize the ip values of the solr statistics</description> <description>Anonymize the ip values of the solr statistics</description>
<step> <step>
<class>com.atmire.dspace.statistics.AnonymizeStatistics</class> <class>org.dspace.statistics.AnonymizeStatistics</class>
</step> </step>
</command> </command>
</commands> </commands>