mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 09:27:16 +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
|
@ -17,16 +17,28 @@ package google.registry.config;
|
|||
/** The POJO that YAML config files are deserialized into. */
|
||||
public class RegistryConfigSettings {
|
||||
|
||||
public General general;
|
||||
public AppEngine appEngine;
|
||||
|
||||
public RegistryPolicy registryPolicy;
|
||||
|
||||
public Datastore datastore;
|
||||
|
||||
public RegistrarConsole registrarConsole;
|
||||
|
||||
public Monitoring monitoring;
|
||||
|
||||
/** General configuration options that apply to the entire App Engine project. */
|
||||
public static class General {
|
||||
/** Configuration options that apply to the entire App Engine project. */
|
||||
public static class AppEngine {
|
||||
|
||||
public String appEngineProjectId;
|
||||
public String projectId;
|
||||
}
|
||||
|
||||
/** Configuration options for registry policy. */
|
||||
public static class RegistryPolicy {
|
||||
|
||||
public String contactAndHostRoidSuffix;
|
||||
|
||||
public String productName;
|
||||
}
|
||||
|
||||
/** Configuration for Cloud Datastore. */
|
||||
|
@ -37,6 +49,12 @@ public class RegistryConfigSettings {
|
|||
public int eppResourceIndexBucketsNum;
|
||||
}
|
||||
|
||||
/** Configuration for the web-based registrar console. */
|
||||
public static class RegistrarConsole {
|
||||
|
||||
public String logoFilename;
|
||||
}
|
||||
|
||||
/** Configuration for monitoring. */
|
||||
public static class Monitoring {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue