Add a batched [] for DNS refreshing on host renames

This will replace the existing DnsRefreshForHostRenameAction.

This is stage one of a three stage migration process. It adds the new queue and
[] but doesn't call them yet. Stage two will cut over to using the new
functionality, and stage three will remove the old functionality.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=134793963
This commit is contained in:
mcilwain 2016-09-30 09:52:13 -07:00 committed by Ben McIlwain
parent e5c0854ae6
commit e192c11adf
14 changed files with 522 additions and 5 deletions

View file

@ -230,7 +230,7 @@ public final class HostUpdateFlow extends LoggedInFlow implements TransactionalF
}
// We must also enqueue updates for all domains that use this host as their nameserver so
// that their NS records can be updated to point at the new name.
asyncFlowEnqueuer.enqueueAsyncDnsRefresh(existingResource);
asyncFlowEnqueuer.enqueueLegacyAsyncDnsRefresh(existingResource);
}
}