cross-post from #scriptingI just put out BETA of a bunch of libs around, I'll start to do docs and samples now but worked out all the kinks.* *Elasticsearch-lang-kotlin*: Kotlin text scripting in Elasticsearch, and also the ability to send Kotlin Lambdas as scripts as well. Why give up syntax highlighting and help from our IDE's! --
https://github.com/kohesive/elasticsearch-lang-kotlin* *Cuarentena*: secure scripting (validate script or binary lambda against a whitelist of allowed accesses down to method level, matching Painless scripting rules from Elasticsearch but can apply elsewhere) --
https://github.com/kohesive/cuarentena* *Chillambda*: convert a lambda into a script (base64 encoded version that you can send somewhere to run using Cuarentena to validate the security rules are not violated, also handles safe ser/deser of the lambda to prevent attacks there as well) --
https://github.com/kohesive/chillambda* *Keplin*: shrunk down just to be less things, some slightly easier way of using Kotlin REPLs and scripting, but I would like to deprecate more here and just end up flat on the core from Kotlin. So expect this to shrink, and only be secure scripting hooks into Kotlin scripting with Cuarentena --
https://github.com/kohesive/keplinThese are finally working and distributable, but need time to bake, samples written, docs, ... so be gentle to them. From here, I would like to get Kotlin scripting into other engines that make sense. But I'll let the details work out with this set first to find the kinks, close any holes, etc. I also have to update to other versions of Elasticsearch, including big changes in 6.x series.