Move more configuration options into YAML config files

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145452311
This commit is contained in:
mcilwain 2017-01-24 12:27:36 -08:00 committed by Ben McIlwain
parent 124011a8ce
commit 6c11ac5392
9 changed files with 91 additions and 38 deletions

View file

@ -20,8 +20,8 @@ import static com.google.common.base.Suppliers.memoize;
import static com.google.common.collect.Iterables.toArray;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assertWithMessage;
import static google.registry.config.RegistryConfig.LocalTestConfig.CONTACT_AND_HOST_ROID_SUFFIX;
import static google.registry.config.RegistryConfig.LocalTestConfig.CONTACT_AUTOMATIC_TRANSFER_LENGTH;
import static google.registry.config.RegistryConfig.getContactAndHostRoidSuffix;
import static google.registry.flows.ResourceFlowUtils.createTransferResponse;
import static google.registry.model.EppResourceUtils.createDomainRepoId;
import static google.registry.model.EppResourceUtils.createRepoId;
@ -747,7 +747,7 @@ public class DatastoreHelper {
* HEX_TLD-ROID.
*/
public static String generateNewContactHostRoid() {
return createRepoId(ObjectifyService.allocateId(), CONTACT_AND_HOST_ROID_SUFFIX);
return createRepoId(ObjectifyService.allocateId(), getContactAndHostRoidSuffix());
}
/**