mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Move registry policy settings and some others into YAML config
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145571850
This commit is contained in:
parent
efedc03d45
commit
f647ea1190
15 changed files with 131 additions and 109 deletions
|
@ -14,54 +14,60 @@
|
|||
|
||||
package google.registry.config;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/** The POJO that YAML config files are deserialized into. */
|
||||
public class RegistryConfigSettings {
|
||||
|
||||
public AppEngine appEngine;
|
||||
|
||||
public GSuite gSuite;
|
||||
public RegistryPolicy registryPolicy;
|
||||
|
||||
public Datastore datastore;
|
||||
|
||||
public RegistrarConsole registrarConsole;
|
||||
|
||||
public Monitoring monitoring;
|
||||
|
||||
/** Configuration options that apply to the entire App Engine project. */
|
||||
public static class AppEngine {
|
||||
|
||||
public String projectId;
|
||||
}
|
||||
|
||||
/** Configuration options for the G Suite account used by Nomulus. */
|
||||
public static class GSuite {
|
||||
public String domainName;
|
||||
public String outgoingEmailAddress;
|
||||
public String outgoingEmailDisplayName;
|
||||
public String adminAccountEmailAddress;
|
||||
}
|
||||
|
||||
/** Configuration options for registry policy. */
|
||||
public static class RegistryPolicy {
|
||||
|
||||
public String contactAndHostRoidSuffix;
|
||||
|
||||
public String productName;
|
||||
public List<String> registrarChangesNotificationEmailAddresses;
|
||||
public String defaultRegistrarWhoisServer;
|
||||
public String defaultRegistrarReferralUrl;
|
||||
}
|
||||
|
||||
/** Configuration for Cloud Datastore. */
|
||||
public static class Datastore {
|
||||
|
||||
public int commitLogBucketsNum;
|
||||
|
||||
public int eppResourceIndexBucketsNum;
|
||||
}
|
||||
|
||||
/** Configuration for the web-based registrar console. */
|
||||
public static class RegistrarConsole {
|
||||
|
||||
public String logoFilename;
|
||||
public String supportPhoneNumber;
|
||||
public String supportEmailAddress;
|
||||
public String announcementsEmailAddress;
|
||||
public String integrationEmailAddress;
|
||||
public String technicalDocsUrl;
|
||||
}
|
||||
|
||||
/** Configuration for monitoring. */
|
||||
public static class Monitoring {
|
||||
|
||||
public int stackdriverMaxQps;
|
||||
|
||||
public int stackdriverMaxPointsPerRequest;
|
||||
|
||||
public int writeIntervalSeconds;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue