mirror of
https://github.com/google/nomulus.git
synced 2025-07-03 09:43:30 +02:00
Set svID in ConfigModule instead of hard-coding it
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138552819
This commit is contained in:
parent
1abd0e1123
commit
1671508547
3 changed files with 17 additions and 3 deletions
|
@ -863,4 +863,15 @@ public final class ConfigModule {
|
|||
public static Duration provideAsyncDeleteFlowMapreduceDelay() {
|
||||
return Duration.standardSeconds(90);
|
||||
}
|
||||
|
||||
/**
|
||||
* The server ID used in the 'svID' element of an EPP 'greeting'.
|
||||
*
|
||||
* @see <a href="https://tools.ietf.org/html/rfc5730">RFC 7530</a>
|
||||
*/
|
||||
@Provides
|
||||
@Config("greetingServerId")
|
||||
public static String provideGreetingServerId() {
|
||||
return "Charleston Road Registry";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue