1490 Commits

Author SHA1 Message Date
Matt Gilman
7c5e6b9e14
NIFI-13085: (#8687)
- When viewing content, defaulting the Mode to 'Formatted'.

This closes #8687
2024-04-22 18:24:12 -04:00
Matt Gilman
830b7443d5
NIFI-13081: Adding support to edit a label (#8681)
* NIFI-13081:
- Adding support to edit a label.

* NIFI-13081:
- Fixing lint issues.

This closes #8681
2024-04-22 16:05:28 -04:00
Matt Gilman
72a3529718
NIFI-13083: (#8684)
- Fixing import preventing the dialog from warning the user that they must apply changes before deleting/adding the same parameter with different sensitivities.
- Allowing the sensitivity to change when deleting/adding the same parameter as long as it hasn't been saved yet.
- Adding the Parameters context menu item for Process Groups.
2024-04-22 15:39:02 -04:00
Matt Gilman
90506823e1
NIFI-13074: Resetting the transform when navigating from the lineage to the event listing (#8678)
* NIFI-13074:
- Resetting the transform when navigating from the lineage to the event listing.

* NIFI-13074:
- Fixing lint issues.

This closes #8678
2024-04-22 14:15:46 -04:00
Matt Gilman
2af2a3956e
NIFI-13054: (#8676)
- Restoring Property Editor popups that provide EL Function documentation and Parameter descriptions.

This closes #8676
2024-04-22 14:03:00 -04:00
Matt Gilman
d9e48f8645
NIFI-13065: Adding initial bend points for self looping connections and connections that collide with existing connections (#8671)
* NIFI-13065:
- Adding initial bend points for self looping connections and connections that collide with existing connections.
- Merging two actions into one for opening the new connection dialog.

* NIFI-13065:
- Only considering self looping connections when automatically moving bends when the source component moves.

* NIFI-13065:
- Making collision check for more lenient.
- Setting initial label index to 0.

This closes #8671
2024-04-19 17:58:26 -04:00
Matt Gilman
36c0ec4d7d
NIFI-13062: Read only configuration dialogs (#8665)
* NIFI-13062:
- Updating Configuration dialogs to support a read only mode for Processors, Controller Services, Reporting Tasks, Ports, Connections, Process Groups, Remote Process Groups, Flow Analysis Rules, and Parameter Contexts.
- For extensions points rendered the type in the header.

* NIFI-13062:
- Addressing review feedback.

This closes #8665
2024-04-19 12:42:31 -04:00
Matt Gilman
8c3c1eea31
NIFI-13068: (#8668)
- Adding support to terminate threads for Processors that are no longer running.
- Updating import for concatLatestFrom.

This closes #8668
2024-04-19 10:21:43 -04:00
Matt Gilman
41e4779bc5
NIFI-13059: (#8661)
- Adding support for copying and pasting on the canvas.

This closes #8661
2024-04-18 18:32:24 -04:00
Matt Gilman
8d8aebc5be
NIFI-13054: Tooltip improvements (#8657)
* NIFI-13054:
- Using Overlay for tooltips which correctly handle z-index and improvement positioning logic.

* NIFI-13054:
- Removing wrapped elements that are no longer needed with the use of Overlay for dialog handling.

This closes #8657
2024-04-18 16:11:05 -04:00
Scott Aslan
90e7501a0a
[NIFI-13035] remove angular2jwt and update to node 21 except in registry (#8641)
This closes #8641
2024-04-17 15:15:49 -04:00
Rob Fellows
20ec8064c9
[NIFI-13034] Change Component Version (#8653)
* [NIFI-13034] - Change Processor version

* Change controller service version

* Change version of reporting task and flow analysis rule

* add missing license header

* fix for updating parameter context when in clustered mode.

* review feedback - collapse 2 actions for opening change component version into 1

* update DocumentedType comparison logic

This closes #8653
2024-04-17 13:36:47 -04:00
Shane Ardell
4104cfd78d
NIFI-11520: Add a menu to display Flow Analysis report results (#8273)
* NIFI-11520: init ui work for flow analysis UI

* NIFI-11520: use .text() to render user input data

* NIFI-11520: update urls for analysis requests

* NIFI-11520: add WARN enforcement level to ui

* NIFI-11520: ui bug fixes

* fix rule bindings
* use correct count for rule violations

* NIFI-11520: move drawer markup into partial file

* NIFI-11520: remove old recs and policies naming

* NIFI-11520: comments and code cleanup

* NIFI-11520: fix linting errors

* NIFI-11520: restore refresh button logic

* NIFI-11520: remove timer

* NIFI-11520: add checkbox to only show warning violations

* NIFI-11520: style and copy changes

* change copy of violation checkboxes
* show correct details in violation dialog
* add overflow to violations menu

* NIFI-11520: add missing license header

* NIFI-11520: remove unused function

* NIFI-11520: cleanup rule and violation menu handling

* NIFI-11520: remove single use functions

* NIFI-11520: change function name to match established pattern

* NIFI-11520: rename function

* NIFI-11520: remove rule and violation details menu

* NIFI-11520: fix issue causing wrong documentation to be displayed

* NIFI-11520: fix go to button for components in nested process groups

* NIFI-11520: use refresh interval returned from the backend

* NIFI-11520: reload analysis when canvas is refreshed

* NIFI-11520: add violation details dialog with correct message

* NIFI-11520: disabled go to component when root group is violation

* NIFI-11520: remove unused CSS styles

* NIFI-11520: addressing more feedback:

* fix flow analysis drawer button styling
* disable edit rule if user does not have read permission
* fix broken warning list
* add loader and disable check now button while report is running

* NIFI-11520: handle violations without read permission

* NIFI-11520: disable go to component if not processor

* NIFI-11520: remove create analysis button and logic

* NIFI-11520: add pending analysis message

* NIFI-11520: protect against scenario where currentUser not loaded

* NIFI-11520: determine root group based on groupId being null

* NIFI-11520: address review feedback

* simplify go to logic by only showing for processors
* hide go to button instead of disabling

* NIFI-11520: fix hidden state

* NIFI-11520: hide go to based on permissions

This closes #8273
2024-04-16 17:34:19 -04:00
Scott Aslan
3f7085fec8
[NIFI-13041] update listing table column widths (#8656)
* [NIFI-13041] update listing table column widths (moreDetails)

* listing tables actions column widths

* update table columns to better fit the data

* prettier

* restore property table commented out html

* name column now 25%, more-details and actions columns fixed width, all other columns flex

* column width percenatages for clustered tables

* property table updates

This closes #8656
2024-04-16 17:17:36 -04:00
Matt Gilman
05558ca2de
NIFI-13047: Adding property history to the property tooltip (#8652)
* NIFI-13047:
- Adding property history to the property tooltip in the Edit dialogs for Processors, Controller Services, Reporting Tasks, Parameter Providers, and Flow Analysis Rules.

* NIFI-13054:
- Addressing review feedback.

This closes #8652
2024-04-16 13:47:23 -04:00
Scott Aslan
44b1353440
[NIFI-13041] birdseye honor user set processor background color (#8643)
* [NIFI-13041] birdseye honor user set processor background color

* add stroke border color to make #fff and #000 colored processors visible in light and dark mode

* border for labels in birdseye

This closes #8643
2024-04-16 11:39:44 -04:00
Mike Moser
7fdaa5f311
NIFI-13052 allow CRON driven components to be searchable
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8655.
2024-04-16 15:16:52 +02:00
Matt Gilman
a79b210d4e
NIFI-13044: Adding support to move to front (#8646)
* NIFI-13044:
- Adding support to move to front.
- Fixing revisions sent in various payloads.

* NIFI-13047:
- Address review feedback.

This closes #8646
2024-04-15 13:14:37 -04:00
Mark Bathori
26e5f5a565
NIFI-12970 Generate documentation for Python Processors
This closes #8579

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-12 15:53:16 -05:00
Rob Fellows
4e4c1ed803
[NIFI-13029] - Download Flow (#8634)
This closes #8634
2024-04-12 14:25:57 -04:00
Matt Gilman
62a4ece55d
NIFI-13005: (#8609)
- Adding support for showing cluster state in the component state dialog.

This closes #8609
2024-04-12 12:06:38 -04:00
Matt Gilman
36d95c5c3b
NIFI-13001: Allowing the user to acknowledge changes to the cluster connection state (#8606)
* NIFI-13001:
- Allowing the user to acknowledge changes to the cluster connection state.

* NIFI-13001:
- Addressing review feedback.

This closes #8606
2024-04-12 12:05:59 -04:00
Scott Aslan
2cae3fec11
[NIFI-13028] theme the processor icon color (#8633)
* [NIFI-13028] theme the processor icon color

* prettier and lint updates

* add missing color to table action icon

* review feedback
This closes #8633
2024-04-12 09:34:29 -04:00
Rob Fellows
d78e817fe8
General improvements (#8627)
* [NIFI-13021] - Fix - Status History dialog changes size when switching selected metric

* [NIFI-13018] - Fix - Refreshing Node Status History when open for the cluster, makes the incorrect backend call

* [NIFI-13023] - Fix - Right click on canvas while search results open shows browser right-click menu

* [NIFI-13024] - Improvement - Support Enter to create selected extension type

* [NIFI-13000] - Improvement - Prevent text selection in header, flow status, canvas, extension creation dialog table.

* prettier

* color udpates for new theme classes, turn of text selection on the status history charts
2024-04-11 13:48:36 -04:00
Scott Aslan
44852fb5d5
[NIFI-13022] rename semantic color classes to avoid conflict with angular material class names (#8628)
* [NIFI-13022] rename semantic color classes to avoid conflict with angular material class names

* remove need for !important

* rename default material sementic color classes

This closes #8628
2024-04-11 11:39:37 -04:00
Rob Fellows
90d0f6317a
[NIFI-12995]- Change Flow Version, Show Local Changes, Revert local changes (#8607)
* [NIFI-12995]- Change Flow Version, Show Local Changes, Revert local changes

* review feedback
2024-04-10 11:07:44 -04:00
Scott Aslan
1a2a23d1b6
[NIFI-12956] update to mat-button on general settings and login forms (#8621)
* [NIFI-12956] update to mat-button on general settings and login forms

* update mixin name

* fix typo

This closes #8621
2024-04-10 09:41:52 -04:00
Scott Aslan
40ece46e3c
[NIFI-12956] rename palettes and introduce semenatic color classes (#8608)
* [NIFI-12956] rename palettes and introduce semenatic color classes

* remove warn-default

* remove disabled class and replace with semantic material-theme-primary-palette-default

* remove running class and replace with semantic nifi-theme-success-palette-lighter

* replace up-to-date class with semantic nifi-theme-success-palette-default

* replace transmitting class and replace with semantic nifi-theme-success-palette-default

* replace stopped class with semantic material-theme-warn-palette-lighter

* replace locall-modified and sync-failure classes with semantic material-theme-accent-palette-lighter

* replace validating, blank, unset, and sensitive classes with semantic nifi-theme-surface-palette-default

* cleanup and rename _canvas.component-theme.scss semantic classes

* fix typo

* more improvements and adding some documentation for utils

* shorten semantic class names

* rename mixin

* remove value and refresh-timestamp class and introduce on default surface and on darker surface material primary/accent/warn semantic classes

* always calculate the material color based on the surface

* restore blank, unset, empty, sensitive, ghost, validating

* restore sync-failure, stale, locally-modified, locally-modified-and-stale, and up-to-date colors. Also use nifi theme warn palette where appropriate

* remove validating, locally-modified, sync-failure, and replase with nifi-surface-default. remove stale, locally-modified-and-stale and replace with nifi-warn-light

* simplfy semantic material theme class names

* fix erroneous colors

* update purple theme

* update comments in theme files to accurately list light mode usage, remove unused vars, move semantic classes from _canvas.component-theme.scss to global _app.scss, fix a few incorrect colors

* fix typ0

* update pom to overwrite the correct file

* restore class names with no styles to assist in understanding state

* update blank, unset, ghost, sensitive, empty

* update default theme name to match renamed file

* move border to class in birdseye

* review feedback

* enabled now nifi-success-default color

* final touches

* use mat-warn for bulletin error

* fix search and flow status

This closes #8608
2024-04-09 14:50:08 -04:00
Matt Gilman
2c706f5228
NIFI-12958: Adding support for custom UIs (#8601)
* NIFI-12958:
- Adding support for custom UIs.
- Running NiFi dev server at context path /nf.
- Fixing link used when clicking the logo in the header.
- Updating titles and icons used for editing components in Settings for better consistency.
- Fixed JOLT advanced UI height.

* NIFI-12958:
- Fixing lint issue.

* NIFI-12958:
- Fixing test issue.

This closes #8601
2024-04-05 11:19:05 -04:00
Rob Fellows
307c4017d9
[NIFI-12963] Process Group Versioning (#8596)
* [NIFI-12963] - Flow Versioning
* Start version control

* Stop version control

* Commit local changes

* Force commit local changes

This closes #8596
2024-04-04 10:39:18 -04:00
Pierre Villard
644d086ff2
NIFI-12972 - Only show selected relationships in read-only connection details (#8582)
* NIFI-12972 - Only show selected relationships in read-only connection details

* review

This closes #8582
2024-04-03 18:50:17 -04:00
Bence Simon
88d434f9ec NIFI-12735 Adding the option to execute flow analysis before committing snapshot to registry
This closes #8377.

Signed-off-by: Tamas Palfy <tpalfy@apache.org>
2024-04-03 17:24:21 +02:00
Mike Moser
b574a7e41a
NIFI-12987 allow controller service type to be searchable
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8593.
2024-04-02 16:33:52 +03:00
Scott Aslan
d85f4b39c5
[NIFI-12922] semantic dialog size configurations (#8535)
* [NIFI-12922] semantic dialog size configurations

* move DIALOG_SIZES to index.ts, fix status history dialog

* fix paramter context dialog size to large

* remove dialog height styles to help keep the dialog action buttons on screen for smaller screen heights

* update import from registry dialog

* update edit remote port dialog size styles

* update user access policies table width

* update component state width

* remove .selected-type width

* udate edit parameter context dialog

* update status history dialog

* update system diagnostics dialog

* update flow analysis rules, parameter providers, and reporting task dialog widths

* update enable and disable CS dialog width

* handle tailwind width styles for dialog contents

* update purge history dialog

* fix system diagnostics vertical height tab differences

* update component state dialog style, retore listing-table width 100%

* remove SMALL dialog from YesNoDialog, CancelDialog, and OkDialog widths

* restore Enable/Disable CS dialog spacing, remove SMALL dialog size from the override policy dialog

* introduce SMALL_DIALOG, MEDIUM_DIALOG, LARGE_DIALOG, and XL_DIALOG MatDialogConfig

* update purge history dialog

* remove grid and use flex basis-2/3 instead

* YesNo dialogs are SMALL_DIALOG with maxWidth: 24rem, Ok Dialogs can be any size but should override the maxWidth: 24rem, Cancel Dialog have no size

* remove unnecessary maxWidth: 24rem from OkDialogs

* use basis-2/3 and basis-1/3 for enable/disable CS and relationship setting edit processor layouts, add border and overflow scrolling for referencing component listings UX everywhere

* final touches

This closes #8535
2024-03-29 16:18:11 -04:00
dependabot[bot]
7b8f05e703
NIFI-12976 Upgraded Express.js from 4.18.2 to 4.19.2
Applies to nifi-web-frontend

This closes #8583

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-03-29 13:16:00 -05:00
tpalfy
c3eff68f92
NIFI-12924 Flow Analysis no longer done regularly or on-demand, but automatically when a change occurs that could result in the change of violations.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8537.
2024-03-29 13:34:03 +01:00
Rob Fellows
e5827c1026
[NIFI-12941] - adding in jest-preset-angular to enable unit testing in Idea based IDEs (#8580)
* [NIFI-12941] - adding in jest-preset-angular to enable unit testing in Idea-based IDEs

* remove globalSetup jest config

This closes #8580
2024-03-28 16:12:17 -04:00
Matt Gilman
db09b44e40
NIFI-12950: Updating front end to use the uiOnly flag where possible (#8565)
* NIFI-12950:
- Updating front end to use the uiOnly flag where possible.

* NIFI-12950:
- Addressing review feedback.

This closes #8565
2024-03-27 17:07:45 -04:00
Rob Fellows
a3dda5eb09
[NIFI-12940] - Migrate to Nx (#8574)
* [NIFI-12940] - Migrate to Nx

* Set initial focus in the extension creation dialog to the filter input.

This closes #8574
2024-03-27 16:34:23 -04:00
exceptionfactory
3bed30e9db
NIFI-12962 Upgraded Spring Framework from 6.0.18 to 6.1.5
- Enabled parameter names for reflection in nifi-web-api to support AspectJ Around expression parsing

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

This closes #8575.
2024-03-27 10:28:26 +01:00
Matt Gilman
0c01dfe585
NIFI-12948: (#8564)
- Action is optional.
- Removing duplicate check in counter table.
- Ensure flow configuration is loaded in route guard.
- Only show user/group list when there are users or groups.
- Default override policy to copy.
2024-03-26 15:21:11 -04:00
Matt Gilman
339a06a8c6
NIFI-12937: Adding error handling to the Parameter Context Listing page (#8555)
* NIFI-12937:
- Adding error handling to the Parameter Context Listing page.

* NIFI-12937:
- Addressing review feedback.

This closes #8555
2024-03-26 15:07:14 -04:00
Rob Fellows
039fd66911
[NIFI-12941] - Migrate to Jest from Karma/Jasmine. (#8566)
* [NIFI-12941] - Migrate to Jest from Karma/Jasmine.

* Updated license header

* Review Feedback

* remove jest transforms that were not needed

This closes #8566
2024-03-26 14:54:31 -04:00
dependabot[bot]
884dd8596a
NIFI-12932 Upgraded webpack-dev-middleware from 5.3.3 to 5.3.4
This closes #8543

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-03-21 23:08:50 -05:00
exceptionfactory
6b061452e6
NIFI-12926 Upgraded Jackson from 2.16.2 to 2.17.0
This closes #8538

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-03-20 19:59:23 -05:00
James Mingardi-Elliott
f5e44a99ac
NIFI-12912 snackbar bug (#8528)
Removed unnecessary rules and class. The snackbars will be styled by Angular Material.

Improved get-color-on-surface helper function.

This closes #8528
2024-03-18 17:33:03 -04:00
dependabot[bot]
68b880c74d
NIFI-12915 Upgraded follow-redirects from 1.15.5 to 1.15.6
This closes #8524

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-03-18 08:21:27 -05:00
Matt Gilman
940904e1ea
NIFI-12902: (#8521)
- Updating packaging to account for new build output.
2024-03-18 08:56:30 -04:00
Matt Gilman
d97c794696
NIFI-12902: Migrating to @angular-devkit/build-angular:application (#8507)
* NIFI-12902:
- Migrating to @angular-devkit/build-angular:application to avoid and avoid sporadic webpack build issues.
- Updating roboto dependencies.

* NIFI-12902:
- Clean up.

This closes #8507
2024-03-15 16:15:48 -04:00
Scott Aslan
69e7a884a3
[NIFI-12822] table, border, theming updates (#8499)
* [NIFI-12822] table, border, theming updates

* remove nifi-button and replace with mat-icon-button

* Update nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/assets/styles/_app.scss

Co-authored-by: James Mingardi-Elliott <james-elliott@users.noreply.github.com>

* Update nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/graph-controls/operation-control/operation-control.component.scss

Co-authored-by: James Mingardi-Elliott <james-elliott@users.noreply.github.com>

* Update nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/graph-controls/navigation-control/navigation-control.component.scss

Co-authored-by: James Mingardi-Elliott <james-elliott@users.noreply.github.com>

* review feedback

* final touches

---------

Co-authored-by: James Mingardi-Elliott <james-elliott@users.noreply.github.com>

This closes #8499
2024-03-14 18:13:10 -04:00