Commit Graph

2783 Commits

Author SHA1 Message Date
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
exceptionfactory c335de8dbe
NIFI-13012 Upgraded Apache Tika from 2.9.1 to 2.9.2
This closes #8613.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-04-09 08:38:34 +02:00
Mark Payne 2ad9db18db
NIFI-12959: Support loading Python processors from NARs
This closes #8573

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-05 15:55:03 -05: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
Mark Payne 3a03caa149
NIFI-12969: Fixed a typo in the #isTempDestinationNecessary method, where we were comparing existingConnection.getProcessGroup() to newDestination.getProcessGroup(), instead of comparing existingConnection.getDestination().getProcessGroup() to newDestination.getProcessGroup(). I.e., we were comparing the Destination's PG to the Connection's PG instead of comparing Destination's PG to Destination's PG. This resulted in using a temporary funnel when we shouldn't. And as a result it attempted to change a Connection's Destination while the destination was running.
This closes #8600.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-04-03 16:37:08 -07: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
tpalfy 3a29d72a7c
NIFI-12994 Fix potential NPE when requesting Flow Analysis Results for a Process Group
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8595.
2024-04-03 00:04:53 +03: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
exceptionfactory 64db927ca1
NIFI-12965 Upgraded Guava from 32.1.2 to 33.1.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8577.
2024-03-28 10:32:31 +01: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
Pierre Villard 82e11df835
NIFI-12909 Upgraded Nimbus JOSE+JWT from 9.33.0 to 9.37.3
This closes #8518

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-03-15 15:41:01 -05: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
tpalfy c093ea54b7
NIFI-12862 When building FlowAnalysisRuleViolationDTO objects (in StandardNiFiServiceFacade), violating component details will be left blank when user has no read permission for that component.
NIFI-12862 Expose subjectComponentType to frontend.

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

This closes #8475.
2024-03-14 18:31:07 +01:00
James Mingardi-Elliott 06c0113063
NIFI-12870 Semantic colors (#8480)
Next step to color theming

Update theming to reference colors semantically

Material and Canvas palettes are reordered so that in all cases they go from 50 = lightest / least amount of color to 900 = darkest / most amount of color applied.

Usage of color has been changed so that Material's primary, accent, and warn values are used by semantic reference of 'default', 'lighter' and 'darker' rather than explicit number values.

The Canvas palettes still have values referenced directly because they are a special case.

Added SASS utilities:
- To help ensure color contrast for text and backgrounds by checking for a 4.5:1 contrast ratio.
- To provide helper functions that somewhat replicate Material designs approach to Surface and On Surface concepts. This is how the same Canvas palettes can be used for light and dark modes.

Some minor tweaks to the styling of the flow canvas to bring custom NiFi components and the Angular Material components closer together visually.

Moved the Canvas theme declaration to a separate file so the Material themes can be more easily swapped out without needing to redeclare the Canvas themes.

This closes #8480
2024-03-13 17:29:29 -04:00
EndzeitBegins fabf6bf536
NIFI-12617 Set default nifi.web.https.host to localhost
This closes #8486

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-03-08 15:51:58 -06:00
James Mingardi-Elliott 2a9c4c5de9
NIFI-12720 BUG - Dark mode skeleton loader styles (#8465)
* NIFI-12720

Set an explicit background color for the skeleton-loader element so there is sufficient contrast to show the animation in both light and dark themes.

* NIFI-12720

Updates based on comments

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

Co-authored-by: Scott Aslan <scottyaslan@users.noreply.github.com>

---------

Co-authored-by: Scott Aslan <scottyaslan@users.noreply.github.com>
2024-03-06 18:12:27 -05:00
James Mingardi-Elliott cc64c7adc6
NIFI-12865 BUG - Checkboxes are inconsistently styled with primary or accent (#8472)
Updated all the checkboxes to use color="primary" to keep them consistent.

Revert "NIFI-12865 BUG - Checkboxes are inconsistently styled with primary or accent"

This reverts commit 5833cb1a39837b59de2c664c74c48a579234e284.

Removed Registry changes
2024-03-06 17:16:28 -05:00
James Mingardi-Elliott e2e54f2bc8
NIFI-12721 Button UX (#8464)
* NIFI-12721 Button UX

Updated all the dialog buttons to change them from stroked and raised to basic. This better aligns with Angular Material guidelines and should address the confusion between disabled and cancelled.

* NiFi-12721 incremental update

Changed the combo editor and editor components to use the flat button styles. Missed them before because I was looking for dialogs.

Also caught a style bleed with button:disabled that should be button.nifi-button:disabled and updated that.

* Consolidated the button.nifi-button:disabled rules

Also ran Prettier to improve markup in a few spots
2024-03-06 17:11:07 -05:00
David Handermann 26f5fa2be0
NIFI-11443 Route Python Framework Logging to SLF4J (#8407)
* NIFI-11443 Routed Python Framework Logging to SLF4J

- Changed Python logging to use standard output stream
- Adjusted Python logging format for simplified processing
- Updated PythonProcess to pipe standard error and standard output streams to reader
- Added Log Reader command with Virtual Thread for each Python Process
- Removed Python log properties from NiFi Properties configuration
2024-03-05 16:55:04 -05:00
Scott Aslan f9c1c3f042
[NIFI-12778] manage remote ports (#8433)
* [NIFI-12778] manage remote ports

* update last refreshed timestamp and loadedTimestamp

* address review feedback

* final touches

* address addition review comments

* formatDuration check isDurationBlank

This closes #8433
2024-02-29 16:09:32 -05:00
Rob Fellows 455159f6ac
[NIFI-12537] Open cluster/node dialog from Summary screen. (#8454)
* [NIFI-12537] - Summary screen cluster-related features

* common component status table

* cluster summary dialogs

* address review feedback

* ellisis for node columns in cluster dialogs, cluster node dropdown panel no longer wraps, shorted the dropdown width as well.

* prettier

This closes #8454
2024-02-29 16:08:47 -05:00
Rob Fellows 1cb0a53711
[NIFI-12848] - fixed ExpressionChanged error in Status History dialog (#8455)
* color the legend text to match the color of the corresponding line in the chart for each node

This closes #8455
2024-02-28 16:17:33 -05:00
Mark Payne ae423fc6ba
NIFI-12832 Removed unnecessary dependencies from nifi-mock
- Moved StandardValidators to nifi-api
- Moved URL creation method from UriUtils to URLValidator
- Separated FormatUtils into FormatUtils and DurationFormat classes
- Added DurationFormat to nifi-api

This closes #8442

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-23 15:13:21 -06:00
Matt Gilman 6c76ecadd4
NIFI-12807: Handle clustering in Provenance, Lineage, and Queue Listing (#8431)
* NIFI-12807:
- Handling cluster node id in provenance listing, lineage graph, and queue listing.

* NIFI-12807:
- Addressing review feedback.

This closes #8431
2024-02-21 11:20:49 -05:00