mirror of
https://github.com/google/nomulus
synced 2026-01-10 16:00:52 +00: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:
committed by
Ben McIlwain
parent
1abd0e1123
commit
1671508547
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user