Change DomainApplication to store period instead of year

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137426843
This commit is contained in:
mountford 2016-10-27 12:32:39 -07:00 committed by Ben McIlwain
parent 60cb1b4dfb
commit 8b068250d6
6 changed files with 16 additions and 12 deletions

View file

@ -219,7 +219,7 @@ public final class DomainApplicationCreateFlow extends LoggedInFlow implements T
.setLaunchNotice(launchCreate == null ? null : launchCreate.getNotice())
.setIdnTableName(idnTableName)
.setPhase(launchCreate.getPhase())
.setYears(command.getPeriod().getValue())
.setPeriod(command.getPeriod())
.setApplicationStatus(ApplicationStatus.VALIDATED)
.addStatusValue(StatusValue.PENDING_CREATE)
.setDsData(secDnsCreate == null ? null : secDnsCreate.getDsData())