Repository: nifi Updated Branches: refs/heads/NIFI-1563 8f187274a -> 7f49f8723
NIFI-1563: Return 'Insufficient History' message if aggregate stats don't have enough data points, even if all nodes do (which can be the case if the node performing the aggregation has a different value for the 'nifi.components.status.snapshot.frequency' property than the other nodes) Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/7f49f872 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/7f49f872 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/7f49f872 Branch: refs/heads/NIFI-1563 Commit: 7f49f8723851792a19304304351a08eca5e61a8d Parents: 8f18727 Author: Mark Payne <[email protected]> Authored: Mon Mar 7 10:23:07 2016 -0500 Committer: Mark Payne <[email protected]> Committed: Mon Mar 7 10:23:07 2016 -0500 ---------------------------------------------------------------------- .../nifi-web-ui/src/main/webapp/js/nf/nf-status-history.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/7f49f872/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-status-history.js ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-status-history.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-status-history.js index 74a3878..025422b 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-status-history.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-status-history.js @@ -111,6 +111,9 @@ nf.StatusHistory = (function () { label: config.nifiInstanceLabel, snapshots: componentStatusHistory.aggregateStatusSnapshots }); + } else { + insufficientHistory(); + return; } // get the status for each node in the cluster if applicable
