This add configKey property to function definition metadata.
configKey value is an expression that is evaluated againts the workflow model when the rest call is performed for the function that defines it.
If expression returns null, an IllegalArgumentException is launched, failing the workflow execution.
Othewise, the string result of the expression is added to the configKey calculated at build time, allowing usage of different endpoints for the same workflow definition
Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3573
This add configKey property to function definition metadata. configKey value is an expression that is evaluated againts the workflow model when the rest call is performed for the function that defines it. If expression returns null, an IllegalArgumentException is launched, failing the workflow execution. Othewise, the string result of the expression is added to the configKey calculated at build time, allowing usage of different endpoints for the same workflow definition