Skip to content

Commit

Permalink
Merge pull request #221 from TAMULib/302-nashorn_to_graalvm
Browse files Browse the repository at this point in the history
Issue 302: Switch from Nashorn to GraalVM for Javascript execution.
  • Loading branch information
kaladay authored Oct 19, 2023
2 parents 034d120 + f220935 commit f206b2d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,18 @@
<version>1.10.0</version>
</dependency>

<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
<version>22.3.3</version>
</dependency>

<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
<version>22.3.3</version>
</dependency>

</dependencies>

<distributionManagement>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/bpm-platform.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<properties>
<property name="waitTimeInMillis">15000</property>
<property name="lockTimeInMillis">900000</property>
<property name="javascriptScriptEngine">Graal.js</property>
</properties>
</job-acquisition>
</job-executor>

0 comments on commit f206b2d

Please sign in to comment.