Commit Graph

9653 Commits

Author SHA1 Message Date
Bryan Bende a20c5d9dff
NIFI-13073 Changed Flow Version from int to String
- Updated user interfaces to support String version numbers
- Also updated new UI to clear out the buckets and flows when selections change 'above' them in the form when importing from registry

This closes #8674

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-26 11:39:26 -05:00
Greg Foreman 9098c013f2
NIFI-12300 Add OAuth2 Support to RestLookupService (#8462)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-25 23:50:42 -05:00
Rob Fellows 0311bff213
[NIFI-13053] Cluster page (#8685)
* [NIFI-13053] - Cluster Node Table/Page
* Node listing

* System Listing

* Jvm Listing

* FlowFile Storage listing

* Content and Provenance Repo Storage listings

* Version listing

* review feedback

* only attempt to load system diagnostic info for cluster node view if the user has the proper permission.

* Move Cluster Summary loading/polling to the navigation component.

* restore user state resetting when users component is destroyed.

* reset state on cluster component destroy and reset system diagnostic state when user loses permission to it while on the cluster page.

This closes #8685
2024-04-25 14:53:24 -04:00
David Handermann 335f08e5a4
NIFI-5302 Add Support for Client Credentials Flow with OIDC (#8532)
* NIFI-5302 Added Support for Client Credentials Flow with OIDC
- Added JwtDecoder implementation supporting delegation based on Issuer
* NIFI-5302 Added Client Credentials Grant Type section to OIDC docs
* NIFI-5302 Replaced deprecated OkHttp3ClientHttpRequestFactory
2024-04-25 12:33:32 -04:00
Matt Gilman 36bf498340
NIFI-13094: About dialog (#8698)
* NIFI-13094:
- Adding the about dialog.
- Adding favicon.

* NIFI-13094:
- Addressing review feedback.

This closes #8698
2024-04-25 12:25:22 -04:00
Scott Aslan 7bb6eebf2e
[NIFI-13096] restore box-shadows for dark mode (#8699)
This closes #8699
2024-04-25 08:51:33 -04:00
knguyen1 b6d044853c
NIFI-12885 Added Record Methods for Local and Offset Dates (#8502)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-24 23:23:54 -05:00
Pierre Villard bb44ffe357
NIFI-13050 Add bundle dependencies info in NiFi Registry UI
This closes #8651

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-24 23:09:02 -05:00
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
Ferenc Kis 4b5b7ac2bb
NIFI-13088 Populate missing parameter context ids in MiNiFi flows.json.raw
Signed-off-by: Ferenc Erdei <erdei.ferenc90@gmail.com>
This closes #8692.
2024-04-23 15:07:37 +02:00
Lucas 49862d5342
NIFI-12986 Remove depreciation warning from ProcessSession.commit
Explain advantage of commitAsync in ProcessSession

This closes #8683

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-04-22 15:37:03 -07: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 b81203aac2
NIFI-13070 Upgraded Netty from 4.1.108 to 4.1.109
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8667.
2024-04-19 19:52:37 +08: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
exceptionfactory 805ba9a867
NIFI-13066 Upgraded Bouncy Castle from 1.77 to 1.78.1
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8664.
2024-04-19 19:48:10 +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
Pierre Villard 5eccc4c7e7
NIFI-13048 Added Build Info and NiFi API version for bundles to Registry
This closes #8649

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-17 11:46:27 -05:00
Ferenc Kis 6eff8a9262
NIFI-13045 Support Bootstrap Listen Port property in MiNiFi
This closes #8648

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-17 10:27:20 -05: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