mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 20:18:34 +02:00
Begin writing AUTO_RENEW flag alongside reason
Backfill [] to follow, and the Recurring billing events will eventually be replicated as OneTime via a regular job. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119883652
This commit is contained in:
parent
fbe076b5da
commit
4112bca925
18 changed files with 87 additions and 36 deletions
|
@ -23,6 +23,7 @@ import static org.joda.time.DateTimeZone.UTC;
|
|||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.domain.registry.model.billing.BillingEvent;
|
||||
import com.google.domain.registry.model.billing.BillingEvent.Flag;
|
||||
import com.google.domain.registry.model.billing.BillingEvent.Reason;
|
||||
import com.google.domain.registry.model.domain.DomainResource;
|
||||
import com.google.domain.registry.model.poll.PollMessage;
|
||||
|
@ -75,7 +76,8 @@ public class TransferDataTest {
|
|||
|
||||
recurringBillingEvent = persistResource(
|
||||
new BillingEvent.Recurring.Builder()
|
||||
.setReason(Reason.AUTO_RENEW)
|
||||
.setReason(Reason.RENEW)
|
||||
.setFlags(ImmutableSet.of(Flag.AUTO_RENEW))
|
||||
.setClientId("TheRegistrar")
|
||||
.setTargetId("foo.tld")
|
||||
.setEventTime(now)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue