Skip to content

[DT-2832] Add feature flag for newer versions of ElasticSearch#3294

Merged
fboulnois merged 1 commit intodevelopfrom
fb-dt-2832-elasticsearch-feature-flag
Feb 2, 2026
Merged

[DT-2832] Add feature flag for newer versions of ElasticSearch#3294
fboulnois merged 1 commit intodevelopfrom
fb-dt-2832-elasticsearch-feature-flag

Conversation

@fboulnois
Copy link
Copy Markdown
Contributor

@fboulnois fboulnois commented Jan 28, 2026

Addresses

https://broadworkbench.atlassian.net/browse/DT-2832

Summary

Add a feature flag for newer versions of ElasticSearch.


Have you read Terra's Contributing Guide lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

@fboulnois fboulnois requested a review from a team as a code owner January 28, 2026 20:48
@fboulnois fboulnois requested review from kevinmarete and rushtong and removed request for a team January 28, 2026 20:48
@fboulnois fboulnois force-pushed the fb-dt-2832-elasticsearch-feature-flag branch from bfc23a0 to 311735d Compare January 29, 2026 21:21
Copy link
Copy Markdown
Contributor

@otchet-broad otchet-broad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 when the test issue is resolved.

@fboulnois fboulnois force-pushed the fb-dt-2832-elasticsearch-feature-flag branch 2 times, most recently from 62f7178 to 0b0fb74 Compare January 30, 2026 19:45

export async function getAllFeatureFlags(): Promise<Record<string, FeatureFlagValue> | FeatureFlagValue[]> {
const url = `${await Config.getApiUrl()}/api/featureFlags`
const url = `${await Config.getApiUrl()}/feature`
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The endpoint changed to have an unauthenticated GET.

@fboulnois fboulnois force-pushed the fb-dt-2832-elasticsearch-feature-flag branch from 0b0fb74 to df6ee94 Compare January 30, 2026 19:50
@sonarqubecloud
Copy link
Copy Markdown

Comment thread src/libs/ajax/FeatureFlag.ts
Comment thread src/libs/ajax/FeatureFlag.ts
@fboulnois fboulnois merged commit a49a598 into develop Feb 2, 2026
11 checks passed
@fboulnois fboulnois deleted the fb-dt-2832-elasticsearch-feature-flag branch February 2, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants