If I took an export of the main flow (NiFi Flow) from a server via the Export to JSON option on the right-click menu, how can I import that into a new server as the top-level flow? I know I can create new process groups with the export. But I want to restore the controller services and parameter contexts.
I know I could import into a process group, and then move things out again. But, that would also require re-creating all the controller services back at the top level...which would create new UUIDs...and require updating 400-500 processors manually to map them to the new controller services.
I've seen various posts about using NiFi registry and the toolkit. But even when I look at that, I don't see how that works with the top-level group. If there is some way to handle this that will require a minimum of reconfiguration on services, processors or process groups after the import, it would be appreciated.