Commit Graph

6787 Commits

Author SHA1 Message Date
dan-s1 d54e85fab2
NIFI-12960 Support reading password-protected files in ExcelReader
This closes #8658

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-24 23:05:31 -05:00
Matt Gilman d9dc283406
NIFI-13092: Adding info icons to configuration dialogs (#8696)
* NIFI-13092:
- Refactoring TextToolTip input to be a string.

* NIFI-13092:
- Migrating existing info tooltips to use the NiFi tooltip and fa-info-circle icon.

* NIFI-13092:
- Adding info icons to configuration dialogs where necessary.

* NIFI-13092:
- Aligning Run Schedule form label between Reporting Tasks and Processors.

* NIFI-13092:
- Removing primary color from info icons outside of those that appear in tables.

* NIFI-13092:
- Addressing review feedback.

This closes #8696
2024-04-24 21:38:23 -04:00
Scott Aslan 0e70f7a07e
[NIFI-13056][NIFI-13011] canvas icons, theming, and contrast ratio improvements (#8663)
* [NIFI-13056] add missing .hidden class, update text.bulletin-icon, rect.bulletin-background, text.port-transmission-icon, rect.process-group-banner, rect.remote-process-group-banner, text.process-group-name, text.remote-process-group-name, and text.load-balance-icon-active colors to match legacy nifi

* fix ref to warn-color and declar color for .operation-context-name

* text.connection-from-run-status and text.connection-to-run-status colors

* load-balance-icon and load-balanace-icon-active semantic colors

* .expiration-icon semantic colors

* .penalized-icon semantic colors

* text.active-thread-count-icon semantic colors

* [NIFI-13011] canvas icons and contrast ratio improvements

* nifi surface palette usage now all based on default/lighter/darker theme configuration

* update codemirror colors

* update not-transmitting and disabled icon colors, add not-allowed cursor to disabled draggable icons

* update processor, PG, rpg, name color

* cleanup

* fix bulletin icon color in dark mode

* fix flow status clustered icon warn color

* update the nifi warn darker color

* update active thread count to accent default color

* ensure contrast for the PG and RPG header text

* final touches

* update navigation header icons to have proper contrast ratio

* update contrast ratio for purple theme

* update to material theme

This closes #8663
2024-04-24 16:07:32 -04:00
Matt Gilman b06c1779a3
NIFI-13055: Moving the loading of flow configuration out of individual pages and into the navigation component (#8695)
* NIFI-13055:
- Moving the loading of flow configuration out of individual pages and into the navigation component which requires it for rendering the Users and Policies menu item.

* NIFI-13055:
- Moving the loading of current user out of each page and into the Navigation component.

This closes #8695
2024-04-24 15:20:19 -04:00
Scott Aslan 7995358046
[NIFI-12990] close enable/disable CS dialog when go to is clicked (#8690)
* [NIFI-12990] close enable/disable CS dialog when go to is clicked

* review feedback addressed

This closes #8690
2024-04-24 13:48:37 -04:00
Matt Gilman 562eece6e3
NIFI-13078: Adding support to Enable and Disable through the context menu and operation control (#8680)
* NIFI-13078:
- Adding support to Enable and Disable through the context menu and operation control.

* NIFI-13078:
- Addressing review feedback.

This closes #8680
2024-04-23 16:47:25 -04:00
Matt Gilman cde820673c
NIFI-13089: Updating PR Template and README for new UI (#8693)
* NIFI-13089:
- Updating PR Template and README for new UI.

* Update nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/README.md

Reformatting the code structure layout.

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

---------

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

This closes #8693
2024-04-23 15:42:29 -04:00
Scott Aslan 3e0dcf7342
[NIFI-13051] update dialog action buttons (#8688)
This closes #8688
2024-04-23 11:36:02 -04:00
Rob Fellows 04c6c51aed
NIFI-13086 - set jest maxWorkers to 50% for maven builds to alleviate some resource contention (#8689)
* NIFI-13086 - set jest maxWorkers to 50% for maven builds to alleviate some resource contention

* quoting the maxWorkers value

* set maxWorkers in jest.config.ts

* set maxWorkers to 2 for maven builds

This closes #8689
2024-04-23 09:45:30 -04:00
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
sullis 31e1ce8f4c
NIFI-13076: reduce enum array allocation (#8679) 2024-04-22 11:17:15 -04:00
exceptionfactory 259a734a4b
NIFI-12858 Corrected Order of Previous Property Values
- Reversed default order of previous values to return oldest entries before newest entries

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

This closes #8673.
2024-04-20 10:49:28 +08: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
dan-s1 fe5ef39ff2 NIFI-13069 Removed ConvertAvroToJSON
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #8675
2024-04-19 14:49:30 -04:00
Balázs Gerner 3239f59746 NIFI-12923 Added append avro mode to PutHDFS
NIFI-12923 remove var keyword

NIFI-12923 change property name

NIFI-12923 Added property dependency for append_mode

Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #8544
2024-04-19 14:17:00 -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
exceptionfactory 6eb5834df7
NIFI-13067 Upgraded Spring Security from 6.2.3 to 6.2.4
- Upgraded Spring Boot from 3.2.4 to 3.2.5 for Registry
- Upgraded OpenSAML from 4.3.0 to 4.3.1
- Upgraded AspectJ from 1.9.21 to 1.9.22

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

This closes #8666.
2024-04-19 19:50:26 +08: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
Jim Steinebrey 1514890371 NIFI-12993 Add auto commit feature and add batch processing for the sql stmt type
NIFI-12993 Removed underscore from a few local variables.

NIFI-12993 Refactored unit tests into a single java file

NIFI-12993 Changed Optional.isEmpty() ro !Optional.isPresent() so it can work in Nifi 1.x Java 8

Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #8597
2024-04-18 14:48:04 -04:00
Jim Steinebrey b5943941ba
Free Clob after reading from ResultSet
NIFI-10657 Added debug logging when unable to free clob or blob because it is unsupported

Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #8654.
2024-04-17 17:09:40 -04:00
dan-s1 f42c2eb6bc
NIFI-13058 Corrected SeeAlso reference for JoltTransformRecord
This closes #8660

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-17 15:00:53 -05: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
EndzeitBegins 63fa036818 NIFI-12853 Refactor FlowFilePrioritizer using updated Java APIs
Signed-off-by: Mike Moser <mosermw@apache.org>

This closes #8461
2024-04-15 19:49:13 +00: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
exceptionfactory 2d9943e2d3
NIFI-13042 Support Python 3.12 for Python Processors
This closes #8644.

- Updated Controller.py main function to join non-daemon threads avoiding RuntimeError on Python 3.12
- Replaced deprecated find_module method with find_spec
- Updated documentation to include support for Python 3.12

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-04-14 20:47:51 -07: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
Pierre Villard cc7af91f97
NIFI-13025 Removed custom validation from NifiRegistryFlowRegistryClient
- NiFi Registry REST API enforces TLS handshake requirements

This closes #8629

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-12 10:05:24 -05: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
lehelb 419a9cc73b
NIFI-12890: Refactor HadoopDBCPConnectionPool to extend AbstractDBCPConnectionPool
This closes #8619.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-04-11 21:45:31 +02: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
Mark Bathori 8b39a65d5d NIFI-12614: Create record reader service for Protobuf messages
This closes #8250.

Signed-off-by: Tamas Palfy <tpalfy@apache.org>
2024-04-10 19:07:46 +02: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