mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +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
|
@ -31,6 +31,7 @@ import google.registry.model.domain.fee.FeeCheckExtension;
|
|||
import google.registry.model.domain.fee.FeeCheckResponseExtension;
|
||||
import google.registry.model.domain.fee.FeeCheckResponseExtension.FeeCheck;
|
||||
import google.registry.model.domain.launch.LaunchCheckExtension;
|
||||
import google.registry.model.domain.regtype.RegTypeCheckExtension;
|
||||
import google.registry.model.eppcommon.ProtocolDefinition.ServiceExtension;
|
||||
import google.registry.model.eppoutput.CheckData;
|
||||
import google.registry.model.eppoutput.CheckData.DomainCheck;
|
||||
|
@ -65,9 +66,13 @@ import java.util.Set;
|
|||
*/
|
||||
public class DomainCheckFlow extends BaseDomainCheckFlow {
|
||||
|
||||
protected RegTypeCheckExtension regTypeExtension;
|
||||
|
||||
@Override
|
||||
protected void initDomainCheckFlow() throws EppException {
|
||||
registerExtensions(LaunchCheckExtension.class, FeeCheckExtension.class);
|
||||
registerExtensions(
|
||||
LaunchCheckExtension.class, FeeCheckExtension.class, RegTypeCheckExtension.class);
|
||||
regTypeExtension = eppInput.getSingleExtension(RegTypeCheckExtension.class);
|
||||
}
|
||||
|
||||
private String getMessageForCheck(String targetId, Set<String> existingIds) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue