Skip to content
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

Scripting: Whitelist API spec gradle task (#66050) #66115

Merged

Conversation

stu-elastic
Copy link
Contributor

Adds generateContextApiSpec gradle task that generates whitelist api
specs under modules/lang-painless/src/main/generated/whitelist-json.

The common classes are in painless-common.json, the specialized classes
per context are in painless-$context.json.

eg. painless-aggs.json has the specialization for the aggs contexts

Refs: #49879
Backport: 2aa2224

Adds `generateContextApiSpec` gradle task that generates whitelist api
specs under `modules/lang-painless/src/main/generated/whitelist-json`.

The common classes are in `painless-common.json`, the specialized classes
per context are in `painless-$context.json`.

eg. `painless-aggs.json` has the specialization for the aggs contexts

Refs: elastic#49879
@stu-elastic stu-elastic added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache backport v7.11.0 labels Dec 9, 2020
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Dec 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@stu-elastic stu-elastic merged commit 5b8bac3 into elastic:7.x Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache Team:Core/Infra Meta label for core/infra team v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants