[midPoint-git] [Evolveum/midpoint] 6aca24: Map variables and release scripts back to pool

Andrej noreply at github.com
Fri Sep 5 12:06:13 CEST 2025


  Branch: refs/heads/improvement/10061
  Home:   https://github.com/Evolveum/midpoint
  Commit: 6aca24fdbbd70a5e2152d6b45cfa2ed4a990d9d6
      https://github.com/Evolveum/midpoint/commit/6aca24fdbbd70a5e2152d6b45cfa2ed4a990d9d6
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    R model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/GraalPolyglotScript.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/MaterializingPolyglotScript.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/polyglot/PolyglotScriptEvaluator.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/polyglot/PolyglotScriptEvaluatorTest.java

  Log Message:
  -----------
  Map variables and release scripts back to pool

**What**

- Fix a deadlock caused by not releasing used scripts back to pool.
- Map variables from context so they can be bound to the script.


  Commit: cdba911270dc2099e21e20a95625d390697c01cf
      https://github.com/Evolveum/midpoint/commit/cdba911270dc2099e21e20a95625d390697c01cf
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M model/model-impl/src/main/resources/ctx-model.xml

  Log Message:
  -----------
  Register new GraalJS script evaluator.

**What**

Add new bean for GraalJS script evaluator and "register" it to the
`ScriptExpressionFactory`.


Compare: https://github.com/Evolveum/midpoint/compare/c75c1c9fb445...cdba911270dc

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