NIFI-8138: Add Sensitive Property value to property tooltip

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4752.
This commit is contained in:
Matthew Burgess 2021-01-12 15:19:43 -05:00 committed by Pierre Villard
parent 7d76bcd520
commit 2d69179184
No known key found for this signature in database
GPG Key ID: F92A93B30C07C6D5
1 changed files with 3 additions and 0 deletions

View File

@ -935,6 +935,9 @@
if (!nfCommon.isBlank(propertyDescriptor.supportsEl)) {
tipContent.push('<b>Expression language scope:</b> ' + nfCommon.escapeHtml(propertyDescriptor.expressionLanguageScope));
}
if (!nfCommon.isBlank(propertyDescriptor.sensitive)) {
tipContent.push('<b>Sensitive property:</b> ' + nfCommon.escapeHtml(propertyDescriptor.sensitive));
}
if (!nfCommon.isBlank(propertyDescriptor.identifiesControllerService)) {
var formattedType = nfCommon.formatType({
'type': propertyDescriptor.identifiesControllerService,