1
0
mirror of https://github.com/google/nomulus synced 2026-05-24 00:31:54 +00:00

Add [] to export domain lists to GCS

The ExportDomainListsAction [] has a cron entry that runs it twice per day.  It exports one flat text file per real (non-test) TLD to the "{project-id}-domain-lists" bucket in Google Cloud Storage, overwriting the existing ones in place.  Each file is a newline-delimited list of active (non-deleted) domains in that TLD.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116767987
This commit is contained in:
mcilwain
2016-03-09 08:48:06 -08:00
committed by Ben McIlwain
parent d6815fb55a
commit dd633c9e72
12 changed files with 317 additions and 5 deletions

View File

@@ -82,6 +82,12 @@ public final class ConfigModule {
return config.getCommitLogDatastoreRetention();
}
@Provides
@Config("domainListsGcsBucket")
public static String provideDomainListsGcsBucket(RegistryConfig config) {
return config.getDomainListsBucket();
}
/**
* Maximum number of commit logs to delete per transaction.
*