223 Commits

Author SHA1 Message Date
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 bc75ef108c13cf5e75c4fbb20634c906f65c10d4.
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