I have a GCP Data Fusion pipeline where I am performing a GET request on an API which returns me a JSON list of user information including the user id. I am able to do this successfully with the Data Fusion HTTP plugin (available in the Data Fusion HUB). Here is an example of such a list:
[
{
"id" : "adsa6d672",
"firstName" : "John",
"lastName" : "Doe"
},
{
"id" : "adsa6d672",
"firstName" : "John",
"lastName" : "Doe"
}
]
Based on this list (which I have successfully parsed), instead of just sinking it to a database, I want to make a HTTP call on a per user id basis on another API. Is there a way of doing this on a single Data Fusion pipeline (without having to bring another pipeline up just to perform one HTTP request?
I tried using the Data Fusion python transformation plugin (available in the HUB) and use the python requests
library to perform the http requests, but this ended up in an error as the requests library is not installed in the python interpreter that runs the transformation plugin.