Rename sandbox to staging environment

To match the upstream name
This commit is contained in:
AsamK 2022-01-05 23:41:17 +01:00
parent 8a5f98dac6
commit 3587d1c397
7 changed files with 21 additions and 10 deletions

View file

@ -155,7 +155,7 @@ public class App {
final var serviceEnvironmentCli = ns.<ServiceEnvironmentCli>get("service-environment");
final var serviceEnvironment = serviceEnvironmentCli == ServiceEnvironmentCli.LIVE
? ServiceEnvironment.LIVE
: ServiceEnvironment.SANDBOX;
: ServiceEnvironment.STAGING;
final var trustNewIdentityCli = ns.<TrustNewIdentityCli>get("trust-new-identities");
final var trustNewIdentity = trustNewIdentityCli == TrustNewIdentityCli.ON_FIRST_USE

View file

@ -7,7 +7,13 @@ public enum ServiceEnvironmentCli {
return "live";
}
},
SANDBOX {
STAGING {
@Override
public String toString() {
return "staging";
}
},
@Deprecated SANDBOX {
@Override
public String toString() {
return "sandbox";