mirror of https://github.com/apache/nifi.git
NIFI-11769 Adding details on Registry Clients and Registrty Client types on UI (#7453)
Co-authored-by: Shane Ardell <shane.m.ardell@gmail.com> Merged #7453 into main.
This commit is contained in:
parent
cadf2fb6f2
commit
5f4cc106f1
|
@ -2030,6 +2030,22 @@
|
||||||
formatter: descriptionFormatter,
|
formatter: descriptionFormatter,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
resizable: true
|
resizable: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'type',
|
||||||
|
name: 'Type',
|
||||||
|
field: 'type',
|
||||||
|
formatter: nfCommon.instanceTypeFormatter,
|
||||||
|
sortable: true,
|
||||||
|
resizable: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'bundle',
|
||||||
|
name: 'Bundle',
|
||||||
|
field: 'bundle',
|
||||||
|
formatter: nfCommon.instanceBundleFormatter,
|
||||||
|
sortable: true,
|
||||||
|
resizable: true
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -2661,7 +2677,7 @@
|
||||||
var regTypeOptions = [];
|
var regTypeOptions = [];
|
||||||
response.flowRegistryClientTypes.forEach(function (type) {
|
response.flowRegistryClientTypes.forEach(function (type) {
|
||||||
regTypeOptions.push({
|
regTypeOptions.push({
|
||||||
text: nfCommon.substringAfterLast(type.type, '.'),
|
text: nfCommon.substringAfterLast(type.type, '.') + ' (' + type.bundle.version + ')',
|
||||||
value: type.type,
|
value: type.type,
|
||||||
description: type.description || ''
|
description: type.description || ''
|
||||||
});
|
});
|
||||||
|
@ -2999,6 +3015,10 @@
|
||||||
if (nfCommon.isDefinedAndNotNull(parameterProvidersGrid)) {
|
if (nfCommon.isDefinedAndNotNull(parameterProvidersGrid)) {
|
||||||
parameterProvidersGrid.resizeCanvas();
|
parameterProvidersGrid.resizeCanvas();
|
||||||
}
|
}
|
||||||
|
var registriesGrid = $('#registries-table').data('gridInstance');
|
||||||
|
if (nfCommon.isDefinedAndNotNull(registriesGrid)) {
|
||||||
|
registriesGrid.resizeCanvas();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue