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 = {
forceFitColumns: true,
autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableTextSelectionOnCells: true,
enableCellNavigation: true,
enableColumnReorder: false,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -719,7 +719,7 @@ var ua = {
];
var conditionsOptions = {
forceFitColumns: true,
autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableCellNavigation: true,
enableColumnReorder: 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}
];
var actionsOptions = {
forceFitColumns: true,
autosizeColsMode: Slick.GridAutosizeColsMode.LegacyForceFit,
enableCellNavigation: true,
enableColumnReorder: false,
enableAddRow: false,