2526 Commits

Author SHA1 Message Date
exceptionfactory
5a55bc4a55
NIFI-12120 This closes #7784. Removed Obsolete Framework Integration Tests
- Removed integration tests from org.apache.nifi.integration in nifi-framework-core

Signed-off-by: Joseph Witt <joewitt@apache.org>
2023-09-24 15:52:58 -07:00
Pierre Villard
18ab14b148
NIFI-12103 Replaced deprecated usage of new URL(String)
This closes #7771

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

(cherry picked from commit 2aca08910c4e06fff2c98d3794d9b5a3cd427988)
2023-09-23 10:35:14 -05:00
exceptionfactory
b32d75a3ce
NIFI-12086 Removed TemplateSerializerTest for jgit test removal
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-09-21 15:13:07 -05:00
Pierre Villard
96bbdfe97f
NIFI-12102 Fixed deprecation warnings when instantiating primitive types
This closes #7769

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 5405a3b08b8a20c5f65102b684b525a9a4f7c01c)
2023-09-21 13:42:11 -05:00
exceptionfactory
237892988a
NIFI-12086 This closes #7757. Removed unused jgit dependency from framework-core
Signed-off-by: Joseph Witt <joewitt@apache.org>
2023-09-20 14:30:03 -07:00
exceptionfactory
ca05da490a
NIFI-11595 Backported StateMap.getStateVersion() for StateProviders
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-09-20 14:17:00 -05:00
Joe Witt
bf0bb81361
NIFI-11903 disable if windows (#7566) 2023-09-19 14:05:35 -07:00
Peter Turcsanyi
e07bb19233
NIFI-12075 Deprecated ComponentLog methods with Object[] and Throwable
- Updated component references to remove use of Object[] wrapping for log methods

This closes #7758

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-09-19 13:23:07 -05:00
Peter Turcsanyi
878d2e025f
NIFI-11595 StateProvider.replace() supports creating the initial state
- Extracted common logic from setState() and replace() into modifyState()
- Removed redundant code from createNode() because exceptions are handled on the caller side
- NodeExistsException and InterruptedException are handled in setState() and replace()
- Also used KeeperException's subclasses instead of KeeperException.code()

This closes #7324

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

(cherry picked from commit ac80b9d900221fedb59142e4a4802bf4ab2a17f4)
2023-09-19 12:32:03 -05:00
Zoltan Kornel Torok
bc3368b891
NIFI-12084: fix process group logging on support branch
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #7754.
2023-09-19 11:41:23 +02:00
Joseph Witt
5baaa2185f
NIFI-12066 a series of minor version bumps for key dependencies 2023-09-15 13:21:41 -05:00
Joseph Witt
1f149988c6
NIFI-12064 Upgraded Maven Plugin versions
This closes #7731

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

(cherry picked from commit a1fca9b44edb387c3673251d37f268264122d3eb)
2023-09-14 19:39:32 -05:00
exceptionfactory
ab67daf891
NIFI-12034 This closes #7729. Upgraded Apache Commons Compress from 1.23.0 to 1.24.0
Signed-off-by: Joseph Witt <joewitt@apache.org>
2023-09-14 13:32:24 -07:00
exceptionfactory
0862c105f0
NIFI-12060 This closes #7694. Removed Groovy Tests using Spock Framework
- Added org.spockframework to the list of banned dependencies
- Removed several other Groovy tests and associated build profiles

Signed-off-by: Joseph Witt <joewitt@apache.org>

(cherry picked from commit 98fa7d02904ab37a1bf696cce1421cff6569fa62)
2023-09-14 14:15:53 -05:00
Zoltan Kornel Torok
1e115b4fbb
NIFI-12048 Removed non-functional framework integration tests
This closes #7688

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-09-13 16:18:29 -05:00
Matt Burgess
af8128bb5c
NIFI-12010: Handle auto-commit and commit based on driver capabilities in SQL components
Signed-off-by: Arpad Boda <aboda@apache.org>

This closes #7663
2023-09-11 21:38:18 +02:00
Freedom9339
bcc3468a39 NIFI-10904 Changed the font color for drop down menus to avoid the app… (#7502)
* NIFI-10904 Changed the font color for dropdown menus to avoid the appearance of menu items being disabled

* NIFI-10904 Changed the CSS tag used to set the color of the dropdown menu text

* NIFI-10904 Used a new css class to set the color of dropdown options

* nifi-10904 Changed the css class for create/reference drop down menu items.

Merged #7502 into main.
2023-08-31 09:44:06 -07:00
exceptionfactory
9cd720ee20 NIFI-12001 Refactored CertificateUtils to separate modules
- Added nifi-security-cert for reusable components without dependencies
- Added nifi-security-cert-builder for certificate generation

NIFI-12001: Changes related to backporting
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-08-30 15:06:37 -04:00
Matt Burgess
1a9e972721 NIFI-11195: Fixed NiFi versions for backport 2023-08-29 15:43:06 -04:00
exceptionfactory
fec34036a5 NIFI-11195 Refactored Identity Mapping to nifi-security-identity
- Moved StringUtils from nifi-properties to nifi-property-utils
- Moved Peer Identity methods from CertificateUtils to specific Site-to-Site classes

Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #6977.
2023-08-29 15:43:06 -04:00
Mark Payne
24906dd20b
NIFI-11971: Ensure that when creating a new content claim that we always treat an existing claim length of -1 as 0, to ensure that we never add -1 to our offset
This closes #7631

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit baea7ffee943009f5bf178dedf7f6e0de5bfc9ae)
2023-08-21 12:07:52 -05:00
Freedom9339
1bec97542c NIFI-11303 Added a go-to entry on the right click context menu for th… (#7461)
* NIFI-11303 Added a go-to entry on the right click context menu for the provenance lineage tree to take you to the specified component in the graph

* nifi-11303 Removed unused variable.

Merged #7461 into main.
2023-08-21 09:42:36 -07:00
Mark Payne
af85aa976a
NIFI-11971: Ensure that if we do not write any bytes to a file after calling ProcessSession.write() that we set content claim's length to 0 when closing OutputStream; otherwise it remains -1, which causes issues, since the length will later be added to the offset to determine the position in the ste stream
This closes #7629

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 5e2a10c32834973ba2837c3bdf5963aab2aa92bc)
2023-08-21 08:26:23 -05:00
mr1716
f17e281267
NIFI-11955 Upgraded maven-clean-plugin from 3.2.0 to 3.3.1
This closes #7616

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0d119f6f394e26ba02123a6554a8f2dd56550af9)
2023-08-16 21:08:56 -05:00
Yolanda M. Davis
104af930d7
NIFI-11899 Correct Bulletin Metrics Registry to return latest Bulletins
This closes #7567

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit f8e3b9ebacb4d927ac6a4f9a3fee0eaaf2d9fd36)
2023-08-04 11:21:36 -05:00
Pierre Villard
1307a63eba
NIFI-11901 Added name and version subtitle in Processor Details view
This closes #7563

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 572e661d1271082f6a7aa7195853609127b83dec)
2023-08-04 11:17:18 -05:00
mr1716
d0a53e0fba
NIFI-11906 Updated nifi-resources description for consistency
This closes #7571

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 1fda6bca7ac31dac8614ed0477c01b5fbbeeb06b)
2023-08-03 13:03:07 -05:00
exceptionfactory
3c0b21907f
NIFI-11896 Corrected backported changes for QuestDB 6
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-08-03 11:50:33 -05:00
exceptionfactory
485ece3300
NIFI-11896 Corrected QuestDB Status Repository Shutdown handling
- Updated QuestDB Status Repository shutdown method to cancel scheduled tasks before immediate shutdown of Scheduled Executor Service
- Updated QuestDB Scheduled Tasks to include initial delay to avoid unnecessary execution when starting
- Updated QuestDB test class to minimize logging for QuestDB 7
- Improved logging and exception messages

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

This closes #7564.
2023-08-03 17:29:37 +02:00
exceptionfactory
27a690a30a NIFI-11832-RC3 prepare for next development iteration 2023-07-25 14:03:12 -05:00
exceptionfactory
b7792f03b7 NIFI-11832-RC3 prepare release nifi-1.23.0-RC3 2023-07-25 14:03:11 -05:00
exceptionfactory
c35df3edfd
NIFI-11853 Changed Embedded QuestDB Tests to use JUnit5 TempDir
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #7523.
2023-07-25 15:50:01 +02:00
Mark Payne
7b588fad17
NIFI-3065 When copying a PG, do not set the Log File Suffix if not already set
This closes #7522

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0eebf6b14ea6bfe230cc675577edf166019f5ef7)
2023-07-24 13:07:33 -05:00
Pierre Villard
ff6bfe5fcd
NIFI-11846 - Change version should not show keep existing parameter context
This closes #7517

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 969679e43b82af0b9d217c3b971b751b4ded3eb2)
2023-07-24 11:36:18 -05:00
Mark Payne
9bc119ca19
NIFI-11837: When determining whether or not a queue should exit 'swap mode' we need to look at the updated size of the queue after migrating data from swapped queue to active queue. Previously, we were looking at the size variable that was obtained from before the migration happened.
This closes #7506

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 8f5392dd114ab5daeed12c6792d8dd2eb75bc362)
2023-07-20 13:19:49 -05:00
Mark Payne
eb09df672b NIFI-11783: Fixed a bug in which a FlowFile split into multiple and then removed did not properly handle retries when one of the outputs was retried.
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-07-19 15:50:35 -04:00
Mark Payne
6854d9ba86
NIFI-11814 Optimized Cluster Replication Component status evaluation
When waiting for all controller services to reach the desired status in the ClusterReplicationComponentLifecycle component, return immediately if there are no services to wait for. Otherwise, request that referencing components not be included in the return value of the Controller Services

This closes #7493

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 7405dcb510d0740d7e0eaf3200ed2d8900f5b3f0)
2023-07-19 14:26:47 -05:00
mr1716
bccab62b7c
NIFI-11824 Upgraded JAX-RS API from 2.1 to 2.1.1
This closes #7490

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 779eea6453d3925b34f40a701b4697b3859bcb20)
2023-07-18 10:58:36 -05:00
exceptionfactory
1b0b37e6e4
NIFI-11781 Corrected OIDC Claim Identity Processing
- Added StandardOidcUserService supporting fallback claim names
- Updated StandardClientRegistrationProvider to use standard Subject claim
- Updated OIDC Security Configuration to use customized OidcUserService for claim handling

Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #7468.
2023-07-15 11:04:47 -04:00
Pierre Villard
00a6478c06
NIFI-11794 - Fix NPE + configure max attempts for Redis State Provider (#7473)
Signed-off-by: Otto Fowler<ottobackwards@gmail.com>

This closes #7473.
2023-07-14 18:46:22 +02:00
mr1716
6e2cd5f749
NIFI-11800 Upgraded icu4j from 73.1 to 73.2
This closes #7474

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 3f72032112dea901683e4cdaa8257a924a33f0e6)
2023-07-13 16:35:31 -05:00
Emilio Setiadarma
3649ade3c7
NIFI-11536 Corrected Keystore and Truststore auto-reloading
- Replaced Jetty KeyStoreScanner and custom TrustStoreScanner with shared StoreScanner
- New StoreScanner uses TLS Configuration to reload SSLContext instead of relying on Jetty SslContextFactory properties

This closes #7446

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit a85ef2c1f49780be93b49ec6cb077a61c8cc063e)
2023-07-10 11:08:22 -05:00
exceptionfactory
9161485f21
NIFI-11767 Replaced String.repeat() with StringUtils.repeat() for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-07-06 18:09:07 -05:00
dan-s1
c091eade00
NIFI-11767 Refactored Groovy tests in nifi-web-error and nifi-web-security to Java
This closes #7457

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

(cherry picked from commit d24318cdb8003925f9a5411bf20094a02b0c084a)
2023-07-06 16:32:28 -05:00
simonbence
2abd1c5092
NIFI-11769 Adding details on Registry Clients and Registrty Client types on UI (#7453)
Co-authored-by: Shane Ardell <shane.m.ardell@gmail.com>

Merged #7453 into main.
2023-07-01 20:58:38 +02:00
Bence Simon
5acbb8a702
NIFI-11706 Add option to create dedicated Parameter Contexts for Imported Flows
This closes #7401

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit cadf2fb6f25caf334bf787292380af5b25fdcbb1)
2023-06-30 13:15:41 -05:00
exceptionfactory
5a68069b8f
NIFI-11714 Added Error Handler to Jetty Server
- Configured Error Handler with Stack Traces disabled for NiFi and Registry

Signed-off-by: Joe Gresock <jgresock@gmail.com>

This closes #7447.
2023-06-29 16:46:40 -04:00
dan-s1
ce5eb85c1d
NIFI-11754 Refactored Groovy test in nifi-jetty to Java (and JUnit 5)
This closes #7442

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

(cherry picked from commit 2a7fa6d17b1807091659197c702a221825a30eeb)
2023-06-27 14:45:26 -05:00
dan-s1
207af04ea2
NIFI-11747 Refactored Groovy tests in nifi-web-api to Java (and JUnit 5)
This closes #7434

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

(cherry picked from commit 7748d9d1e5287c6b99c965ee0ed93ed154802def)
2023-06-26 15:23:24 -05:00
exceptionfactory
cb76a62a14
NIFI-3065 Corrected TestStandardLoggingContext for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-06-26 11:09:50 -05:00