mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 12:08:36 +02: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:
parent
d6815fb55a
commit
dd633c9e72
12 changed files with 317 additions and 5 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue