OpenSearch/plugins/lang-javascript
Nik Everett e07e5d66fa Make reindex and lang-javascript compatible
Fixes two issues:
1. lang-javascript doesn't support `executable` with a `null` `vars`
parameters. The parameter is quite nullable.
2. reindex didn't support script engines who's `unwrap` method wasn't
a noop. This didn't come up for lang-groovy or lang-painless because
both of those `unwrap`s were noops. lang-javascript copys all maps that
it `unwrap`s.

This adds fairly low level unit tests for these fixes but dosen't add
an integration test that makes sure that reindex and lang-javascript
play well together. That'd make backporting this difficult and would
add a fairly significant amount of time to the build for a fairly rare
interaction. Hopefully the unit tests will be enough.
2016-08-11 09:54:03 -04:00
..
licenses upgrade rhino for plugins/lang-javascript 2015-11-03 09:53:07 -05:00
src Make reindex and lang-javascript compatible 2016-08-11 09:54:03 -04:00
build.gradle Circuit break the number of inline scripts compiled per minute 2016-08-09 10:26:27 -06:00