@Override
    public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context) {
        Optional<EnabledInRegions> annotation = AnnotationUtils.findAnnotation(context.getElement(), EnabledInRegions.class);
        if (annotation.isEmpty())
            return ConditionEvaluationResult.enabled(EnabledInRegions.class.getSimpleName() + " is not present");

        List<String> enablingRegions = List.of(annotation.get().value());
        String thisRegion = TestRuntime.get().zone().region();
        String reason = "Enabled in: %s. Current region: %s.".formatted(enablingRegions.isEmpty() ? "no regions" : "regions " + String.join(", ", enablingRegions), thisRegion);
        return enablingRegions.contains(thisRegion) ? ConditionEvaluationResult.enabled(reason) : ConditionEvaluationResult.disabled(reason);
    }
One or more regions that this should be enabled in.
tenant-cd-api/src/main/java/ai/vespa/hosted/cd/EnabledInRegions.java