Skip to content

Conversation

@jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Jul 12, 2018

This isn't as large as it seems as a lot of code is just moved into new classes. This splits PainlessLookup into PainlessLookup, PainlessLookupBuilder, and PainlessLookupUtility. Utility contains numerous shared static methods for conversion between painless types/names and java types/names. PainlessLookupBuilder takes all the code required to create a PainlessLookup and separates it from PainlessLookup for easier maintainability moving forward. Other changes are related to these.

Also includes some name changes from struct to class that were overlooked in the previous refactor.

@jdconrad jdconrad added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v7.0.0 >refactoring v6.4.0 labels Jul 12, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@jdconrad jdconrad requested a review from rjernst July 12, 2018 23:13
@jdconrad jdconrad mentioned this pull request Jul 12, 2018
23 tasks
@jdconrad
Copy link
Contributor Author

@elasticmachine test this please

@jdconrad
Copy link
Contributor Author

Going to break this into smaller pieces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >refactoring v6.4.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants