Created 11-09-2018 12:44 PM
I need to deploy my NIFI templates (xml files ) into Nifi canvas from REST API calls, I am new to NIFI, is there anyway to do the same through POSTMAN or may be some script. The flow should be visible after the API calls inside the Nifi Canvas. Is that possible? Thanks in advance
Created 11-10-2018 12:00 AM
Old Approach:
NiFi supports REST API so you can use those rest api calls using POSTMAN.
Refer to this and this links for more details regards to api calls and import/upload templates.
New Approach:
NiFi also supports Registry, we can commit all the changes that are making to the NiFi flow and also supports version control.
For more details refer to this link how to deploy NiFi flow.
Created 11-10-2018 12:00 AM
Old Approach:
NiFi supports REST API so you can use those rest api calls using POSTMAN.
Refer to this and this links for more details regards to api calls and import/upload templates.
New Approach:
NiFi also supports Registry, we can commit all the changes that are making to the NiFi flow and also supports version control.
For more details refer to this link how to deploy NiFi flow.
Created 11-12-2018 07:47 AM
@Shu Thanks for your answer, i was able to upload a template into Nifi Canvas. Is there any way to upload multiple templates (kept inside one folder) to be uploaded by an api call?
Created 11-12-2018 11:52 PM
I don't think we can upload multiple templates at one time but you can keep all the templates in one folder and then read the filenames and pass each filename(using a loop) to curl api call to upload the template into NiFi canvas.