Script Components
Introduction to the Script Components
The Script Components enable advanced data processing operations on Wire Envelopes through execution of JavaScript code within the Wire Composer framework.
These components leverage the GraalVM™ JavaScript Engine and consist of the following:
- GraalVM™ Filter Component: provides comprehensive scripting capabilities for general-purpose Wire Envelope manipulation
- GraalVM™ Conditional Component: a multiport component that implements conditional branching logic within the Wire Composer
The components can be installed through the Wires Script Tools deployment package available on the Eclipse Marketplace at this link.
Compatibility NoticeScripts developed for the Script Filter and Conditional Component Wire Components in Kura 5.x are not compatible with these GraalVM-based components. Refer to GraalVM™ Filter Component and GraalVM™ Conditional Component documentation for the updated syntax specifications.
Legacy installations support
For legacy installations running on a JRE with Nashorn JS Engine (Java < 15, JEP 372), a Script Filter and a Conditional Component are still provided:
The above components will run only on Java < 15 since the Nashorn dependency is not included in the DP. The two components are available in the Eclipse Marketplace as two separate entries. These components are deprecated as of Kura version 5.3.
Updated 3 days ago
