mirror of
https://github.com/google/nomulus
synced 2026-09-19 14:34:18 +00:00
Fix reporting module parameters and yearMonth usage
This is a final refactor to address Nick's comments in [] where YearMonth really should be injected as a Joda type instead of a raw string, and the HTTP parameters should be separate from the default-provided dependencies. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173539965
This commit is contained in:
@@ -27,8 +27,8 @@ import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.io.ByteStreams;
|
||||
import google.registry.config.RegistryConfig.Config;
|
||||
import google.registry.gcs.GcsUtils;
|
||||
import google.registry.reporting.IcannReportingModule.ReportingSubdir;
|
||||
import google.registry.request.Action;
|
||||
import google.registry.request.Parameter;
|
||||
import google.registry.request.Response;
|
||||
import google.registry.request.auth.Auth;
|
||||
import google.registry.util.FormattingLogger;
|
||||
@@ -62,8 +62,7 @@ public final class IcannReportingUploadAction implements Runnable {
|
||||
@Config("icannReportingBucket")
|
||||
String reportingBucket;
|
||||
|
||||
@Inject
|
||||
@Parameter(IcannReportingModule.PARAM_SUBDIR)
|
||||
@Inject @ReportingSubdir
|
||||
String subdir;
|
||||
|
||||
@Inject GcsUtils gcsUtils;
|
||||
|
||||
Reference in New Issue
Block a user