2501 Commits

Author SHA1 Message Date
Mark Payne
212763dd79
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.
Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-04-03 16:38:22 -07:00
Mike Moser
23dc121e97
NIFI-12987 fix unit test after change to make controller service type searchable
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8594.
2024-04-02 18:39:41 +03:00
Mike Moser
e070753f39
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:34:18 +03:00
Zoltan Kornel Torok
711a646197
NIFI-12929: Fix logout infinite redirect loop in case of knox
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8546.
2024-03-25 14:28:34 +01:00
exceptionfactory
90b8ce168c
NIFI-12926 Upgraded Jackson from 2.16.2 to 2.17.0
This closes #8538

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit 6b061452e6bbaa6b43561239072bc2b0e0247fe3)
2024-03-20 20:14:07 -05:00
EndzeitBegins
4e1e2612c3
NIFI-12503 Render from-data in swagger.json and RestAPI docs correctly
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8485.
2024-03-19 08:54:18 +01:00
Mark Payne
9ca8bfc752
NIFI-12232 Corrected Group Component ID Handling for Clustered Flows
Ensured that if a Process Group doesn't have a Versioned Component ID we use the ComponentIdLookup to create one based on its Instance ID in the same way that is done when serializing the flow; this ensures matching ID's when we synchronize flows across the cluster. Also included some code cleanup around failure handling on startup

This closes #8432

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-20 15:38:08 -06:00
Peter Turcsanyi
3baf052aae
NIFI-12769 Updated copyright year to 2024 in NOTICE file headers
This closes #8385.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-09 14:24:40 -07:00
exceptionfactory
cbfc47d460
NIFI-12695 Enabled PKCE Support for OIDC Integration
- Added Spring Security PKCE OAuth2 Request Customizer to standard Resolver

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

This closes #8324.

(cherry picked from commit 547f338147f4c48d9612ce4e7a6d52e0d8714f7f)
2024-02-01 08:37:04 -06:00
Mark Bean
b73f553f2b
NIFI-12699 Set timeout to 10 seconds for TestStandardFlowFileQueue.testListFlowFilesResultsLimitedCollection
This closes #8330

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit e031e7e7a2f1e9f4d5dcae3eb6700c2b4babcd65)
2024-02-01 08:08:48 -06:00
Pierre Villard
65c33d08aa
NIFI-12662-RC1 prepare for next development iteration 2024-01-25 16:18:10 +04:00
Pierre Villard
6ecc398d3f
NIFI-12662-RC1 prepare release nifi-1.25.0-RC1 2024-01-25 16:17:58 +04:00
Nissim Shiman
7f0cedf6b6
NIFI-12387 Initialize Controller Service Comments with Empty String
The empty string allows controller service configuration to be saved without flow
configuration history recording a configuration change for comments.

This closes #8275

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 2e3f83eb54cbc040b5a1da5bce9a74a558f08ea4)
2024-01-24 20:01:27 -06:00
Freedom9339
073a84b4f3 NIFI-8606 Added Disable & Configure button to the Controller Services Details dialog
This closes #7562

Signed-off-by: Mike Moser <mosermw@apache.org>
2024-01-19 20:36:07 +00:00
Timea Barna
62ff15a838
NIFI-12506 Added Threading for Status Analytics Retrieval
This closes #8251

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-19 10:50:57 -06:00
NissimShiman
45713f6eec
NIFI-11389 Fixed controller services's link to referencing controller (#8194)
services of lesser scope

This closes #8194
2024-01-16 11:42:52 -05:00
Pierre Villard
c2098447a7 NIFI-12567 - Prevent NPE in CuratorLeaderElectionManager.getLeadershipChangeCount
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #8203
2024-01-04 17:19:33 -05:00
exceptionfactory
e7f0efb999 NIFI-12524 Fixed null handling for auditing Connect Details
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2024-01-02 13:52:52 -05:00
Matt Gilman
e8e547a00c
NIFI-12481: Filtering out unauthorized registry clients to avoid unhandled error (#8147)
* NIFI-12481:
- Filtering out unauthorized registry clients to avoid unhandled error.

* NIFI-12481:
- Using es5 syntax.

This closes #8147
2023-12-21 12:54:53 -05:00
David Handermann
db919bc494
NIFI-12418 Corrected Provider Groups Missing in Refreshed Tokens (#8126)
- Updated OidcBearerTokenRefreshFilter to maintain current Identity Provider Groups when generating refreshed application Bearer Tokens
- Refactored LoginAuthenticationToken to remove unnecessary optional constructors and use java.time.Instant for expiration
- Added Issuer Provider with implementation for Bearer Token Issuer based on host and port properties
2023-12-18 12:12:16 -05:00
annanys23
bbf327fa27
NIFI-11308 Added nifi.framework.version System Property for EL
- Updated Expression Language Guide to note the available system property providing the current framework version according to the Framework NAR version

This closes #8101

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 93c9efe527e16313a79c954d02f1613c39ba6493)
2023-12-18 08:47:45 -06:00
exceptionfactory
98b0ceffd8
NIFI-12516 Corrected String.isEmpty() check for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-12-15 13:57:53 -06:00
Mark Payne
b3fb0b2713
NIFI-12516 Corrected Cluster Replicated Response Headers for HTTP/2
The headers in the map that come back when replicating a request used to be in the case given; however they can be lowercased in the OkHttp Headers object when using HTTP/2 instead of HTTP/1.1. As a result, we need to ensure that we always use lower-case header names or check the map case-insensitive.

This closes #8163

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 231dbde4b30bfea5b711169fe6f125c9279ec450)
2023-12-15 13:49:50 -06:00
Shane Ardell
d8ac6bf8f9 This closes #7810
NIFI-12088: recalculate hidden property fields when new service is created

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
2023-12-13 12:55:56 -05:00
Peter Turcsanyi
0661c45585
NIFI-12483 Corrected String and Predicate API calls for Java 8
Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2023-12-09 13:28:22 +01:00
exceptionfactory
a05f0f86ae
NIFI-12483 Streamlined JMX Metrics Filtering Parameters
- Added bean name filter processing and added test cases

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

This closes #8134.
2023-12-07 16:00:01 +01:00
Matt Gilman
aa575de6e2
NIFI-12470: Fixing forEach callback for usage with Object.entries() to address layout issue in Status History (#8121)
* NIFI-12470:
- Fixing forEach callback for usage with Object.entries() to address layout issue in Status History.
- Using es5 syntax.

This closes #8121
2023-12-07 08:29:54 -05:00
Pierre Villard
7fedb49a9a
NIFI-12362-RC5 prepare for next development iteration 2023-11-23 11:03:53 +01:00
Pierre Villard
5241f43482
NIFI-12362-RC5 prepare release nifi-1.24.0-RC5 2023-11-23 11:03:47 +01:00
exceptionfactory
bc4104525e
NIFI-12392 Corrected Component Documentation NAR Unpacking
- Corrected component documentation directory comparison for finding bundled documentation in a JAR
- Added unit test for unpacking of component documentation from JAR included in NAR

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

This closes #8052.
2023-11-20 14:56:06 +01:00
Zoltan Kornel Torok
4e38e28d05 NIFI-12383 Replication client should handle accept encoding with lowercase
Signed-off-by: Bence Simon <bsimon@apache.org>
This closes #8043
2023-11-17 10:30:10 +01:00
Bryan Bende
ac2a5afb20
NIFI-12368 Clear versionedComponentId for copied Snippets
This closes #8025

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 1cc346b63d0ecea1d0b2e9079a0f31c15f035b6d)
2023-11-16 17:47:31 -06:00
exceptionfactory
0a67620c0c
NIFI-12358 Corrected syntax for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-11-15 17:07:48 -06:00
Mark Payne
a78c478721
NIFI-12358 Fixed NPE in HostHeaderHandler
Fixed NPE in ThreadDumpTask

This closes #8032

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit b5c3e6f9aae9791b749ba3d908ce1b6672ee2124)
2023-11-15 16:59:59 -06:00
Paulette Hines-Cross pliszle
885445ccb5
NIFI-12107 Fixed sorting in the cluster table
This closes #7923

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 93d373f037c353b95f8ad502dec8768fc5e780bc)
2023-11-13 08:41:52 -06:00
Bryan Bende
1818d433d6
NIFI-12323 Removed String Length Limits from JSON Flow Configuration
- Configured StreamReadConstraints on the ObjectMapper used by StandardDataFlow

This closes #7985

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 940c9276c5ca345739e89ab20db09011a2b6f326)
2023-11-07 09:03:51 -06:00
exceptionfactory
f92e23f3e5 NIFI-12305 Optimized Regular Expression patterns
- Updated SampleRecord range validation to split on comma and validate individual ranges
- Updated AccessPolicyEndpointMerger to restrict the set of characters matched

Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-11-05 19:25:11 -05:00
exceptionfactory
7e0976490a
NIFI-12293 Standardized HTTP error response messages (#7957)
- Updated ExceptionFilter and AuthenticationFilter with standard messages

This closes #7957

(cherry picked from commit 97dd543c6a850f1076b05c7a9bcc28d37e184d5b)
2023-11-03 14:27:24 -05:00
exceptionfactory
e24d3bc3d7
NIFI-12294 Corrected generics usage in NarUnpackerTest for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-11-02 10:56:05 -05:00
exceptionfactory
6c0a82ebd7 NIFI-12294 Standardized NAR Entry Loading (#7958)
- Consolidated duplicative NAR file entry normalization
2023-11-01 14:10:56 -04:00
exceptionfactory
f37b77f64c
NIFI-12287 Standardized skipping Source and Javadoc for NAR modules
- Added nar-packaging and war-packaging profiles to root Maven configuration
- Removed individual properties from NAR module configurations

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

This closes #7947.

(cherry picked from commit 2366132e92951a8fc27097c777d3104a1c396f7b)
2023-10-31 14:35:54 -05:00
exceptionfactory
fa06894556
NIFI-12288 This closes #7950. Improved Long and Integer handling in Utilities
- Added explicit round in FormatUtils.makeWholeNumberTime()
- Removed unnecessary boxing in component descriptors
- Maintained long number tracking for releasable counts in Wait and Notify Processors

Signed-off-by: Joseph Witt <joewitt@apache.org>
(cherry picked from commit ae14738dead33ca20dc2e779f5157118ee2b228f)
2023-10-28 12:12:17 -05:00
annanys23
a9e05ff473
NIFI-5137 Fixed the path to Controller Service grid item's state
This closes #7833

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 6daf0abfd4ce56c1a1285f68af050e02b36fa6f4)
2023-10-21 20:08:41 -05:00
markobean
0e806a19a1
NIFI-11874: update process group configuration dialog UI, specific to nifi-1.x line (#7844)
This closes #7844
2023-10-20 14:48:46 -04:00
Matt Gilman
2c019bb985
NIFI-11909 Cleared Password field after login
- Clearing the password in the login form when login fails or unable to verify access once authentication succeeds.

This closes #11909

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 97dfe2d812a9fa8b0fcc2b1d0b7f352f656b530e)
2023-10-19 13:42:11 -05:00
exceptionfactory
1a2d769e82
NIFI-12219 Added Xodus Flow History Storage with Migration (#7885)
- Added EntityStoreAuditService implementation using JetBrains Xodus libraries
- Added FlowConfigurationHistoryMigrator for checking and migrating H2 databases containing Flow Configuration History to Xodus persistent store implementation
2023-10-18 10:48:05 -04:00
Bryan Bende
d9e1c931c7
NIFI-12222 Fix StandardVersionedComponentSynchronizerTest for support branch
This closes #7888

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-10-16 18:55:28 -05:00
Bryan Bende
eaa2c8d7de
NIFI-12222 Protect against missing parameter context when syncing a PG in component synchronizer (#7877) 2023-10-16 13:19:10 -04:00
Joe Gresock
1cb7614b0b
NIFI-12122 Corrected TestFlowController references
- Adjusted XmlFlowSynchronizer method invocation for backported changes

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-10-13 22:26:04 -05:00
Zackeus Bengtsson
387c22b22c
NIFI-12122 Fixed persistence of Parameter Context descriptions
Fixed bug where parameter context descriptions were not loaded on NiFi startup and overwritten as empty

This closes: #7787

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0a47157640c1502a0379a7f66d764d2d7d344872)
2023-10-13 18:39:55 -05:00