mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
DS-4440 GDPR - Anonymize statistics feature - feedback
This commit is contained in:
@@ -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)) {
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user