I am using the SCDF REST API to launch a composed task. However, the arguments I provide to the task that I launch via tasks/execution do not get passed down to the tasks that make up the composed task.
My endpoint looks something like this:
endpoint = "http://mydevserver.com/tasks/executions?name=mytaskname&arguments=--spring.datasource.foo=bar+--spring.datasource.alpha=beta"
The task launches and runs the child tasks, but the arguments, which are needed by the child tasks, are not available. I can see in the execution details of the composed task that the arguments are there.
But they do not show up in the execution details of the child tasks.
Seems like I am missing a command or flag or something. I haven't found a way to do this from REST in the docs.