8513 Commits

Author SHA1 Message Date
exceptionfactory
0ecd15537e
NIFI-11532 Removed JUnit 4 and Groovy Test from default dependencies
- Removed hamcrest-all from default dependencies
- Added groovy-test to selected modules with Groovy test classes
- Added junit-vintage-engine to selected modules with JUnit 4 test classes
- Corrected references to JUnit 4 assertions in JUnit 5 test classes
- Removed several unnecessary test classes from nifi-socket-utils
- Removed duplicative Registry toolkit test classes
- Removed Kudu integration tests

Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #7233

(cherry picked from commit ca6c7f704164e922e11d72e7c972a50ac46e6b0e)
2023-06-13 15:22:40 -05:00
Emilio Setiadarma
8c1a8ab8ec
NIFI-11642 Updated PutSNS using AWS SDK 2
This closes #7362

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 31e1c17d44651d1d3743286ba14a55a1f7fe29cb)
2023-06-13 14:32:09 -05:00
Paul Grey
99610f09a4
NIFI-11553 Add Record handling and more Properties for GCP PubSub
- Added Message Derivation Strategy to PublishGCPubSub with FlowFile and Record options
- Added API Endpoint property to PublishGCPPubSub and ConsumeGCPubSub
- Added Batch configuration properties

This closes #7274

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 336b857442109e1f2c8b3b6108106514609159f5)
2023-06-13 11:09:18 -05:00
exceptionfactory
e5474f7d22 NIFI-11679 Refactored EncryptedRepoContentAccessIT Configuration (#7369) 2023-06-13 11:07:09 -04:00
exceptionfactory
65436cb829 NIFI-11680 Corrected Buffer Size Calculation for Connection Balancing (#7370)
- Resolved BufferOverflowException in PeerChannel with Bouncy Castle Provider
- Changed prepareForWrite() to use Destination Buffer remaining instead of Application Buffer Size
- Changed encrypt() to Packet Buffer Size instead of Application Buffer Size
2023-06-13 11:02:02 -04:00
Mark Payne
b85063cb81
NIFI-11681: Terminate Process Sessions before interrupting processor threads
This closes #7371

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 787e0d82614e345b5afbef6691c418c43cf0ab08)
2023-06-13 08:24:33 -05:00
Mark Payne
125e456a64 NIFI-11471: Added a system test to verify controller service enable timeout.
This closes #7242.
2023-06-12 14:51:48 -04:00
David Young
7f1dd9c960 NIFI-11471: Define new stateless configuration points
Add two new properties:

  nifi.stateless.component.enableTimeout
  nifi.stateless.processor.startTimeout

to allow configuring the StatelessEngine and ProcessScheduler.

This allows an operator to configure what kind of startup time the flow can
tolerate.

Previously these values were hard coded.
2023-06-12 14:51:32 -04:00
Paul Grey
f6e1b526c9
NIFI-11672 Adjusted ListSFTP to handle incomplete File Types
- Modified file handling to include both REGULAR and UNKNOWN File Types returned from an SFTP server

This closes #7365

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 45e8226f89be9b954f870ce00807eab80dfb6a0d)
2023-06-12 11:26:12 -05:00
Mark Payne
181b287b1d
NIFI-11670 Refactored Content Repo OutputStream to create new Claim per FlowFile
Rather than creating many FlowFiles with the same Content Claim, refactored content repos' OutputStreams and ClaimWriteCache so that a new ContentClaim is created for each FlowFile. This ensures that we have a content claim offset of 0. The poor performance was due to having to use StreamUtils.skip() in conjunction with the CipherInputStream, which would only skip a max of 511 bytes at a time. By using a separate Content Claim per FlowFile, we no longer need to seek after creating the CipherInputStream

This closes #7363

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 702c6350344e4ae4cd31349747e96c1384017ed4)
2023-06-12 10:23:29 -05:00
Joe Witt
ec757b7694
NIFI-11654 updating docker files 2023-06-11 20:59:40 -04:00
Joe Witt
edc9e40582
Merge branch 'NIFI-11654-RC1' into support/nifi-1.x 2023-06-11 20:45:15 -04:00
exceptionfactory
728b07b30f
NIFI-11675 Upgraded Apache Commons IO from 2.12.0 to 2.13.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #7366.
2023-06-11 15:46:29 +02:00
exceptionfactory
3f9c2bd97c
NIFI-11674 Upgraded Apache Iceberg from 1.2.1 to 1.3.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #7364.
2023-06-11 15:44:19 +02:00
mr1716
58f3d5248a
NIFI-11664 Upgraded WebDriverManager from 3.3.0 to 3.8.1
This closes #7359

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 02a34034fad62def07e8a885273820e11c395888)
2023-06-08 16:19:25 -05:00
mr1716
bc175fb011
NIFI-11665 Upgraded oauth2-oidc-sdk from 9.43.1 to 9.43.3
This closes #7358

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 054df20aed41810755934becd71799e0f2e14026)
2023-06-08 16:19:25 -05:00
Matt Burgess
7884d934bd
NIFI-11655 Fixed float and double handling in GenerateRecord
This closes #7356

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 5e6f3abdd2c57fe2a8b81cdf2c97e7f1b9a0132e)
2023-06-08 16:19:24 -05:00
Mathew Kiprop
46295756ca
NIFI-11667 Provide default NiFi version when building dockerhub image
Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>

This closes #7361
2023-06-08 20:42:25 +01:00
exceptionfactory
39b063f49e
NIFI-11629 This closes #7327. Added Socket Write Timeout to InvokeHTTP
Signed-off-by: Joe Witt <joewitt@apache.org>
(cherry picked from commit ec525b0437f6369a7dca56b9818475385d0d03a6)
2023-06-08 11:05:22 -05:00
exceptionfactory
5450831547 NIFI-11666 Added Exception to Error Log for ModifyCompression
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-06-08 11:17:28 -04:00
Matt Burgess
e872c26178 NIFI-11647: Support UUID type in DataTypeUtils.getSQLTypeValue
This closes #7355

Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2023-06-08 11:14:19 -04:00
siddr
9cd238059a
NIFI-11648 Upgraded archetype-packaging from 2.2 to 3.2.1
This closes #7345

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 119e6702a4b86c2f4c1a0f6268d02385f6976da8)
2023-06-07 15:23:20 -05:00
Nandor Soma Abonyi
45c73e6b76
NIFI-11659 Removed unnecessary Jackson 1 dependencies
This closes #7354

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 10a2815527ea24d3b3160e114613534eba106598)
2023-06-07 15:05:43 -05:00
siddr
4bdf6b9338 NIFI-11587: Update questdb to 6.7
This closes #7319
Signed-off-by: Bence Simon <bsimon@apache.org>
2023-06-07 09:41:54 +02:00
Joe Witt
f1d5a8c4de
NIFI-11654-RC1 prepare for next development iteration 2023-06-06 12:32:00 -07:00
Joe Witt
71e3ea9f2c
NIFI-11654-RC1 prepare release nifi-1.22.0-RC1 rel/nifi-1.22.0 nifi-1.22.0-RC1 2023-06-06 12:31:58 -07:00
Joe Witt
15ebf56a08
NIFI-11654 removing extraneous tag 2023-06-06 10:10:25 -07:00
exceptionfactory
6a7a91f0fa
NIFI-11653 This closes #7349. Added Connection URL Validation for Database Services
Signed-off-by: Joe Witt <joewitt@apache.org>
2023-06-06 09:39:58 -07:00
mr1716
40889f0037
NIFI-11649 Upgraded icu4j from 72.1 to 73.1
This closes #7346

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit d956ede743342adea50ff31c17ea046c8fdd8bd4)
2023-06-06 10:42:42 -05:00
mr1716
8f48f3adb0
NIFI-11651 Upgraded OkHttp from 4.10.0 to 4.11.0
This closes #7347

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 6c2983daf3d1836e132efa51764e04c38cc75f07)
2023-06-06 10:32:59 -05:00
mr1716
3b1ec2abe7
NIFI-11652 Upgraded Jolt from 0.1.7 to 0.1.8
This closes #7348

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit e6c2c7c7eebbc1c63b4aa609fa04409efd481ac8)
2023-06-06 10:32:59 -05:00
Joe Witt
691da641ee
NIFI-11645 correct mistaken accumulo version ref after pulling guava changes in 2023-06-05 15:20:29 -07:00
exceptionfactory
580b3a61aa
NIFI-11548 Upgraded Apache Tika from 2.7.0 to 2.8.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #7247.
2023-06-05 15:00:11 -07:00
exceptionfactory
52e2f0ccd6
NIFI-11160 Upgraded Apache Tika from 2.6.0 to 2.7.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #6938.
2023-06-05 14:59:09 -07:00
Matt Burgess
ea35e61333
NIFI-11646: This closes #7343. Deprecate Lua and Ruby script engines
Signed-off-by: Joe Witt <joewitt@apache.org>
2023-06-05 14:52:32 -07:00
exceptionfactory
6d00ce4fe5
NIFI-11645 This closes #7342. Upgraded Guava from 31.1 to 32.0.0
Signed-off-by: Joe Witt <joewitt@apache.org>
2023-06-05 14:52:00 -07:00
exceptionfactory
8278f0a3bf
NIFI-11641 This closes #7340. Upgraded Netty from 4.1.92 to 4.1.93
Signed-off-by: Joe Witt <joewitt@apache.org>
2023-06-05 14:35:27 -07:00
Emilio Setiadarma
a963434a8c
NIFI-11549 Added AzureQueueStorage_v12 Processors
- Deprecated GetAzureQueueStorage and PutAzureQueueStorage

This closes #7269

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit b11373af7b017f83c3b579c6aefc7cb7a1816bfd)
2023-06-05 16:28:07 -05:00
Shane Ardell
70bb41ec95 NIFI-11593: Fix hiding logic for properties (#7339)
* NIFI-11593: fix hiding logic for properties with references or without dependent values

* NIFI-11593: remove arrow functions

Merged #7339 into main.
2023-06-05 13:38:59 -07:00
dependabot[bot]
27f8a23b75
NIFI-11644 Upgraded Hazelcast from 4.2.7 to 5.3.0
This closes #7282

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 88d7b3905b7a5888daab29a8285f755defc7214b)
2023-06-05 14:50:55 -05:00
Matt Burgess
9949f079e1 NIFI-11567: Auto-reload database file in GeoEnrichIP processors (#7266)
NIFI-11567: Auto-reload database file in GeoEnrichIP processors
2023-06-05 13:54:38 -04:00
siddr
dfeb446230
NIFI-11640 Upgraded download-maven-plugin from 1.2.1 to 1.6.8
This closes #7337

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0cd511f1aa1074e002fad8cccce96f8ca25971db)
2023-06-05 11:35:53 -05:00
exceptionfactory
7d057e9ef5 NIFI-11630 Deprecated ECMAScript Script Engine
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #7329
2023-06-05 11:58:24 -04:00
Bryan Bende
64b110c292
NIFI-11464 Improvements for importing nested versioned flows (#7218)
* NIFI-11464 Improvements for importing nested versioned flows
- Introduce FlowSnapshotContainer to return root snapshot + children
- Introduce ControllerServiceResolver to extract logic from service facade
- Update resolution logic to correctly consider all services in the hierarchy
- Merge additional parameter contexts and parameter providers from child to parent
- Add unit test for controller service resolver
- Replace use of emptSet/emptyMap with new set/map instance
2023-06-05 10:34:10 -04:00
Peter Turcsanyi
5d4ced2f22
NIFI-11586 Added AzureStorageCredentialsControllerServiceLookup_v12
Also added client caching in blob v_12 processors which was needed to support multiple credentials provided by the new lookup service

Backported
This closes #7300

Signed-off-by: Nandor Soma Abonyi <nsabonyi@apache.org>
(cherry picked from commit 963518d943c75c8d053834be51c2947470767229)
2023-06-05 13:15:01 +02:00
siddr
d3395bbb7b NIFI-11639: Update maven-checkstyle-plugin to 3.3.0
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-06-03 15:59:28 -04:00
dan-s1
e7b573e4e2
NIFI-11613 Corrected WebUtilsTest with lenient mocking
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-06-03 12:40:49 -05:00
siddr
eb925ba46b
NIFI-11626 Upgraded maven-source-plugin from 3.2.1 to 3.3.0
This closes #7335

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 258db04f68bf683b0bf271582f8578f4d9f118ef)
2023-06-02 16:31:49 -05:00
dan-s1
9df77971d1
NIFI-11613 Refactored SanitizeContextPathFilterTest from Groovy to Java
- Moved Java tests from groovy directory to java directory and removed groovy directory from nifi-web-utils

This closes #7333

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 27b5a2f931e10ce1f25351e8b1070924a3ece196)
2023-06-02 16:31:46 -05:00
mr1716
7f74abbbe1
NIFI-11633 Upgraded MariaDB client from 3.1.3 to 3.1.4
This closes #7330

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 852ec9eefc283062d2a8d19a52d74d0a8a002a1f)
2023-06-02 15:12:02 -05:00