Files
stream-applications/applications/processor/script-processor
Artem Bilan 274bb6751b Add requiresUnpack for script-processor
The `Jython` doesn't work in the uber jar as a nested one.
The Spring Boot provides a trick via unpacking requested nested jars.

* Use the latest `spring-cloud-dataflow-apps-generator-plugin` which allows now
to propagate a custom configuration for `spring-boot-maven-plugin`
* Add `requiresUnpack` for `jython-standalone` into the `script-processor`

**Cherry-pick to 2021.1.x**
2022-01-28 09:59:18 -05:00
..
2020-05-18 16:11:44 -04:00

//tag::ref-doc[]
= Script Processor

Processor that transforms messages using a script. The script body is supplied directly
as a property value. The language of the script can be specified (groovy/javascript/ruby/python).

== Options

The **$$script-processor$$** $$processor$$ has the following options:

//tag::configuration-properties[]
$$script-processor.language$$:: $$Language of the text in the script property. Supported: groovy, javascript, ruby, python.$$ *($$String$$, default: `$$<none>$$`)*
$$script-processor.script$$:: $$Text of the script.$$ *($$String$$, default: `$$<none>$$`)*
$$script-processor.variables$$:: $$Variable bindings as a new line delimited string of name-value pairs, e.g. 'foo=bar\n baz=car'.$$ *($$Properties$$, default: `$$<none>$$`)*
$$script-processor.variables-location$$:: $$The location of a properties file containing custom script variable bindings.$$ *($$Resource$$, default: `$$<none>$$`)*
//end::configuration-properties[]

//end::ref-doc[]