mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 03:39:36 +02:00
Add framework for customizable WHOIS commands
With some additional changes by Ben McIlwain. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145447136
This commit is contained in:
parent
d3fe6be385
commit
bb3a0c78c5
15 changed files with 155 additions and 47 deletions
|
@ -990,6 +990,13 @@ public final class RegistryConfig {
|
|||
return "google.registry.flows.custom.CustomLogicFactory";
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Config("whoisCommandFactoryClass")
|
||||
public static String provideWhoisCommandFactoryClass() {
|
||||
// TODO(b/32875427): This will be converted to YAML configuration in a future refactor.
|
||||
return "google.registry.whois.WhoisCommandFactory";
|
||||
}
|
||||
|
||||
private static final String RESERVED_TERMS_EXPORT_DISCLAIMER = ""
|
||||
+ "# This list contains reserve terms for the TLD. Other terms may be reserved\n"
|
||||
+ "# but not included in this list, including terms EXAMPLE REGISTRY chooses not\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue