Describe the solution you'd like
Currently, HTTP Action could send parametrized service calls using placeholders replacement with values from the HTTP request (query params, headers, etc.).
It could be very useful if the call could be also parametrized by the data from Fragment's payload. Example action configuration could look like this:
Additional context
Consider extending Knot.x Server Commons and implement a substitutor that can extract the value from JsonObject. Some of the logic is already implemented in the PayloadToBodyActionFactory. Maybe it could be extracted to commons and re-used?
Describe the solution you'd like Currently, HTTP Action could send parametrized service calls using placeholders replacement with values from the HTTP request (query params, headers, etc.). It could be very useful if the call could be also parametrized by the data from Fragment's
payload
. Example action configuration could look like this:Additional context Consider extending Knot.x Server Commons and implement a substitutor that can extract the value from JsonObject. Some of the logic is already implemented in the PayloadToBodyActionFactory. Maybe it could be extracted to commons and re-used?