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:
Francis Aiello 2016-11-08 12:56:24 -08:00 committed by Ben McIlwain
parent 1abd0e1123
commit 1671508547
3 changed files with 17 additions and 3 deletions

View file

@ -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";
}
}