Commit Graph

221 Commits

Author SHA1 Message Date
Scott Aslan 21f0ca47b0
[NIFI-13360] rename nifi theme to supplemental theme (#8926)
* [NIFI-13360] rename nifi theme to supplemental theme

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

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

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

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

---------

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

This closes #8926
2024-06-04 17:00:53 -04:00
Scott Aslan a9c01903ee
[NIFI-13361] determine extension description height base on $body-2 line-height configuration (#8927)
This closes #8927
2024-06-04 15:28:46 -04:00
Scott Aslan e22ca038ed
[NIFI-13331] set default table density to -4 for all listings in nifi (#8925)
This closes #8925
2024-06-04 15:07:55 -04:00
Scott Aslan 6206f0f008
[NIFI-13349] align angular material and tailwind typography (#8918)
* [NIFI-13349] align angular material and tailwind typography

* override default tailwind fontSize configurations to match up with angular material typography configuration

* cleanup duplicate style

* add text-3xl tailwind configuration

* update primary-node-only to use text-sm

* replace .refresh-container with text-sm

* add comments for $subtitle-2 material typography config

* adjust $subtitle-2 font size and line height

This closes #8918
2024-06-04 13:08:17 -04:00
Scott Aslan 3ef85e3347
[NIFI-13353] improve anchor tag hover state styles in dark mode (#8920)
This closes #8920
2024-06-04 10:56:21 -04:00
Scott Aslan 89f153aad8
[NIFI-13355] move view cluster details and view flow configuration details into action kebab menus (#8921)
This closes #8921
2024-06-04 08:58:32 -04:00
Matt Gilman e142341ceb
NIFI-13337: (#8915)
- Adjust column widths of the queue listing table.
2024-06-03 19:30:21 -05:00
Matt Gilman 210e0b1655
NIFI-13350: (#8912)
- Allowing parameters to be edited in New Parameter Context dialog.
- Ensuring the proper tab is selected in the Parameter Context dialog based on the current usage.

This closes #8912
2024-06-03 17:04:46 -04:00
sujkm f9aefc2d5e
NIFI-11078: Adds Component UUID to Flow Configuration History Table (#8909)
This closes #8909
2024-06-03 16:24:40 -04:00
Scott Aslan 30a44464f7
[NIFI-13325] update dark mode theme density to match light mode (#8904)
* [NIFI-13325] update dark mode theme density to match light mode

* remove density from nifi themes as only colors are used from this theme

This closes #8904
2024-06-03 08:14:57 -04:00
David Handermann 5cf43f4a3c
NIFI-13307 Replaced KeyStoreUtils with nifi-security-ssl Builders (#8895)
- Removed unused test classes from nifi-web-api
2024-05-31 15:51:17 -04:00
Ferenc Erdei c12842fc83
NIFI-13309 Lookup compatible bundles even if previous flow was empty
Signed-off-by: Ferenc Kis <briansolo1985@gmail.com>

This closes #8888.
2024-05-31 10:37:05 +02:00
dan-s1 86d36d2327
NIFI-13265 Removed instantiation of Object arrays for log arguments
This closes #8896

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-30 17:17:33 -05:00
Matt Gilman 983f209083
NIFI-13321: (#8901)
- Fixing the mocking of child components in unit tests.
- Removing any provided dependency that is no longer needed.

This closes #8901
2024-05-30 17:05:27 -04:00
Scott Aslan e66c1643d1
[NIFI-13246] move actions from details columns into menu (#8900)
* [NIFI-13246] move actions from details columns into menu

* move View Documentation menu option lower

This closes #8900
2024-05-30 16:54:22 -04:00
Scott Aslan 732b587561
[NIFI-13234] update unauthorized canvas component colors (#8902)
* [NIFI-13234] update unautorized canvas component colors

* restore web font loader to ensure positions of canvas text is calculate correctly

This closes #8902
2024-05-30 15:21:34 -04:00
Rob Fellows a8ba9e99c4
[NIFI-13312] - Restructure as an Nx monorepo (#8893)
* [NIFI-13312] - Restructure as an Nx monorepo

* restored lint:fix functionality, updated package-lock

This closes #8893
2024-05-30 09:57:06 -04:00
Shane e3cf0a67bc
NIFI-13289 add tooltips to NewCanvasItem (#8870)
This closes #8870
2024-05-29 19:34:26 -04:00
Matt Gilman 2cd4624825
NIFI-13299: (#8894)
- Adding min validators where appropriate.

This closes #8894
2024-05-29 16:23:15 -04:00
Matt Gilman 0660616864
NIFI-13284: (#8891)
- Only saving canvas routes that are not edit or history.

This closes #8891
2024-05-29 14:36:49 -04:00
Rob Fellows dbc786095c
[NIFI-13269] - Order parameter reference list alphabetically (#8885)
* [NIFI-13269] - Order parameter reference list alphabetically

* ran prettier:format to address minor code style issue

* update nfpr and nfel to sort combo entries the same as the combo entries in the property table (case insensitive)

This closes #8885
2024-05-29 14:25:39 -04:00
Rob Fellows 82cd1e5ef0
[NIFI-13303] - Remove text indicating property verification is disabled. (#8884)
This closes #8884
2024-05-29 09:01:37 -04:00
Matt Gilman ffa5e8473d
NIFI-13285: If there is no transform to restore for the current viewport, executing a zoom fit (#8874)
* NIFI-13285:
- If there is no transform to restore for the current viewport, executing a zoom fit.

* NIFI-13285:
- Adjusting the canvas position styles and zoom fit calculations.

This closes #8874
2024-05-28 20:29:04 -04:00
Matt Gilman f0e1cdcb22
NIFI-12967: Introducing Back action (#8859)
* NIFI-12967:
- Adding support for navigating back to the users previous location in certain circumstances like going to a Controller Service, managing access policies, going to parameters, viewing documentation, opening advanced UIs, and viewing data provenance.
- Cleaning unnecessary instances of postUpdateNavigation.

* NIFI-12967:
- Updating the implementation to leverage router events and router state to simplify needed changes.

* NIFI-12967:
- Conditionally resetting or popping back navigation history because on routing context.

* NIFI-12967:
- Adding support for navigating back from queue listing and provenance.

* NIFI-12967:
- Conditionally applying the back navigation following a component update.

* NIFI-12967:
- Adding back from CS service listing.

* NIFI-12967:
- Adding back from Go To CS.
- Restoring some space in the context menu.

* NIFI-12967:
- Prevent duplicate entries in the back navigation stack.

* NIFI-12967:
- Not executing pop through navigation extras because it can result in multiple pops if the user uses their back/forward browser buttons. Instead, always popping until we encounter a back navigation that is still within a route boundary.
2024-05-28 15:57:16 -04:00
Matt Gilman 94b6e424b3
NIFI-13290: (#8871)
- Manually closing dialogs with proper result in Navigation lifecycle to ensure back/forward browser button works correctly. This change also handles any scenario when a user routes away from a dialog via a link or go to action so we were able to remove the dialog close action form those places.
2024-05-28 12:39:08 -04:00
Matt Gilman 90dee66101
NIFI-13286: (#8872) - Conditionally reloading the child PG or current PG when emptying all queues based on the context of the request.
This closes #8872
2024-05-28 09:21:31 -04:00
Matt Gilman e1920dace0
NIFI-13270: (#8877) - Persisting the select tab index
This closes #8877
2024-05-28 09:01:37 -04:00
exceptionfactory fa8dc4f1a0
NIFI-13295 Removed Apache Knox SSO Authentication
This closes #8876

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-25 13:10:36 -07:00
exceptionfactory 43cc2b4aaa
NIFI-13297 Removed Kerberos SPENGO Authentication
This closes #8879

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-25 12:47:38 -07:00
Scott Aslan 969b332fb0
[NIFI-13245] address component name overflow in provenance details di… (#8845)
* [NIFI-13245] address component name overflow in provenance details dialog

* address content tab column spacing

* use padding appropriately to ensure no overflow text

* restore vertical spacing

This closes #8845
2024-05-23 13:34:30 -04:00
Scott Aslan 62d5502bba
[NIFI-13207] page headers and refresh containers are consistently pos… (#8804)
* [NIFI-13207] page headers and refresh containers are consistently positioned between pages

* pad error banner

* display hint below form fields to follow material spec, updating padding/spacing accordingly

* revert access policies template

* remove unused MatHint

* access policy status as hint and center align hints

* use margin bottom on error banner and more spacing improvements

* update hint spacing in a few more use cases

* remove extra padding from bottom of nifi cluster table filter component

* collapse hint height when no text to display

* update padding for input form field placeholder padding

* use margins instead of padding

* final touches

This closes #8804
2024-05-23 13:19:03 -04:00
Rob Fellows 7951b4be80
[NIFI-13247] - Property Verification (#8857)
* [NIFI-13247] - Property Verification
* Added map-table providing a property-table-like component for simple key/value pairs.

* add missing license headers

* address review feedback

* update to leverage themed code-mirror styles

This closes #8857
2024-05-22 14:49:28 -04:00
Matt Gilman a971f94015
NIFI-13278: (#8862)
- Ensure 3rdpartylicenses.txt is included in resulting build artifact.
2024-05-22 12:28:14 -04:00
Scott Aslan a963c2ce45
[NIFI-13276] improve property editor to handle large amounts of text (#8866)
This closes #8866
2024-05-22 11:08:48 -04:00
Scott Aslan ac023db555
[NIFI-13280] hide flash of textarea when opening nf-editor (#8865)
This closes #8865
2024-05-22 11:07:40 -04:00
Scott Aslan 3467f6d1d5
[NIFI-13257] codemirror light and dark mode theme (#8855)
* [NIFI-13257] codemirror light and dark mode theme

* update non matching parameter or EL function a red color to signify it is not matching

This closes #8855
2024-05-22 07:45:10 -04:00
Rob Fellows f625d4c6c1
[NIFI-13277] - Make the main menu more compact in terms of spacing. (#8861)
This closes #8861
2024-05-21 15:15:28 -04:00
David Handermann 2a4d1de6c1
NIFI-13275 Removed web.xml from nifi-web-frontend (#8858)
This closes #8858
2024-05-21 13:42:21 -04:00
Matt Gilman 3a78575b9a
NIFI-12968: Simplify login sequence (#8843)
* NIFI-12968:
- Remove usage of Access-Token-Expiration
- No longer attempt SPNEGO auth
- Leverage authentication configuration to drive log in/out URIs
- Remove Login/Logout servlet filters
- Remove usage of access configuration and access status
- Fixing broken unit tests

* NIFI-12968:
- Only rendering the user identity when the user is not anonymous.
- Fixing an issue where the fallback route would render when redirecting the user to an external SSO log in.
- Using the login supported flag to render the log in link.

* NIFI-12968:
- Addressing review feedback.

This closes #8843
2024-05-21 08:42:19 -04:00
dan-s1 24b13d7a3e
NIFI-13250 Replaced deprecated method withRelyingPartyRegistration
This closes #8847

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-20 15:27:14 -05:00
Scott Aslan 093393a4ab
[NIFI-13260] enforce selected border even when component has color applied (#8846)
This closes #8846
2024-05-18 09:01:25 -04:00
David Handermann 226ac9671f
NIFI-13232 Add Authentication Configuration REST API method (#8834)
* NIFI-13232 Added Authentication Configuration REST API method

* NIFI-13236 Moved logoutSupported from Configuration to Current User

* NIFI-13232 Added externalLoginRequired field

This closes #8834
2024-05-17 17:50:09 -04:00
Rob Fellows 60112f242c
[NIFI-13226] - Support changing color of processors and labels (#8836)
* [NIFI-13226] - Support changing color of processors and labels

* style the processor icon for better support cross-themes

This closes #8836
2024-05-16 17:38:15 -04:00
Rob Fellows 439851fa6e
[NIFI-13233] - Fix for overflow issues on change version dialog (#8837)
* [NIFI-13233] - Fix for overflow issues on change version dialog

* adjust sizing/spacing between columns per feedback

* remove unnecessary overflow-hidden classes

This closes #8837
2024-05-16 13:43:54 -04:00
David Handermann 2a08586450
NIFI-13236 Corrected Content-Disposition Filename for Downloads (#8840)
- Added encoding method for handling filenames with non-ASCII characters

This closes #8840
2024-05-15 15:57:55 -04:00
Rob Fellows 0ef121493a
[NIFI-13241] - extend CloseOnEscpaeDialog in dialogs previously missing it (#8833)
* [NIFI-13241] - extend CloseOnEscpaeDialog in dialogs previously missing it

* extend CloseOnEscapeDialog in a few more instances

This closes #8833
2024-05-15 14:38:33 -04:00
Rob Fellows c794943c5b
[NIFI-13243] - support cancel response in CloseOnEscapeDialog (#8838)
This closes #8838
2024-05-15 14:37:41 -04:00
Bryan Bende 35a7e87432
NIFI-13235 Corrected REST API Import Process Group ID Reference
Use the PG id from the entity because component may be null if current user does not have READ permissions

This closes #8831

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-15 06:55:22 -05:00
Pierre Villard ee179f4acf
NIFI-13238 Added Checkstyle rules for whitespace
This closes #8832

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-15 06:41:19 -05:00
Rob Fellows 63a12b06b5
[NIFI-13197] - Clicking outside of a dialog no longer closes the dialog (#8811)
* [NIFI-13197] - Clicking outside of a dialog no longer closes the dialog. Also, escape will only close the dialog if the underlying form is not dirty.

* add license header

* allow ESC to close even if the for is dirty

This closes #8811
2024-05-14 18:24:33 -04:00
Matt Gilman 3a786cee23
NIFI-13211: Decoupling other UIs from exiting NiFi UI (#8828)
* NIFI-13211:
- Decoupling the content viewer from the NiFi UI which is currently pulling in shared dependencies, scripts, styles, and images.

* NIFI-13211:
- Decoupling nifi documentation from the NiFi UI which is currently pulling in shared dependencies, scripts, styles, and images.

* NIFI-13211:
- Decoupling nifi image viewer from the NiFi UI which is currently pulling in shared dependencies, scripts, styles, and images.

* NIFI-13211:
- Decoupling nifi standard content viewer from the NiFi UI which is currently pulling in shared dependencies, scripts, styles, and images.

* NIFI-13211:
- Decoupling nifi jolt transform json from the NiFi UI which is currently pulling in shared dependencies, scripts, styles, and images.

* NIFI-13211:
- Decoupling nifi update attribute from the NiFi UI which is currently pulling in shared dependencies, scripts, styles, and images.

* NIFI-13211:
- Updating rat config.

* NIFI-13211:
- Bumping dependency check timeout.

* NIFI-13211:
- Since this page is included through the context viewer, the dependency imports must directly reference through its context path.

* NIFI-13211:
- Since this page is included through the context viewer, the dependency imports must directly reference through its context path.

This closes #8828
2024-05-14 15:54:23 -04:00
Rob Fellows d20fa9417d
[NIFI-13229] - Include branch when submitting to save version control endpoint. (#8830) 2024-05-14 13:11:21 -04:00
Rob Fellows 7aaa5b4224
[NIFI-13221] - display supported shortcut/hotkey combos in context menu (#8821)
This closes #8821
2024-05-14 09:59:14 -04:00
dan-s1 92ed464f5d
NIFI-13223 Replaced deprecated commons-lang3 classes with commons-text versions
Replaced commons-lang3 CharSequenceTranslator, AggregateTranslator, LookupTranslator and UnicodeUnpairedSurrogateRemover with commons-text replacements.

This closes #8824

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-13 17:01:47 -05:00
Rob Fellows 13e281d8d7
NIFI-13220 Only allow buckets with write access dropdown when starting version control
This closes #8820

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-13 10:54:59 -05:00
Rob Fellows 0c9ef91507
NIFI-13127 Add branching support to Registry dialogs
This closes #8817

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-13 08:48:40 -05:00
Joseph Witt 03005aa132
NIFI-13185 Removed manual and non-working Integration Tests
Removed the entire integration-tests-ci profile and reference in GitHub workflow.

Removed all tests which require specific local env configs/cloud credentials/ or simply do not work and thus have been blocked from the build for a long time.

Set Disabled annotation on a couple key tests which are by design manual and must be retained.

The move to testcontainers has been a dramatic improvement in test reliability/behaviors and should be a model for all such tests going forward.

This closes #8818

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-11 20:51:41 -05:00
Scott Aslan 74731b5a59
[NIFI-13212] handle canvas overflow on shorter screens (#8810)
* [NIFI-13212] handle canvas overflow on shorter screens

* add z-index to drag/drop new canvas items

This closes #8810
2024-05-10 17:49:46 -04:00
exceptionfactory 1c2469bf33
NIFI-13213 Added Validation for Swap File Names
This closes 8812

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-10 12:31:15 -07:00
Mark Payne 62fbd8e8b1
NIFI-13196: Added new isAutoTerminated(Relationship) method to ProcessContext, which simply delegates to Connectable.isAutoTerminated(Relationship)
This closes #8790

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-10 11:37:47 -07:00
Scott Aslan 94a968766f
[NIFI-13153] use ellipsis for long component names in dialogs (#8802)
* [NIFI-13153] use ellipsis for long component names in dialogs

* use basis-1/2

* overflow-hidden

* remove basis-1/2 and use w-1/2 with padding

This closes #8802
2024-05-10 13:40:43 -04:00
Scott Aslan 6b48e61295
[NIFI-13177] ensure consistent typography rendering (#8786)
* [NIFI-13177] ensure consistent rendering of component type, name, and icon

* ensure font-size consistency with .refresh-container and .mat-mdc-paginator

* attempt at unifying how component context is displayed (#6)

* use drop icon by default

* final touches

---------

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

This closes #8786
2024-05-10 11:58:52 -04:00
Matt Gilman dcf66fd105
NIFI-13204: (#8798)
- Adding the Enable/Disable All Controller Service context menu items.

This closes #8798
2024-05-10 09:55:39 -04:00
Joseph Witt d1a9043167
NIFI-13193 Set Minimum Maven Version to 3.9.6
- Upgraded Maven plugins
- Upgraded SpotBugs from 4.7.3.5 to 4.8.5.0
- Upgraded asciidoctor-maven-plugin from 2.2.4 to 3.0.0
- Upgraded license-maven-plugin from 2.2.0 to 2.4.0
- Upgraded download-maven-plugin from 1.7.1 to 1.9.0
- Upgraded maven-clean-plugin from 3.3.1 to 3.3.2
- Upgraded frontend-maven-plugin from 1.14.2 to 1.15.0
- Upgraded hisrc-higherjaxb40-maven-plugin from 2.1.1 to 2.2.0
- Upgraded jacoco-maven-plugin from 0.8.11 to 0.8.12
- Upgraded swagger-maven-plugin-jakarta from 2.2.20 to 2.2.21
- Upgraded swagger-codegen-maven-plugin from 3.0.52 to 3.0.55

This closes #8797

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-10 08:05:14 -05:00
Mark Payne 9cf5f947e8
NIFI-13200: Do not allow 'filename' or 'path' attribute to removed from FlowFile
This closes #8791

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-09 16:22:49 -07:00
Matt Gilman 8b2e770ebd
NIFI-13060: Using ellipsis and normal line height in the property table (#8792)
* NIFI-13060:
- Using ellipsis and normal line height in the property table.

* NIFI-13060:
- Setting title attribute.

This closes #8792
2024-05-09 18:20:48 -04:00
David Handermann e005d5f8c1
NIFI-13195 Corrected Replicated Request Header Removal for HTTP/2 (#8789)
- Added findHeaderName method to look for header names regardless of casing

This closes #8789
2024-05-09 18:02:44 -04:00
EndzeitBegins 53207a20a0
NIFI-12857 Simplified implementation of QueuePrioritizer and added tests
This closes #8466

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-09 15:08:49 -05:00
Matt Gilman 326df914bc
NIFI-13175: Updating dialog layout and sizes to prevent a double scroll bar on smaller screen sizes (#8779)
* NIFI-13175:
- Updating dialog layout and sizes to prevent a double scroll bar on smaller screen sizes. Now the dialog content is set to 50vh and content scrolls as needed.

* NIFI-13175:
- Removing some unneeded padding.

* NIFI-13175:
- Fixing double scroll bar issues in non tabbed dialogs.

* NIFI-13175:
- Fixing double scroll bar issues in more non tabbed dialogs.

* NIFI-13175:
- Renaming dialog content style in status history to avoid conflicting with new general style.

This closes #8779
2024-05-09 14:41:06 -04:00
Bryan Bende 7cd1a30948
NIFI-13105 Implemented FlowRegistryClient using GitHub for versioning
This closes #8765

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-09 13:38:05 -05:00
Scott Aslan 4c68691faf
[NIFI-13061] replace actions with menu (#8766)
* [NIFI-13061] replace actions with menu

* Manage Access Policies for all menus

* short Go To menu option text

* align text formatting for menus

* View Clustered Details

* View User Policies menu now uses Manage Access Policies

* hide menu when action clicked

* Manage User Policies

This closes #8766
2024-05-09 08:20:25 -04:00
Scott Aslan a61bf2afc2
[NIFI-13183] add drop shadow to connections to increase visibility on… (#8778)
* [NIFI-13183] add drop shadow to connections to increase visibility on top of colored labels in both light and dark mode

* review feedback

This closes #8778
2024-05-09 08:19:16 -04:00
Rob Fellows a840c14c84
[NIFI-13158] - Fix: need to prevent/diable keyboard hotkeys when a dialog is open or when typeing in the search bar. (#8781)
This closes #8781
2024-05-08 18:45:23 -04:00
Matt Gilman 63cc1c3af6
NIFI-13176: (#8780)
- Relaxing the scale that triggers when details for components on the canvas are not rendered.

This closes #8780
2024-05-08 18:27:02 -04:00
Scott Aslan 6950290c24
[NIFI-13162] horizontal and vertical canvas component alignment (#8762)
* [NIFI-13162] horizontal and vertical canvas component alignment

* review feedback

* rename to updatePositionRequestId

* use enum

* use the appropriate generic type and separate components and connections updates

* use enum

This closes #8762
2024-05-08 15:07:42 -04:00
Scott Aslan fc8f072e0a
[NIFI-13165] hide resize handle is status history when insufficient h… (#8768)
* [NIFI-13165] hide resize handle is status history when insufficient history

* hide last updated/refresh button when insufficient history

* Update nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.html

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

---------

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

This closes #8768
2024-05-08 14:08:22 -04:00
Scott Aslan 43aca6597e
[NIFI-13117] update label resize handle to match other resize handles and replace comments indicator with icon (#8774)
This closes #8774
2024-05-08 11:51:41 -04:00
Rob Fellows 0f39428209
[NIFI-13158] support for keyboard shortcuts (#8770)
* removed aliasing of 'this' from canvas.component.ts
* removed aliasing of 'this' from canvas-utils.ts
* reuse common actions between operation and context menu

This closes #8770
2024-05-08 11:33:53 -04:00
Scott Aslan 45098ed859
[NIFI-13174] increase drag/drop preview hieght to not display scroll bar (#8769)
This closes #8769
2024-05-08 10:46:10 -04:00
Matt Gilman eda98121ce
NIFI-13155: (#8771)
- Handling newer revisions in flow reducer to ensure that the appropriate version of the component is saved in case responses are received out of order.

This closes #8771
2024-05-08 09:57:58 -04:00
Joseph Witt 0ab5e2f741
NIFI-13179 Upgraded oauth2-oidc-sdk from 9.43.4 to 11.10.1
This closes #8776

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-07 21:50:37 -05:00
Joseph Witt f0d0676518
NIFI-13178 Upgraded extension and framework dependencies
- Upgraded Apache Mina 2.1.8 to 2.2.3
- Upgraded unboundid-ldapsdk from 6.0.11 to 7.0.0
- Upgraded okhttp-digest from 2.7 to 3.1.0
- Upgraded reactor-netty-http from 1.0.44 to 1.1.18
- Upgraded jetbrains-annotations 13.0 to 24.1.0
- Upgraded reactor-core from 3.4.37 to 3.6.5
- Upgraded reactor-test from 3.5.16 to 3.6.5

This closes #8775

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-07 21:49:27 -05:00
exceptionfactory 09cf383f9b
NIFI-13167 Replaced Hamcrest Matchers with JUnit Matchers
This closes #8764

- Removed Hamcrest from set of default dependencies

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-07 10:21:57 -07:00
Matt Gilman 4bbe08fb55
NIFI-13164: (#8760)
- Moving from jsdom to happy dom for test environment execution.
- Removing test for the Documentation component that was failing because it was attempting to load an iframe with the nifi documentation that wasn't available.

This closes #8760
2024-05-07 11:33:58 -04:00
Bryan Bende e7567b04e2
NIFI-13120 Introduce branch as a concept in Registry Client and VCI
- Methods for getBranches, getDefaultBranch, and createBranch in flow registry client
- Add branch as a field to all relevant objects
- Add optional branch argument to REST API for retrieving buckets
- Add new REST API for retrieving branches for a given registry client
- Enforce NiFi Registry can only receive default branch

This closes #8726

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-07 08:44:33 -05:00
exceptionfactory 6b8c19c761
NIFI-13160 Support Skipping Frontend Unit Tests
This closes #8757

- Added frontend.skipTests property to nifi-web-frontend Maven configuration with default value of false
- Configured lint and unit-test execution goals to depend on frontend.skipTests
- Added paths-filter GitHub Actions step for conditional enabling of frontend tests

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-06 16:26:55 -07:00
Scott Aslan b87e9c8d9d
[NIFI-13142] configure typography (#8745)
* [NIFI-13142] configure typography

* remove Roboto Slab

* adjust letter spacing

* one font

* material theme

* update purple theme font to Comic Sans

* material theme

* align primary node indicator

This closes #8745
2024-05-06 16:47:32 -04:00
Matt Gilman e7facda912
NIFI-13141: (#8752) - Adding a dragging flag to not reset positioning for labels and connection bends if the user is currently performing an action.
This closes #8752
2024-05-06 16:15:15 -04:00
Joseph Witt 7540991a59
Revert "NIFI-12973 Add Process Group scope to Flow Analysis rules"
After commentary in the JIRA regarding UX and nifi-api considerations needing further discussion and resolution.

This reverts commit bc75ef108c.
2024-05-06 12:39:27 -07:00
tpalfy bc75ef108c
NIFI-12973 Add Process Group scope to Flow Analysis rules
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8682.
2024-05-06 20:26:34 +03:00
Matt Gilman b0ace45b55
NIFI-13147
Remove include-new-ui profile and include it by default always.
This closes #8749.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-06 09:53:52 -07:00
Joseph Witt 7a6c26fd96
NIFI-13144 improved depependency update config and various dependencies
com.puppycrawl.tools:checkstyle 10.15.0 -> 10.16.0
software.amazon.awssdk:xray  2.25.40 -> 2.25.45
com.amazonaws:aws-java-sdk-keyspaces  1.12.710 -> 1.12.715
com.azure:azure-sdk-bom  1.2.21 -> 1.2.23
com.google.cloud:libraries-bom  26.37.0 -> 26.38.0
net.bytebuddy:byte-buddy  1.14.12 -> 1.14.14
org.checkerframework:checker-qual  3.37.0 -> 3.43.0
org.eclipse.jdt:ecj  3.33.0 -> 3.37.0
com.microsoft.azure:msal4j  1.14.3 -> 1.15.0
com.google.guava:guava  33.1.0-jre -> 33.2.0-jre
com.ibm.icu:icu4j  74.2 -> 75.1
org.opensaml:opensaml-* 4.3.1 -> 4.3.2
org.apache.sshd:sshd-*  2.12.0 -> 2.12.1
com.nimbusds:oauth2-oidc-sdk  9.43.3 -> 9.43.4
excel-streaming-reader  4.2.1 -> 4.3.1
amqp-client 5.20.0 5.21.0
json-schema-validator 1.3.2 1.4.0
Saxon-HE 12.3 12.4
lucene 8.11.2 8.11.3
commons-compiler 3.1.10 3.1.12
dropbox.client.version 5.4.4 5.4.6
subethasmtp 7.0.1 7.0.2
docker-java-api 3.3.4 3.3.6
google-api-services-drive v3-rev20230520-2.0.0	v3-rev20240327-2.0.0
protobuf-java 3.25.1 3.25.3
hazelcast 5.3.5 5.3.7
jackson-datatype-protobuf 0.9.14 0.9.15
kusto-* 5.0.3 5.0.5
mysql-connector-j 8.3.0 8.4.0
docker-compose-junit-jupiter 2.0.0 2.3.0
bolt-socket-mode 1.37.0 1.39.0
wire-schema-jvm 4.9.3 4.9.9
mysql-binlog-connector-java 0.29.0 0.29.2
jjwt 0.12.3 0.12.5
reactor-core 3.4.34 3.4.37
reactor-test 3.5.14 3.5.16
jakarta.activation-api 2.0.1 (and 2.1.2) to 2.1.3
jakarta.mail-api 2.0.1 (and 2.1.2) to 2.1.3
datafaker 2.0.2 to 2.2.2
jna and jna-platform 5.13.0 5.14.0
activemq-* 6.1.1 6.1.2
camel-salesforce 3.14.9 3.14.10
commons-csv 1.10.0 1.11.0
hbase.version 2.5.5-hadoop3 2.5.8-hadoop3
httpasyncclient 4.1.4 4.1.5
httpcore-nio 4.4.12 4.4.16
iotdb 1.3.0 1.3.1
mina-core 2.1.6 2.1.8
gremlin-* 3.7.1 3.7.2
clojure 1.11.2 1.11.3
angus-mail 2.0.2 2.0.3
jgit* 6.8.0.202311291450-r 6.9.0.202403050737-r
javaassist 3.29.2-GA 3.30.2-GA
jline 3.25.1 3.26.1
mariadb-java-client	3.3.0 3.3.3
mongodb-driver-sync 4.11.1 4.11.2
neo4j-java-driver 4.4.12 4.4.16
postgresql 4.7.2 4.7.3
spring-data-redis 2.7.15 2.7.18
spring-integration-mail 6.2.1 6.2.4
spring-vault-core 3.1.0 3.1.1
xmlunit-core 2.9.1 2.10.0
xmlunit-matchers 2.9.1 2.10.0
amazon-kinesis-client 2.5.7 2.5.8
reactor-netty-http 1.0.39 1.0.44
ant 1.10.13 1.10.14
hamcrest-core and hamcrest-all 1.3 moved to just hamcrest 2.2

This closes #8746

Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>
2024-05-06 15:13:18 +01:00
Rob Fellows d5bfec7d7f
[NIFI-12802] - Update to use node 22 (#8744)
This closes #8744
2024-05-04 11:15:10 -04:00
Matt Gilman ab5025c652
NIFI-13140: (#8743)
- Cleaning up error handling in guards.

This closes #8743
2024-05-03 18:09:55 -04:00
Scott Aslan 3192bc85ef
[NIFI-13132] show banner error in import flow dialog when registry is… (#8737)
* [NIFI-13132] show banner error in import flow dialog when registry is configured but unreachable

* address review comments

This closes #8737
2024-05-03 16:31:43 -04:00
Scott Aslan 9ddf8ffdd0
[NIFI-13130] disabled autofocus for dialog with no form fields to prevent dialog from being focused on page refresh (#8742)
This closes #8742
2024-05-03 16:27:30 -04:00
Scott Aslan 0672bf3954
[NIFI-13091] only show selected relationships in read only connection details dialog (#8741)
This closes #8741
2024-05-03 15:56:19 -04:00
Scott Aslan b946465709
[NIFI-12903] style updates for drag/drop UX (#8729)
* [NIFI-12903] style updates for drag/drop UX

* restore nf-editor styles

* remove padding from new canvas items

* remove unused disabled

* no value set UX

* restore initial disabled state

This closes #8729
2024-05-03 15:50:36 -04:00
Matt Gilman 914e2b1057
NIFI-13136: Allowing users to unset optional property values (#8734)
* NIFI-13136:
- Allowing users to unset optional property values.
- Only selecting value and applying focus if it is not read only.

* NIFI-13136:
- Addressing review feedback.
- Adding styles to disabled editor input.
- Fixing show hint/autocomplete in production build.

This closes #8734
2024-05-03 15:18:27 -04:00
Rob Fellows 37937ffa15
[NIFI-13129] - Fix: selected prioritizer order is not honored when displayed in the UI (#8736)
This closes #8736
2024-05-03 14:09:20 -04:00
Rob Fellows 57f684de97
[NIFI-13134] - Support No Value Set in Edit Parameter Context. (#8733)
* [NIFI-13134] - Support No Value Set in Edit Parameter Context. [NIFI-13135] - Allow parameter table to be sortable by parameter name

* retain the valueRemoved setting when editing parameters

This closes #8733
2024-05-03 14:01:07 -04:00
Joseph Witt 52255ee813
NIFI-13108 Updated common and framework dependencies
- Fixed logging logic for tests vs runtime scope
- Restoring behavior to testProcessUnparsableRecordWithRawOutputWithCheckpoint that changed in NIFI-12998 presumably because of log dependency changes. Now that we have a single provider the test behavior appears to be back to normal.

- Upgraded AWS SDK 1 from 1.12.686 to 1.12.710
- Upgraded AWS SDK 2 from 2.25.16 to 2.25.40
- Upgraded Azure SDK BOM from 1.2.21 to 1.2.23
- Upgraded GCP Libraries from 26.34.0 to 26.37.0
- Upgraded Fabric8 Kubernetes Client from 6.10.0 to 6.12.1
- Upgraded Commons CLI from 1.6.0 to 1.7.0
- Upgraded Commons Codec from 1.16.1 to 1.17.0
- Upgraded zstd-jni from 1.5.6-1 to 1.5.6-3
- Upgraded Commons Text from 1.11.0 to 1.12.0
- Upgraded Test Containers from 1.19.4 to 1.19.7
- Upgraded JAXB Runtime from 4.0.4 to 4.0.5
- Upgraded JAXB API from 4.0.1 to 4.0.2
- Upgraded Jersey from 3.1.4 to 3.1.6
- Upgraded Log4j 2 from 2.23.0 to 2.23.1
- Upgraded Logback from 1.5.5 to 1.5.6
- Upgraded Mockito from 5.8.0 to 5.11.0
- Upgraded Swagger Annotations from 2.2.20 to 2.2.21
- Upgraded jsoup from 1.17.1 to 1.17.2
- Upgraded JUnit Platform Commons from 1.10.0 to 1.10.2
- Upgraded Checkstyle from 9.3 to 10.15.0
- Upgraded ASM from 9.6 to 9.7

This closes #8708

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-03 09:35:23 -05:00
Scott Aslan f7dc324701
[NIFI-13128] add missing caution-color to invalid input port (#8731)
This closes #8731
2024-05-03 10:07:21 -04:00
Scott Aslan 3f2c0a39db
[NIFI-13122] use accent color for checkbox on top of primary color (#8730)
This closes #8730
2024-05-03 10:06:17 -04:00
Matt Gilman 160c7ae24b
NIFI-13119: When evaluating dependent Properties, the UI should identify when the Property value is a parameter reference and resolve the value accordingly (#8724)
* NIFI-13119:
- When evaluating dependent Properties, the UI should identify when the Property value is a parameter reference and resolve the value accordingly.

* NIFI-13119:
- Requiring a value to be present when showing dependent property that doesn't require any specific value.

* NIFI-13119:
- Using error helper to get error string.

* NIFI-13119:
- Handle convert to parameter error scenario.

This closes #8724
2024-05-03 08:04:44 -04:00
Rob Fellows f87a0f47ef
[NIFI-13104] Unknown Route handling (#8725)
* [NIFI-13104] - Unknown route handling

* Add method to the ErrorHelper that safely gets an error string from an HttpErrorResponse object

* review feedback

* use errorHelper.fullScreenError in favor of directly calling the fullScreenError action

This closes #8725
2024-05-02 14:26:24 -04:00
Scott Aslan 9ac17833b8
[NIFI-13093] use warn palette for all errors and introduce caution palette (#8721)
* [NIFI-13093] use warn palette for all errors and introduce caution palette

* update semantic color names

* update warn palette darker hue

* import ErrorBanner component into cluster.component.spec.ts

* .primary-contrast

* some code clean up and reuse of .surface-contrast

* caution color cleanup

* update bulletin to use inverted contrast color and semantic caution-color class

This closes #8721
2024-05-02 09:47:07 -04:00
Matt Gilman f70967ec9e
NIFI-13111: Removing/Hiding unimplemented features in preparation for next milestone release (#8710)
* NIFI-13111:
- Removing/Hiding unimplemented features in preparation for next milestone release.

* NIFI-13111:
- Addressing review feedback.

 This closes #8710
2024-05-01 15:36:32 -04:00
Rob Fellows d487ce4eef
[NIFI-12763] - Theme mat paginator - unset the background color so it blends in with the theme. (#8722)
This closes #8722
2024-05-01 12:12:56 -04:00
Matt Gilman be4c003cd7
NIFI-13114: (#8713)
- Code clean up and removing TODO regarding enforcing isClustered to see the Primary Node indicator.

This closes #8713
2024-05-01 12:04:40 -04:00
Matt Gilman 2c43a706f8
NIFI-13112: (#8711)
- Fixing linking to non canvas items.
- Adding a tooltip to render search match details.

This closes #8711
2024-05-01 12:00:02 -04:00
Matt Gilman 0e373e9c21
NIFI-12833: (#8718)
- Reloading current user when any policy changes.
- Reloading the component for the policy whenever it's view permissions changes.

This closes #8718
2024-05-01 11:31:02 -04:00
Scott Aslan d1173b2f98
[NIFI-13115] update context menu, search results overalay, and nf edi… (#8714)
* [NIFI-13115] update context menu, search results overalay, and nf editor overlay to match angular material overlay styles

* use mat-elevation-z8 to match elevation of mat-menus

* update nf editor resize handle

* restore tooltip border width

This closes #8714
2024-05-01 08:25:34 -04:00
Matt Gilman 5a5947d1b0
NIFI-13110: (#8719)
- Auto-selecting the relationship when the source processor only offers a single relationship.

This closes #8719
2024-04-30 22:22:53 -04:00
Scott Aslan 280015749f
[NIFI-13095] surface and contrast improvements (#8707)
* [NIFI-13095] surface and contrast improvements

* [NIFI-12833] primary node icon light/dark mode styling

* [NIFI-13101] error page background color now matches light/dark theme

* update PG and RPG names to use the material palette contrast color

* update listing header text to use the material palette contrast color

* update draggable icon hover styles

* use surface contrast color for banners

* use nifi-surface-default

* update to use material primary contrast color for text displayed on top of material surfaces

* restore context menu border

* restore material theme

* fix selected listing table style

* remove unused themeing service

* remove more invalid files

* add even classes

* restore yes-no scss

* add even class to process-group-stats-in-out  and remote-process-group-received-stats

* update table hover and selection styles

This closes #8707
2024-04-30 16:24:50 -04:00
Matt Gilman 67b387e5c7
NIFI-13102: (#8704)
- Updating API error handling for Convert to Parameter and Empty Queue.

This closes #8704
2024-04-30 13:02:50 -04:00
Rob Fellows 658e83b7ec
[NIFI-13099] status history error handling (#8703)
* [NIFI-13099] - Error handling for Status History

* Error handling for current user

* Error handling for extension types

* Error handling for flow configuration

* Error handling for component state

* Error handling for cluster summary

* Error handling for System Diagnostics

* review feedback

* use SystemDiagnosticsActions.systemDiagnosticsSnackbarError

* review feedback

* review feedback

* use snackbar

This closes #8703
2024-04-29 16:56:38 -04:00
Matt Gilman a230eba67b
NIFI-13100: Updating API response error handling for canvas based actions (#8702)
* NIFI-13100:
- Updating API response error handling for canvas based actions.

* NIFI-13100:
- Stopping polling when change version and revert changes fails.

* NIFI-13100:
- Fixing formatting.


This closes #8702
2024-04-29 14:15:28 -04:00
Scott Aslan 7bf7e40317
[NIFI-13107] fix prettier issues (#8709)
This closes #8709
2024-04-29 11:35:27 -04:00
Matt Gilman a1610cf129
NIFI-13098: (#8701)
- Updating error handling in Global and Component Policy pages.

This closes #8701
2024-04-26 15:19:39 -04:00
Joseph Witt 42a4385c82
NIFI-12998 Restructured framework and extension modules
Simplified dependency management into Bill of Material dependencies as parents that align to classloader structures.

- Moved nifi-framework-bundle to root level
- Moved nifi-nar-bundle modules to root nifi-extension-bundles
- Added nifi-extension-bom for internal and external extensions
- Added nifi-framework-nar-bom and nifi-server-nar-bom for managing framework dependencies
- Renamed nifi-jetty-bundle to nifi-jetty-nar

This closes #8677

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-04-26 12:12:48 -05:00