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

@ -286,8 +286,7 @@ public class DatastoreHelper {
}
public static DomainResource persistDomainAsDeleted(DomainResource domain, DateTime now) {
return persistResource(
domain.asBuilder().setDeletionTime(now.minusDays(1)).build());
return persistResource(domain.asBuilder().setDeletionTime(now.minusDays(1)).build());
}
/** Persists a domain and enqueues a LORDN task of the appropriate type for it. */