From c29b374c582c8b112a6e95150e5d4a460dc30464 Mon Sep 17 00:00:00 2001 From: HÃ¥kon Hallingstad Date: Tue, 22 Oct 2019 00:28:22 +0200 Subject: Support flag conditions based on Vespa release Supports a "relational" condition with a new dimension "vespa-version", that can be satisfied with e.g. "predicate": ">= 7.120.5" as long as the condition is evaluated in a JVM that has a Vtag at least high as 7.120.5. The typical use-case for this condition would be: The developer has used the flag to test and verify the feature is ready to roll out globally. The developer can now roll the feature with the next release, and ORCHESTRATED, halting if anything goes wrong like any normal rollout. This also allows one-shot tests of a feature flag in integration tests: Just enable it for an upcoming version with predicate "== 7.x.y". --- flags/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'flags/pom.xml') diff --git a/flags/pom.xml b/flags/pom.xml index c1e9eca20ab..6afa920e261 100644 --- a/flags/pom.xml +++ b/flags/pom.xml @@ -25,6 +25,12 @@ ${project.version} provided + + com.yahoo.vespa + component + ${project.version} + provided + com.yahoo.vespa defaults -- cgit v1.2.3