NIFI-9214:

- Migrating away from forceFitColumns which is deprecated. Updating to use the same strategy in the new configuration which will prevent the warning logs to the console.

This closes #5428

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
Matt Gilman 2021-09-30 13:03:26 -04:00 committed by Scott Aslan
parent 05407476b4
commit ebcb1cc0d5
18 changed files with 42 additions and 42 deletions

View File

@ -1423,7 +1423,7 @@
}); });
var propertyConfigurationOptions = { var propertyConfigurationOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -344,7 +344,7 @@
]; ];
var processorTypesOptions = { var processorTypesOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -844,4 +844,4 @@
var processorComponent = new ProcessorComponent(); var processorComponent = new ProcessorComponent();
return processorComponent; return processorComponent;
}; };
})); }));

View File

@ -332,7 +332,7 @@
}); });
var componentStateOptions = { var componentStateOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,
@ -432,4 +432,4 @@
}).fail(nfErrorHandler.handleAjaxError); }).fail(nfErrorHandler.handleAjaxError);
} }
}; };
})); }));

View File

@ -94,7 +94,7 @@
}; };
var gridOptions = { var gridOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -71,7 +71,7 @@
var serverTimeOffset = null; var serverTimeOffset = null;
var gridOptions = { var gridOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1991,4 +1991,4 @@
}); });
} }
}; };
})); }));

View File

@ -93,7 +93,7 @@
}; };
var parameterContextsGridOptions = { var parameterContextsGridOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -103,7 +103,7 @@
}; };
var parametersGridOptions = { var parametersGridOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -661,7 +661,7 @@
} }
var usersOptions = { var usersOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -596,7 +596,7 @@
}); });
var queueListingOptions = { var queueListingOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,
@ -775,4 +775,4 @@
}; };
return nfQueueListing; return nfQueueListing;
})); }));

View File

@ -90,7 +90,7 @@
}; };
var gridOptions = { var gridOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -331,7 +331,7 @@
}; };
var gridOptions = { var gridOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -68,7 +68,7 @@
}; };
var commonTableOptions = { var commonTableOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,
@ -1681,4 +1681,4 @@
}; };
return nfClusterTable; return nfClusterTable;
})); }));

View File

@ -230,7 +230,7 @@
} }
var countersOptions = { var countersOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,
@ -345,4 +345,4 @@
}).fail(nfErrorHandler.handleAjaxError); }).fail(nfErrorHandler.handleAjaxError);
} }
}; };
})); }));

View File

@ -368,7 +368,7 @@
]; ];
var historyOptions = { var historyOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -691,7 +691,7 @@
} }
var provenanceOptions = { var provenanceOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1491,4 +1491,4 @@
}; };
return nfProvenanceTable; return nfProvenanceTable;
})); }));

View File

@ -544,7 +544,7 @@
// initialize the templates table // initialize the templates table
var processorsOptions = { var processorsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -715,7 +715,7 @@
// initialize the options for the cluster processors table // initialize the options for the cluster processors table
var clusterProcessorsOptions = { var clusterProcessorsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -881,7 +881,7 @@
// initialize the templates table // initialize the templates table
var connectionsOptions = { var connectionsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1024,7 +1024,7 @@
// initialize the options for the cluster processors table // initialize the options for the cluster processors table
var clusterConnectionsOptions = { var clusterConnectionsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1217,7 +1217,7 @@
// initialize the templates table // initialize the templates table
var processGroupsOptions = { var processGroupsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1388,7 +1388,7 @@
// initialize the options for the cluster processors table // initialize the options for the cluster processors table
var clusterProcessGroupsOptions = { var clusterProcessGroupsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1473,7 +1473,7 @@
// initialize the input ports table // initialize the input ports table
var inputPortsOptions = { var inputPortsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1635,7 +1635,7 @@
// initialize the options for the cluster input port table // initialize the options for the cluster input port table
var clusterInputPortsOptions = { var clusterInputPortsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1720,7 +1720,7 @@
// initialize the input ports table // initialize the input ports table
var outputPortsOptions = { var outputPortsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -1882,7 +1882,7 @@
// initialize the options for the cluster output port table // initialize the options for the cluster output port table
var clusterOutputPortsOptions = { var clusterOutputPortsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -2023,7 +2023,7 @@
// initialize the remote process groups table // initialize the remote process groups table
var remoteProcessGroupsOptions = { var remoteProcessGroupsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -2189,7 +2189,7 @@
// initialize the options for the cluster remote process group table // initialize the options for the cluster remote process group table
var clusterRemoteProcessGroupsOptions = { var clusterRemoteProcessGroupsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,
@ -2559,7 +2559,7 @@
addGarbageCollection(garbageCollectionContainer, garbageCollection); addGarbageCollection(garbageCollectionContainer, garbageCollection);
}); });
} }
// uptime // uptime
$('#uptime').text(aggregateSnapshot.uptime); $('#uptime').text(aggregateSnapshot.uptime);
@ -3406,4 +3406,4 @@
}).fail(nfErrorHandler.handleAjaxError); }).fail(nfErrorHandler.handleAjaxError);
} }
}; };
})); }));

View File

@ -331,7 +331,7 @@
]; ];
var templatesOptions = { var templatesOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: false, enableCellNavigation: false,
enableColumnReorder: false, enableColumnReorder: false,
@ -447,4 +447,4 @@
}).fail(nfErrorHandler.handleAjaxError); }).fail(nfErrorHandler.handleAjaxError);
} }
}; };
})); }));

View File

@ -721,7 +721,7 @@
} }
var userPoliciesOptions = { var userPoliciesOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
@ -886,7 +886,7 @@
]; ];
var usersOptions = { var usersOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true, enableTextSelectionOnCells: true,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,

View File

@ -719,7 +719,7 @@ var ua = {
]; ];
var conditionsOptions = { var conditionsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
enableAddRow: false, enableAddRow: false,
@ -808,7 +808,7 @@ var ua = {
{id: "value", name: "Value", field: "value", sortable: true, cssClass: 'pointer', editor: ua.getNfelEditor, validator: ua.requiredFieldValidator} {id: "value", name: "Value", field: "value", sortable: true, cssClass: 'pointer', editor: ua.getNfelEditor, validator: ua.requiredFieldValidator}
]; ];
var actionsOptions = { var actionsOptions = {
forceFitColumns: true, autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableCellNavigation: true, enableCellNavigation: true,
enableColumnReorder: false, enableColumnReorder: false,
enableAddRow: false, enableAddRow: false,