1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Remove the concept of a GAE service endpoint (#2869)

We don't need to support the mix of GAE and GKE any more so we can get
rid of the GaeService bits and unify everything under one constant
service. This also allows us to reduce the number of services down to
four (FE, BE, PUBAPI, console) which is nice.
This commit is contained in:
gbrodman
2025-11-18 14:31:40 -05:00
committed by GitHub
parent b1266c95e8
commit 8547ad7941
112 changed files with 240 additions and 556 deletions

View File

@@ -52,12 +52,6 @@ public enum RegistryEnvironment {
/** System property for configuring which environment we should use. */
private static final String PROPERTY = "google.registry.environment";
/**
* System property for if Nomulus is running on top of a self-hosted Jetty server (i.e., not in
* App Engine).
*/
private static final String JETTY_PROPERTY = "google.registry.jetty";
/** Name of the environmental variable of the container name. */
private static final String CONTAINER_ENV = "CONTAINER_NAME";
@@ -97,11 +91,6 @@ public enum RegistryEnvironment {
return valueOf(Ascii.toUpperCase(System.getProperty(PROPERTY, UNITTEST.name())));
}
// TODO(b/416299900): remove method after GAE is removed.
public static boolean isOnJetty() {
return Boolean.parseBoolean(System.getProperty(JETTY_PROPERTY, "false"));
}
public static boolean isCanary() {
return IS_CANARY;
}