Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Upload a NiFi template via nifi-api

avatar
Expert Contributor

Hi all,

I've exported a template from a NiFi instance, and I would like to import it in another instance via api (curl). I've seen the nifi-api documentation, but I can't find a way to do it. Anyone know how to do it?

Thank you!

1 ACCEPTED SOLUTION

avatar

Davide, take a look at https://github.com/aperepel/nifi-api-deploy

You can either use this script or peek at how it's doing the template import and instantiation. Good luck!

View solution in original post

3 REPLIES 3

avatar

Davide, take a look at https://github.com/aperepel/nifi-api-deploy

You can either use this script or peek at how it's doing the template import and instantiation. Good luck!

avatar
Expert Contributor

Hi Andrew, thank you! It's really useful!

avatar
New Member

Where does Nifi store the created templates on the server? I am unable to locate the directory.