This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
new 2abd1c5092 NIFI-11769 Adding details on Registry Clients and Registrty
Client types on UI (#7453)
2abd1c5092 is described below
commit 2abd1c50927578e8940ada2746503beec97c5fb7
Author: simonbence <[email protected]>
AuthorDate: Fri Jun 30 20:33:41 2023 +0200
NIFI-11769 Adding details on Registry Clients and Registrty Client types on
UI (#7453)
Co-authored-by: Shane Ardell <[email protected]>
Merged #7453 into main.
---
.../src/main/webapp/js/nf/canvas/nf-settings.js | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
index 650c84d2ee..fda056e78c 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
@@ -2030,6 +2030,22 @@
formatter: descriptionFormatter,
sortable: 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 = [];
response.flowRegistryClientTypes.forEach(function (type) {
regTypeOptions.push({
- text: nfCommon.substringAfterLast(type.type, '.'),
+ text: nfCommon.substringAfterLast(type.type, '.') + ' (' +
type.bundle.version + ')',
value: type.type,
description: type.description || ''
});
@@ -2999,6 +3015,10 @@
if (nfCommon.isDefinedAndNotNull(parameterProvidersGrid)) {
parameterProvidersGrid.resizeCanvas();
}
+ var registriesGrid = $('#registries-table').data('gridInstance');
+ if (nfCommon.isDefinedAndNotNull(registriesGrid)) {
+ registriesGrid.resizeCanvas();
+ }
},
/**