You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/24 12:44:00 UTC

[jira] [Commented] (NIFI-9515) Allow Parameter Providers to be selected in Parameter Contexts

    [ https://issues.apache.org/jira/browse/NIFI-9515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608983#comment-17608983 ] 

ASF subversion and git services commented on NIFI-9515:
-------------------------------------------------------

Commit d82ce18f885f51a1e38cff58f9d211e9affcbed9 in nifi's branch refs/heads/main from M Tien
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d82ce18f88 ]

NIFI-9514 NIFI-9515: Add UI support for Parameter Providers in Controller Services (#5671)

* NIFI-9514 - Add UI support for Parameter Providers in Controller Services

* - Fix a dialog closing issue

* - Hide fetch parameters button if there are config errors

* - Update Fetch Parameters dialog with new UX
- Implement checkbox logic for Selectable Parameters table

* - add createNewParameterContext property to track if group will be created as a new parameter context
- update fetch parameters dialog views for editing and after applying changes
- show affected referencing components after applying changes
- disable apply button if no parameter contexts will be updated
- refactor showing and hiding fetched parameters and selectable parameters tables logic
- add tooltip for parameter context icon

* - update parameter contexts view for provided contexts

* - add affected referencing components after applying fetched parameters
- add referencing parameter contexts to the provider settings tab
- update checkbox style in the selectable parameters table
- fix updating the referencing components border
- fix lint errors

* - fix selectable parameters table checkbox styles

* - fix hasParameterContextChanged checks
- checkbox style tweaks

* - add status bar to fetch parameters dialog

* - more style tweaks and remove unnecessary code

* - fix the selectable parameters table not saving and loading correctly

* - add tooltips
- fix styles

* - link from the parameter context to the associated parameter provider

* 9514: support navigating to the controller service created in parameter providers

* fix bulletins format in status bar

* address review feedback
- manage permissions for parameter providers
- disable/enable Fetch Parameters dialog Apply button

* manage authorizations to access parameter providers and parameter contexts

* fix lint errors

* fix and refactor hasGroupsChanged to determine the Apply button state

* new parameter context name input cannot be empty in Fetch Parameters dialog

* address review feedback

* fix duplicate code

* more fixes

* update fetch parameters checkbox states

* replace slickgrid checkbox selection plugin with custom implementation for different selection types
- check for affected parameters using the parameter status

* fixed showing the correct referencing components when switching groups

* fixed selectable parameters table shifting contents on row selection

* leverage slickgrid onClick to set user-selected parameter sensitivities in the selectable parameters table

* fix statusbar bulletins in processor details
- fix updating borders for referencing components
- update referencing parameter icon
- update table title in fetch parameters dialog

* address review feedback

* populate controller services referencing components of a referenced provider
- update controller services tab name

* showing parameter providers in CS controller service

* update tooltip messages in fetch parameters dialog
- fix dialog height to make room for the status bar

* reload the parameter providers table after a referenced parameter provider change in controller services
- fix conditions for enabling/disabling fetch parameters dialog Apply button
- add affected components no permissions message in the dialog

* fix always reloading the parameter providers table
- fix disableApplyButton checks
- add dialog message for a missing new parameter context name

* remove extra reload

* more fixes for disableApplyButton
- fixed styles for dialog message

* add a check in disableApplyButton for changed parameter values that are not referenced
- add changed value icon for parameters that are not referenced
- fix border on the referencing affected components container

* removed unnused plugins

This closes #5671 

> Allow Parameter Providers to be selected in Parameter Contexts
> --------------------------------------------------------------
>
>                 Key: NIFI-9515
>                 URL: https://issues.apache.org/jira/browse/NIFI-9515
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core UI
>    Affects Versions: 1.16.3
>            Reporter: Margot Tien
>            Assignee: Margot Tien
>            Priority: Major
>
> In Parameter Contexts, a user can view the available contexts that have been created from a parameter provider.
> In the parameter context table, there will be a new column, labeled "Provider". If the context is provided, it will say, "\{{groupName}} from \{{providerType}}".
> In the "Settings" tab, there will be a "Provider" label with the same group description.
> In the Update Parameter dialog, the parameters will be in a read-only state and cannot be edited. The user can only edit the context name, description, and inherited contexts. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)