Refactor scripting module

Since Nashorn JavaScript Engine is deprecated in Java 11 (https://openjdk.java.net/jeps/335)
it is better do nothing with JavaScript in the project any more

* Replace JS script tests to some other languages
* Mentioned deprecation in the Docs
* Rework `scripting.adoc` for code snippet switches
This commit is contained in:
Artem Bilan
2021-03-01 13:38:03 -05:00
parent df3fc4c9a6
commit f285e81d08
15 changed files with 162 additions and 100 deletions

View File

@@ -1,3 +0,0 @@
(function(){
return payload.length > 5 ? "longStrings" : "shortStrings";
})();

View File

@@ -0,0 +1 @@
'longStrings' if len(payload) > 5 else 'shortStrings'