diff options
author | Arnstein Ressem <aressem@verizonmedia.com> | 2020-03-04 09:03:58 +0100 |
---|---|---|
committer | Arnstein Ressem <aressem@verizonmedia.com> | 2020-03-04 09:03:58 +0100 |
commit | 489c9b1a045cc9b9b79d4d05b605e28db90b55f5 (patch) | |
tree | 0e159922c89c68379ef0875a327d4921a3bc0727 /flags/src | |
parent | b37b16c3bf8bf291953182772bac56a66cd5830d (diff) | |
parent | 1847f9936b76d78f6bd6b8f83cf4756b0ef855d7 (diff) |
Resolve merge conflicts.
Diffstat (limited to 'flags/src')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index 57228dfe49d..c97edf9ef3d 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -192,7 +192,19 @@ public class Flags { "Regularly issue a small write to disk and fail the host if it is not successful", "Takes effect on next node agent tick (but does not clear existing failure reports)", HOSTNAME); - + + public static final UnboundBooleanFlag RESTRICT_ACQUIRING_NEW_PRIVILEGES = defineFeatureFlag( + "restrict-acquiring-new-privileges", false, + "Whether docker daemon should restrict containers from acquiring new privileges", + "Takes effect on next host admin tick", + HOSTNAME); + + public static final UnboundListFlag<String> AUDITED_PATHS = defineListFlag( + "audited-paths", List.of(), String.class, + "List of paths that should audited", + "Takes effect on next host admin tick", + HOSTNAME); + public static final UnboundBooleanFlag GENERATE_L4_ROUTING_CONFIG = defineFeatureFlag( "generate-l4-routing-config", false, "Whether routing nodes should generate L4 routing config", @@ -213,8 +225,7 @@ public class Flags { public static final UnboundStringFlag ENDPOINT_CERTIFICATE_BACKFILL = defineStringFlag( "endpoint-certificate-backfill", "disable", "Whether the endpoint certificate maintainer should backfill missing certificate data from cameo", - "Takes effect on next scheduled run of maintainer - set to \"disable\", \"dryrun\" or \"enable\"" - ); + "Takes effect on next scheduled run of maintainer - set to \"disable\", \"dryrun\" or \"enable\""); public static final UnboundBooleanFlag USE_NEW_ATHENZ_FILTER = defineFeatureFlag( "use-new-athenz-filter", false, @@ -238,6 +249,12 @@ public class Flags { "Whether to provision and use endpoint certs for apps in shared routing zones", "Takes effect on next deployment of the application", APPLICATION_ID); + public static final UnboundBooleanFlag PHRASE_SEGMENTING = defineFeatureFlag( + "phrase-segmenting", true, + "Should 'implicit phrases' in queries we parsed to a phrase or and?", + "Takes effect on redeploy", + ZONE_ID, APPLICATION_ID); + /** WARNING: public for testing: All flags should be defined in {@link Flags}. */ public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description, String modificationEffect, FetchVector.Dimension... dimensions) { |