mirror of
https://github.com/google/nomulus
synced 2026-01-07 22:15:30 +00: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:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user