[midPoint-git] [Evolveum/midpoint] a7a9c5: Implement new Graal Polyglot based script evaluator
Andrej
noreply at github.com
Fri Aug 29 09:44:19 CEST 2025
Branch: refs/heads/improvement/10061
Home: https://github.com/Evolveum/midpoint
Commit: a7a9c550708cd0fc10738d034e8903fd936c13d9
https://github.com/Evolveum/midpoint/commit/a7a9c550708cd0fc10738d034e8903fd936c13d9
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M model/model-common/pom.xml
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractCachingScriptEvaluator.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/ContextPerScriptPool.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/GraalPolyglotScript.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/PolyglotScript.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/PolyglotScriptEvaluator.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/PolyglotScriptPool.java
A model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/polyglot/PolyglotScriptEvaluatorTest.java
M pom.xml
Log Message:
-----------
Implement new Graal Polyglot based script evaluator
**What**
Implement new script evaluator for JavaScript, which is based on the Graal Polyglot APIs and GraalJS engine.
**Why**
We would like to use more secure alternatives to Groovy scripts for scripting. Graal Polyglot APIs, especially with the GraalJS
JavaScript engine seems to be a good fit for this because of theirs strong sandboxing capabilities.
**Notes**
This commit implements only the script evaluator. Other pieces and interfaces will be implemented in upcoming commits.
**Implements:** MID-10061
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list