Run Python Procedure
This handler (com.rierino.handler.py4j.Py4JEventHandler) provides ability to handle events using Python libraries.
Handler Parameters
implementation (group:'com.rierino.custom', name: 'py4j', version:"${rierinoVersion}")Actions
Process / ProcessPython
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Run Python Procedure Process/ProcessPython action eventMeta fields",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"inputElement": {
"type": "string",
"definition": "Json path of payload input to pass",
"example": "parameters",
"default": null
},
"outputElement": {
"type": "string",
"definition": "Json path for output to add on payload",
"example": "$",
"default": null
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Run Python Procedure Process/ProcessPython action eventMeta.parameters",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"inputPattern": {
"type": "string",
"definition": "JMESPath pattern to apply on input element",
"example": "{data:contents}",
"default": null
},
"pyPackage": {
"type": "string",
"definition": "Name of the Python package to use",
"example": "rierino_runner",
"default": null
},
"pyModule": {
"type": "string",
"definition": "Name of the Python module to use",
"example": "CustomHandler",
"default": null
},
"pyAction": {
"type": "string",
"definition": "Name of the Python function to call",
"example": "Calculate",
"default": null
}
}
}
}
}
}
}Python Modules
NoopEventHandler
ProcessEventHandler
Parameter
Definition
Example
Default
DQEventHandler
Parameter
Definition
Example
Default
Last updated

