diff options
author | Øyvind Grønnesby <oyving@verizonmedia.com> | 2019-07-02 15:01:28 +0200 |
---|---|---|
committer | Øyvind Grønnesby <oyving@verizonmedia.com> | 2019-07-02 15:01:28 +0200 |
commit | 3f176936be8b6a33da51238bc35c42cdae24881a (patch) | |
tree | fb5b745cbe5d4f6fdbd2d79e643fd2d698e7b953 /flags | |
parent | 425b6dea836cf5f76987f232049eab4d0e15d06a (diff) |
Introduce feature flag on application ID for new endpoints behavior
- Added a feature flag on application level for new endpoints behavior
- Reintroduced a test of legacy behavior to validate old logic
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 6 |
1 files changed, 6 insertions, 0 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 b969e328419..5e9c0e2543c 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -151,6 +151,12 @@ public class Flags { "Takes effect on deployment through controller", APPLICATION_ID); + public static final UnboundBooleanFlag MULTIPLE_GLOBAL_ENDPOINTS = defineFeatureFlag( + "multiple-global-endpoints", false, + "Allow applications to use new endpoints syntax in deployment.xml", + "Takes effect on deployment through controller", + 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) { |