NIFI-701:

- Including controller services in downloaded templates.
This commit is contained in:
Matt Gilman 2015-06-19 09:57:30 -04:00
parent cef7206796
commit 5fe9975292
1 changed files with 5 additions and 0 deletions

View File

@ -797,6 +797,11 @@ public final class DtoFactory {
copySnippet.getRemoteProcessGroups().add(copy(remoteGroup));
}
}
if (originalSnippet.getControllerServices() != null) {
for (final ControllerServiceDTO controllerService : originalSnippet.getControllerServices()) {
copySnippet.getControllerServices().add(copy(controllerService));
}
}
return copySnippet;
}