You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2022/10/03 12:23:59 UTC

[nifi] branch main updated: NIFI-10566: update availability text in Controller Settings (#6463)

This is an automated email from the ASF dual-hosted git repository.

mcgilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 5546b7ab01 NIFI-10566: update availability text in Controller Settings (#6463)
5546b7ab01 is described below

commit 5546b7ab019fff63206965bf4568a6f3333f9791
Author: M Tien <56...@users.noreply.github.com>
AuthorDate: Mon Oct 3 05:23:52 2022 -0700

    NIFI-10566: update availability text in Controller Settings (#6463)
    
    * NIFI-10566: update availability text in Controller Settings
    - fix link in controller service referencing a parameter provider
    
    * add Registry Clients to the availability message
    
    This closes #6463
---
 .../src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp        | 2 +-
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
index 3c81274e71..11903d5905 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
@@ -77,7 +77,7 @@
             Last updated:&nbsp;<span id="settings-last-refreshed" class="value-color"></span>
         </div>
         <div id="settings-loading-container" class="loading-container"></div>
-        <div id="controller-cs-availability" class="hidden">Listed services are available to all Reporting Tasks and services defined in the Controller Settings.</div>
+        <div id="controller-cs-availability" class="hidden">Listed services are available to all Reporting Tasks, Registry Clients, Parameter Providers, and services defined in the Controller Settings.</div>
         <div class="clear"></div>
     </div>
 </div>
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js
index b53b36d083..8046f7d642 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js
@@ -650,7 +650,7 @@
                         // close the dialog and shell
                         referenceContainer.closest('.dialog').modal('hide');
 
-                        $('#settings-tabs').find('li:eq(5)').click();
+                        $('#settings-tabs').find('li:nth-child(5)').click();
 
                         // adjust the table size
                         parameterProvidersGrid.resizeCanvas();