Import Json Definition to a target nifi system using Rest API of NiFi 2.0.0-M4
Hi All,
I have created my processor group in a local instance of NiFi 2.0.0-M4 and I have downloaded the json definition file and also I can able to import that json manually to a target nifi system (production), but my ultimate goal is to deploy this json using NiFi RestAPI and I have accomplished the following tasks
1. Generate the NiFi Token
2. Create a ProcessorGroup to the target NiFi system
But I could not find a way to import the json definition file through REST API and when I search on the apache NiFi documentation of API and in could not find any proper api call for NiFi version 2.0.0-M4 but there is only for version 1.28 supported Api endpoints for template concepts but as of NiFi version 2.0.0-M4 it was changed from xml template into json definition concept. Now how do I import the json file to the target system processGroup which i created through rest api.
Please anyone can give your suggestion asap.
Thanks
Vijay.AX


