Repository: nifi Updated Branches: refs/heads/master 9ce0af22a -> d15bd0c00
NIFI-3165: Update RPG revision when RPGPort is updated. This closes #1308 Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/d15bd0c0 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/d15bd0c0 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/d15bd0c0 Branch: refs/heads/master Commit: d15bd0c00c665f2d692efc96b7c251f962619aff Parents: 9ce0af2 Author: Koji Kawamura <[email protected]> Authored: Thu Dec 8 18:00:17 2016 +0900 Committer: Matt Gilman <[email protected]> Committed: Thu Dec 8 08:34:07 2016 -0500 ---------------------------------------------------------------------- .../webapp/js/nf/canvas/nf-remote-process-group-ports.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/d15bd0c0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js index 529cda7..d5c9ae7 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js @@ -68,8 +68,9 @@ nf.RemoteProcessGroupPorts = (function () { dataType: 'json', contentType: 'application/json' }).done(function (response) { - // TODO - update the revision - // nf.Client.setRevision(response.revision); + // Update the RemoteProcessGroup revision. + // RemotePorts share revision with parent RemoteProcessGroup. + remoteProcessGroupData.revision = response.revision; // get the response var remotePort = response.remoteProcessGroupPort; @@ -298,8 +299,9 @@ nf.RemoteProcessGroupPorts = (function () { dataType: 'json', contentType: 'application/json' }).done(function (response) { - // TODO - update the revision - // nf.Client.setRevision(response.revision); + // Update the RemoteProcessGroup revision. + // RemotePorts share revision with parent RemoteProcessGroup. + remoteProcessGroupData.revision = response.revision; // get the response var remotePort = response.remoteProcessGroupPort;
