mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
Add domain check and update registration type extensions
This completes the command extensions for the regType 0.2 extension. Up next will be the response extensions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123322887
This commit is contained in:
parent
510da196d7
commit
041b2c4116
11 changed files with 158 additions and 6 deletions
|
@ -28,6 +28,7 @@ import google.registry.model.billing.BillingEvent.Reason;
|
|||
import google.registry.model.domain.DomainResource;
|
||||
import google.registry.model.domain.DomainResource.Builder;
|
||||
import google.registry.model.domain.GracePeriod;
|
||||
import google.registry.model.domain.regtype.RegTypeUpdateExtension;
|
||||
import google.registry.model.domain.rgp.GracePeriodStatus;
|
||||
import google.registry.model.domain.secdns.SecDnsUpdateExtension;
|
||||
import google.registry.model.eppcommon.StatusValue;
|
||||
|
@ -67,9 +68,12 @@ import java.util.Set;
|
|||
*/
|
||||
public class DomainUpdateFlow extends BaseDomainUpdateFlow<DomainResource, Builder> {
|
||||
|
||||
protected RegTypeUpdateExtension regTypeExtension;
|
||||
|
||||
@Override
|
||||
protected void initDomainUpdateFlow() {
|
||||
registerExtensions(SecDnsUpdateExtension.class);
|
||||
registerExtensions(SecDnsUpdateExtension.class, RegTypeUpdateExtension.class);
|
||||
regTypeExtension = eppInput.getSingleExtension(RegTypeUpdateExtension.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue