Skip to content

Commit

Permalink
Add synonyms feature for test clusters (elastic#97658)
Browse files Browse the repository at this point in the history
Fix for elastic#97334 where incorrect feature name was provided.

Correct more instances of synonyms_feature_flag_enabled for synonyms_api_feature_flag_enabled

Closes elastic#96641, elastic#97177
  • Loading branch information
mayya-sharipova committed Jul 13, 2023
1 parent 9a886cc commit f8efd69
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion modules/analysis-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ restResources {
testClusters.configureEach {
module ':modules:reindex'
module ':modules:mapper-extras'
requiresFeature 'es.synonyms_feature_flag_enabled', Version.fromString("8.9.0")
requiresFeature 'es.synonyms_api_feature_flag_enabled', Version.fromString("8.9.0")
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion rest-api-spec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
}

testClusters.configureEach {
requiresFeature 'es.synonyms_feature_flag_enabled', Version.fromString("8.9.0")
requiresFeature 'es.synonyms_api_feature_flag_enabled', Version.fromString("8.9.0")
}

tasks.named("yamlRestTestV7CompatTransform").configure { task ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"stability": "experimental",
"visibility": "feature_flag",
"feature_flag": "es.synonyms_feature_flag_enabled",
"feature_flag": "es.synonyms_api_feature_flag_enabled",
"headers": {
"accept": [
"application/json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"stability": "experimental",
"visibility": "feature_flag",
"feature_flag": "es.synonyms_feature_flag_enabled",
"feature_flag": "es.synonyms_api_feature_flag_enabled",
"headers": {
"accept": [
"application/json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"stability": "experimental",
"visibility": "feature_flag",
"feature_flag": "es.synonyms_feature_flag_enabled",
"feature_flag": "es.synonyms_api_feature_flag_enabled",
"headers": {
"accept": [
"application/json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"stability": "experimental",
"visibility": "feature_flag",
"feature_flag": "es.synonyms_feature_flag_enabled",
"feature_flag": "es.synonyms_api_feature_flag_enabled",
"headers": {
"accept": [
"application/json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"stability": "experimental",
"visibility": "feature_flag",
"feature_flag": "es.synonyms_feature_flag_enabled",
"feature_flag": "es.synonyms_api_feature_flag_enabled",
"headers": {
"accept": [
"application/json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public enum FeatureFlag {
TIME_SERIES_MODE("es.index_mode_feature_flag_registered=true", Version.fromString("8.0.0"), null),
NEW_RCS_MODE("es.untrusted_remote_cluster_feature_flag_registered=true", Version.fromString("8.5.0"), null),
DLM_ENABLED("es.dlm_feature_flag_enabled=true", Version.fromString("8.8.0"), null),
SYNONYMS_ENABLED("es.synonyms_feature_flag_enabled=true", Version.fromString("8.9.0"), null),
SYNONYMS_ENABLED("es.synonyms_api_feature_flag_enabled=true", Version.fromString("8.9.0"), null),
QUERY_RULES_ENABLED("es.query_rules_feature_flag_enabled=true", Version.fromString("8.9.0"), null);

public final String systemProperty;
Expand Down

0 comments on commit f8efd69

Please sign in to comment.