cloudstack/framework
Abhishek Kumar 03a4b9f4fd
server,utils: improve js interpretation functionality
Make JS interpretation functionalities configurable via a hidden config
- js.interpretation.enabled
Default value is false, making such functionalities disabled, ie, new
heuristic rules cannot be added or updated.

For JsInterpretor, use --no-java --no-syntax-extensions args and a deny-all ClassFilter.
Replace string-spliced vars with ENGINE_SCOPE Bindings, use a fresh ScriptContext per run, and compile before eval.
Use a named daemon worker with hard timeouts and capture stdout.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2025-10-16 09:49:36 +02:00
..
agent-lb Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
ca Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
cluster Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
config Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
db Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
direct-download Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
events Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
ipc Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
jobs server: Cleanup allocated snapshots / vm snapshots, and update pending ones to Error on MS start (#8452) 2025-09-23 08:37:10 +02:00
managed-context Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
quota server,utils: improve js interpretation functionality 2025-10-16 09:49:36 +02:00
rest Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
security Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
spring Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30
pom.xml Updating pom.xml version numbers for release 4.20.2.0-SNAPSHOT 2025-06-06 15:38:12 +05:30