mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
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:
parent
124011a8ce
commit
6c11ac5392
9 changed files with 91 additions and 38 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue