[midPoint-git] [Evolveum/midpoint] e6fb65: Implement evaluation of a Polyglot script.
Andrej
noreply at github.com
Wed Sep 3 09:07:41 CEST 2025
Branch: refs/heads/improvement/10061
Home: https://github.com/Evolveum/midpoint
Commit: e6fb658c08751a6e2870ab266fa0bce005a63e8b
https://github.com/Evolveum/midpoint/commit/e6fb658c08751a6e2870ab266fa0bce005a63e8b
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths:
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/MaterializingPolyglotScript.java
A model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/polyglot/MaterializingPolyglotScriptTest.java
Log Message:
-----------
Implement evaluation of a Polyglot script.
**What**
Implement evaluation of a Polyglot script providing the result as a Java
object.
**Notes**
This implementation recursively transform the Polyglot's `Value` objects
to its particular Java counterpart types. Not all of the types, which
the `Value` object can represent, are currently supported. Supported
types are:
- Primitives
- Instant (e.g., JavaScript's `Date`)
- List
- Map
- Host's objects (e.g., objects created with the `Java.type` script
method, or objects passed to the script from the host)
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