From ff0222e689cc622cb311ac8dae204587b1a68e7c Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Wed, 20 Jul 2016 19:06:34 -0400 Subject: [PATCH] NIFI-2336: Ensure that we save changes to the flow when we start or stop the current process group --- .../java/org/apache/nifi/web/StandardNiFiServiceFacade.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java index 40faa4623463..c4c854901895 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java @@ -740,6 +740,8 @@ public RevisionUpdate update() { // schedule the components processGroupDAO.scheduleComponents(processGroupId, state, componentRevisions.keySet()); + controllerFacade.save(); + // update the revisions final Map updatedRevisions = new HashMap<>(); for (final Revision revision : componentRevisions.values()) {