Add feature flag for failing deploying app with invalid JVM options
@@ -386,6 +386,13 @@ public class Flags {
"Takes effect at redeployment",
ZONE_ID, APPLICATION_ID);
+ public static final UnboundBooleanFlag FAIL_DEPLOYMENT_WITH_INVALID_JVM_OPTIONS = defineFeatureFlag(
+ "fail-deployment-with-invalid-jvm-options", false,
+ List.of("hmusum"), "2021-12-20", "2022-01-20",
+ "Whether to fail deployments with invalid JVM GC options in services.xml",
+ "Takes effect at redeployment",
+ ZONE_ID, APPLICATION_ID);
+
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List<String> owners,
String createdAt, String expiresAt, String description,
