NIFI-3165: Update RPG revision when RPGPort is updated. This closes #1308

This commit is contained in:
Koji Kawamura 2016-12-08 18:00:17 +09:00 committed by Matt Gilman
parent 9ce0af22af
commit d15bd0c00c
1 changed files with 6 additions and 4 deletions

View File

@ -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;