Skip to content

Permit EQL feature flag in release builds #52201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2020
Merged

Permit EQL feature flag in release builds #52201

merged 1 commit into from
Feb 11, 2020

Conversation

jrodewig
Copy link
Contributor

Provides a path to set register the EQL feature flag in release builds.
This enables EQL in release builds so that release docs tests pass.

Release docs tests do not have infrastructure in place to only register
snippets from included portions of the docs, they instead include all
docs snippets.

Since EQL can not be enabled in release builds, this meant that the EQL
snippets fail in the release docs tests.

This adds the ability to enable EQL in the release docs tests. This
system property will be removed when EQL is ready for release.

Based on #52088, which solved #52050. EQL will encounter similar issues once we include API snippets in our docs.

Provides a path to set register the EQL feature flag in release builds.
This enables EQL in release builds so that release docs tests pass.

Release docs tests do not have infrastructure in place to only register
snippets from included portions of the docs, they instead include all
docs snippets.

Since EQL can not be enabled in release builds, this meant that the EQL
snippets fail in the release docs tests.

This adds the ability to enable EQL in the release docs tests. This
system property will be removed when EQL is ready for release.
@jrodewig jrodewig added the :Analytics/EQL EQL querying label Feb 11, 2020
@jrodewig jrodewig requested a review from aleksmaus February 11, 2020 13:33
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/EQL)

Copy link
Contributor

@aleksmaus aleksmaus left a comment

Choose a reason for hiding this comment

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

Haha! I was just putting EQL_FEATURE_FLAG_REGISTERED into EqlPlugin and some more minor tweaks :-)
LGTM.
Thank you!

@jrodewig jrodewig merged commit 74ae1d6 into elastic:master Feb 11, 2020
@jrodewig jrodewig deleted the patch__enable-eql-feature-flag-in-release-builds branch February 11, 2020 15:26
@jrodewig
Copy link
Contributor Author

Thanks @aleksmaus!

jrodewig added a commit that referenced this pull request Feb 11, 2020
7.x backport of #52201

Provides a path to set register the EQL feature flag in release builds.
This enables EQL in release builds so that release docs tests pass.

Release docs tests do not have infrastructure in place to only register
snippets from included portions of the docs, they instead include all
docs snippets.

Since EQL can not be enabled in release builds, this meant that the EQL
snippets fail in the release docs tests.

This adds the ability to enable EQL in the release docs tests. This
system property will be removed when EQL is ready for release.
@jrodewig
Copy link
Contributor Author

Backport commits

master 74ae1d6
7.x d68a4ec

@aleksmaus aleksmaus mentioned this pull request Jul 8, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/EQL EQL querying
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants