mirror of
https://github.com/google/nomulus
synced 2026-01-06 21:47:31 +00:00
Skip FlowReporter logging for dry runs
Since this feeds into ICANN reporting, we don't want to muddy the data there with dry-runs, which are always internal-only artifacts of tool usage and shouldn't really count as real attempts to do SRS actions, since they are always going to abort with no effect. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=153856915
This commit is contained in:
@@ -73,8 +73,10 @@ public class FlowRunner {
|
||||
eppRequestSource,
|
||||
isDryRun ? "DRY_RUN" : "LIVE",
|
||||
isSuperuser ? "SUPERUSER" : "NORMAL");
|
||||
// Record information about this flow to the GAE request logs for reporting purposes.
|
||||
flowReporter.recordToLogs();
|
||||
// Record flow info to the GAE request logs for reporting purposes if it's not a dry run.
|
||||
if (!isDryRun) {
|
||||
flowReporter.recordToLogs();
|
||||
}
|
||||
eppMetricBuilder.setCommandNameFromFlow(flowClass.getSimpleName());
|
||||
if (!isTransactional) {
|
||||
eppMetricBuilder.incrementAttempts();
|
||||
|
||||
Reference in New Issue
Block a user