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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user