mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Add a new check API that does not wrap the domain check EPP flow
Copied class and test from CheckApiAction. All unit tests passing. Remaining work: add metrics ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198916177
This commit is contained in:
parent
9d2b1e7572
commit
c61f36502e
10 changed files with 376 additions and 19 deletions
|
@ -17,6 +17,8 @@ package google.registry.module.pubapi;
|
|||
import dagger.Module;
|
||||
import dagger.Subcomponent;
|
||||
import google.registry.dns.DnsModule;
|
||||
import google.registry.flows.CheckApi2Action;
|
||||
import google.registry.flows.CheckApi2Action.CheckApi2Module;
|
||||
import google.registry.flows.CheckApiAction;
|
||||
import google.registry.flows.CheckApiAction.CheckApiModule;
|
||||
import google.registry.flows.FlowComponent;
|
||||
|
@ -43,16 +45,18 @@ import google.registry.whois.WhoisModule;
|
|||
@RequestScope
|
||||
@Subcomponent(
|
||||
modules = {
|
||||
CheckApiModule.class,
|
||||
DnsModule.class,
|
||||
EppTlsModule.class,
|
||||
RdapModule.class,
|
||||
RequestModule.class,
|
||||
WhiteboxModule.class,
|
||||
WhoisModule.class,
|
||||
CheckApiModule.class,
|
||||
CheckApi2Module.class,
|
||||
DnsModule.class,
|
||||
EppTlsModule.class,
|
||||
RdapModule.class,
|
||||
RequestModule.class,
|
||||
WhiteboxModule.class,
|
||||
WhoisModule.class,
|
||||
})
|
||||
interface PubApiRequestComponent {
|
||||
CheckApiAction checkApiAction();
|
||||
CheckApi2Action checkApi2Action();
|
||||
// TODO(b/79692981): Remove flow-related includes once check API is rewritten to not wrap flow.
|
||||
FlowComponent.Builder flowComponentBuilder();
|
||||
RdapAutnumAction rdapAutnumAction();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue