mirror of https://github.com/apache/nifi.git
NIFI-3165: Update RPG revision when RPGPort is updated. This closes #1308
This commit is contained in:
parent
9ce0af22af
commit
d15bd0c00c
|
@ -68,8 +68,9 @@ nf.RemoteProcessGroupPorts = (function () {
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
contentType: 'application/json'
|
contentType: 'application/json'
|
||||||
}).done(function (response) {
|
}).done(function (response) {
|
||||||
// TODO - update the revision
|
// Update the RemoteProcessGroup revision.
|
||||||
// nf.Client.setRevision(response.revision);
|
// RemotePorts share revision with parent RemoteProcessGroup.
|
||||||
|
remoteProcessGroupData.revision = response.revision;
|
||||||
|
|
||||||
// get the response
|
// get the response
|
||||||
var remotePort = response.remoteProcessGroupPort;
|
var remotePort = response.remoteProcessGroupPort;
|
||||||
|
@ -298,8 +299,9 @@ nf.RemoteProcessGroupPorts = (function () {
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
contentType: 'application/json'
|
contentType: 'application/json'
|
||||||
}).done(function (response) {
|
}).done(function (response) {
|
||||||
// TODO - update the revision
|
// Update the RemoteProcessGroup revision.
|
||||||
// nf.Client.setRevision(response.revision);
|
// RemotePorts share revision with parent RemoteProcessGroup.
|
||||||
|
remoteProcessGroupData.revision = response.revision;
|
||||||
|
|
||||||
// get the response
|
// get the response
|
||||||
var remotePort = response.remoteProcessGroupPort;
|
var remotePort = response.remoteProcessGroupPort;
|
||||||
|
|
Loading…
Reference in New Issue