personium-engine
personium-engine copied to clipboard
Additional module for personium-core to enable server-side JavaScript execution.
## updated rhino version to 1.7.14 Modified pom file. ## modify test codes To apply this change, I added `io.personium.engine.PersoniumEngineExtension` to allowed classes list in `PersoniumClassShutterImpl` https://github.com/mozilla/rhino/issues/911 ## modify test...
This PR make you be able to use commonjs features. But it contains imcompatibility with old version. Please review carefully. ### Before You have to write module name to import...
Same as personium/personium-core#658
In engine test, codes in below repository are needed. https://github.com/fujitsu-pio/personium-ex-test
I think it would be nice if I can write Engine Script Handler as module. For example, ```java const { something } = require("./submodule"); exports.handler = function(request) { const result...
The code below is executed correctly. ```javascript function(request) { var Context = org.mozilla.javascript.Context, currentContext = Context.getCurrentContext, rhinoVersion = currentContext.getImplementationVersion; return personium.createResponse(200, rhinoVersion ); }; var _ = require("underscore")._; var personium...