diff options
Diffstat (limited to 'java/com/google/gerrit/server/experiments/ExperimentFeaturesConstants.java')
-rw-r--r-- | java/com/google/gerrit/server/experiments/ExperimentFeaturesConstants.java | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/java/com/google/gerrit/server/experiments/ExperimentFeaturesConstants.java b/java/com/google/gerrit/server/experiments/ExperimentFeaturesConstants.java index 14865596c7..ffeb44b7ff 100644 --- a/java/com/google/gerrit/server/experiments/ExperimentFeaturesConstants.java +++ b/java/com/google/gerrit/server/experiments/ExperimentFeaturesConstants.java @@ -22,30 +22,19 @@ public class ExperimentFeaturesConstants { /** Features that are known experiments and can be referenced in the code. */ public static String UI_FEATURE_PATCHSET_COMMENTS = "UiFeature__patchset_comments"; + public static String UI_FEATURE_SUBMIT_REQUIREMENTS_UI = "UiFeature__submit_requirements_ui"; + public static String GERRIT_BACKEND_REQUEST_FEATURE_REMOVE_REVISION_ETAG = "GerritBackendRequestFeature__remove_revision_etag"; - /** Enable storing submit requirements in NoteDb when the change is merged. */ - public static final String GERRIT_BACKEND_REQUEST_FEATURE_STORE_SUBMIT_REQUIREMENTS_ON_MERGE = - "GerritBackendRequestFeature__store_submit_requirements_on_merge"; - - /** - * Allow legacy {@link com.google.gerrit.entities.SubmitRecord}s to be converted and returned as - * submit requirements by the {@link - * com.google.gerrit.server.project.SubmitRequirementsEvaluator}. - */ - public static final String GERRIT_BACKEND_REQUEST_FEATURE_ENABLE_SUBMIT_REQUIREMENTS = - "GerritBackendRequestFeature__enable_submit_requirements"; - /** - * Allow SubmitRequirements to be computed freshly on dashboards irrespective of the value we - * retrieved from the change index. + * When set, we compute information from All-Users repository if able, instead of computing it + * from the change index. */ - public static final String - GERRIT_BACKEND_REQUEST_FEATURE_ENABLE_SUBMIT_REQUIREMENTS_BACKFILLING_ON_DASHBOARD = - "GerritBackendRequestFeature__enable_submit_requirements_backfilling_on_dashboard"; + public static final String GERRIT_BACKEND_REQUEST_FEATURE_COMPUTE_FROM_ALL_USERS_REPOSITORY = + "GerritBackendRequestFeature__compute_from_all_users_repository"; /** Features, enabled by default in the current release. */ public static final ImmutableSet<String> DEFAULT_ENABLED_FEATURES = - ImmutableSet.of(UI_FEATURE_PATCHSET_COMMENTS); + ImmutableSet.of(UI_FEATURE_PATCHSET_COMMENTS, UI_FEATURE_SUBMIT_REQUIREMENTS_UI); } |