882 Commits

Author SHA1 Message Date
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 2023-06-06 12:31:58 -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
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
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
Mark Payne
e75d78b3c3
NIFI-11603 Refactored Socket-based tests to use Dynamic Ports
- Removed NetworkUtils methods for getting available ports
- Updated Socket-based components to support using 0 to listen on a random available port for improved test reliability

This closes #7299

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 50811660d00b4bcfcb431f9897807352b947813a)
2023-06-01 13:34:27 -05:00
Pierre Villard
08cd14cfc4
NIFI-11620 Upgraded Google libraries-bom from 26.12.0 to 26.15.0
This closes #7321

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit d4f301f473f26cd4661fee13a1b7286f57b23bba)
2023-05-31 16:34:37 -05:00
Pierre Villard
cb144e266f
NIFI-11619 Upgraded Azure BOM from 1.2.11 to 1.2.13
This closes #7320

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 06b49cbc32f4b3e59075e42b82314c1947cfffe4)
2023-05-31 16:34:36 -05:00
Bryan Bende
5f5bf48d74
NIFI-11604 Improve handling of non-renewable tickets in AbstractKerberosUser
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #7301.
2023-05-31 15:14:15 +02:00
dan-s1
a75ec445f2
NIFI-11612 Refactored SocketUtilsTest from Groovy to Java
This closes #7310

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 818747d84b8bfca39211a277dbccf10bbbc30c7e)
2023-05-30 14:42:13 -05:00
dan-s1
26235ad537
NIFI-11611 Refactored TlsConfigurationTest from Groovy to Java
This closes #7309

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 2f8e5b27b074919837514ae22ce2d57fe3e76212)
2023-05-30 14:42:11 -05:00
Matthew Burgess
276cc5765b
NIFI-8326: Send records as individual messages in Kafka RecordSinks
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4901.
2023-05-24 10:43:57 +02:00
Mark Payne
82a55ebdd4
NIFI-11557: Avoid using the expensive and unnecessary Files.walkFileTree on startup and initialization of Content Repository. Also performed some code cleanup: IntelliJ flagged many warnings in the class, mostly around methods that are no longer used and potential NullPointerExceptions, so those were cleaned up. Additionally, removed the nifi property for max flowfiles per claim - this property was never implemented. It was referenced, but the way in which is was used curiously had nothing to do with what the property was intended to be used for or for how it was documented. Instead, it was used to limit the max number of claims that could remain writable. As a result, it was removed.
NIFI-11557: Added an additional system test and updated github actions to include surefire-report in order to help diagnose problem that occurred in one of the last system-test runs in Github. Could not replicate problem locally
2023-05-23 14:30:59 -04:00
dan-s1
e78cf08fd5
NIFI-11581 Refactored JSON Validator Test from Groovy to Java
This closes #7283

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit e77835758cd653e9a0d18d4e0c2be8661c99745c)
2023-05-23 10:03:41 -05:00
dan-s1
e33b40e08e
NIFI-11528 Refactored TestFormatUtilsGroovy to Java Parameterized Test
This closes #7248

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 57f5b518f8f6667d627c13be3e2265eefcbe9e75)
2023-05-23 09:26:20 -05:00
Emilio Setiadarma
e27d2bbb2e
NIFI-11531 Migrated tests in nifi-security-utils from Groovy to Java
- Adjusted Collection and StringUtils usage to work with Java 8

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

(cherry picked from commit c4f7251b23d13842618acee185e33cf6afa61317)
2023-05-17 13:49:42 -05:00
dan-s1
0923454ad6
NIFI-11550 Refactored QueryGroovyTest to TestQuery
This closes #7250

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit c382ab6f069fbb244c55ff9fdba2be160e3651a8)
2023-05-17 09:19:12 -05:00
Timea Barna
e1ddc44b07
NIFI-11385 Added JMX Metrics REST Resource for Diagnostics
This closes #7124

Co-authored-by: David Handermann <exceptionfactory@apache.org>
Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 5811a9c579a11aa8fc8358851df33d0456a5e10c)
2023-05-08 08:12:16 -05:00
Pierre Villard
c9cd18f6d5 NIFI-11502 - Upgrade json-path to 2.8.0
NIFI-11502 fixing unit tests
NIFI-11502 review

This closes #7208

Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2023-04-29 16:04:06 -04:00
Chris Sampson
e2067c4ea1 NIFI-10865 allow RecordPath's unescapeJson to convert de-serialised JSON Objects into Records
NIFI-10865 allow UpdateRecord to replace the Record root for relative paths, e.g. when a RecordPath function is used to modify selected field(s)

This closes #6708

Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2023-04-29 12:27:37 -04:00
Pierre Villard
cb5debc6dd
NIFI-11407 Upgraded Azure BOM from 1.2.9 to 1.2.11
- Added Woodstox Core to nifi-toolkit-encrypt-config

This closes #7136

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit a148b6f348ad4d7fd30dc7219d3e450550bc0e78)
2023-04-10 14:38:45 -05:00
Pierre Villard
5255d1bad3
NIFI-11417 Upgraded Caffeine from 2.8.1 to 2.9.3
This closes #7148

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-04-10 08:55:45 -05:00
Pierre Villard
b061e795a1
NIFI-11418 Upgraded bcrypt from 0.9.0 to 0.10.2
This closes #7149

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 2b06306b074b53b308ca1eb582238f15b690f9f7)
2023-04-10 08:54:17 -05:00
Pierre Villard
e0c70ca45b
NIFI-11410 Upgraded multiple integration dependencies
- Upgraded Spring Boot from 2.7.9 to 2.7.10

This closes #7141

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

(cherry picked from commit 0160d6d6b90ef2d2862d01520161b37d489e2669)
2023-04-10 08:53:20 -05:00
Pierre Villard
2b2d571b82
NIFI-11405 Upgraded multiple drivers and test dependencies
This closes #7134

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

(cherry picked from commit 4a0b38f4dd4b497fad3d071d99bfeae0fb15e3d8)
2023-04-07 16:49:44 -05:00
Pierre Villard
9ce2813367
NIFI-11406 Upgraded Google GCP from 26.4.0 to 26.12.0
- Upgraded Google Drive from Revision 20221219 to 20230306

This closes #7135

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 9149bd47c41dfa114b36a450de028f03d65028f7)
2023-04-07 16:47:46 -05:00
Joe Witt
9c27ddcb1c
NIFI-11357-RC2 prepare for next development iteration 2023-04-03 14:40:08 -07:00
Joe Witt
892f822107
NIFI-11357-RC2 prepare release nifi-1.21.0-RC2 2023-04-03 14:40:07 -07:00
krisztina-zsihovszki
b12572af20 NIFI-11367 Database DATE value displayed incorrectly in record output if timezone is GMT-X
This closes #7103.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2023-04-02 22:51:35 +02:00
exceptionfactory
d2cbec2613 NIFI-11363 Fixed precision number handling in Flow Encryption Commands
Signed-off-by: Bence Simon <bsimon@apache.org>
This closes #11363
2023-03-30 16:38:47 +02:00
exceptionfactory
6a5b8c39ef
NIFI-11356 This closes #7096. Upgraded Nimbus JOSE JWT to 9.31
- Upgraded NiFi Framework from 9.24.3
- Upgraded NiFi Registry from 8.20
- Upgraded transitive msal4j dependency from 9.22
- Upgraded transitive hadoop-auth dependency from 9.8.1

Signed-off-by: Joe Witt <joewitt@apache.org>
2023-03-28 14:23:07 -07:00
exceptionfactory
ff5a783943
NIFI-4890 Refactor OIDC with support for Refresh Tokens (#7013)
* NIFI-4890 Refactored OIDC with support for Refresh Tokens

- Implemented OIDC Authorization Code Grant Flow using Spring Security Filters
- Implemented OIDC RP-Initiated Logout 1.0
- Implemented OAuth2 Token Revocation RFC 7009 for Refresh Tokens
- Added OIDC Bearer Token Refresh Filter for updating application Bearer Tokens from Refresh Token exchanges
- Added configurable Token Refresh Window to application properties
- Removed original implementation and supporting classes

* NIFI-4890 Set Bearer Token expiration based on Access Token

* NIFI-4890 Corrected spelling and naming issues based on feedback

This closes #7013
2023-03-28 09:38:58 -05:00
Mark Payne
474e124667
NIFI-11341 Fixed OutputStream.close() handling for Content Claims
Fixed issue in StandardContentClaimWriteCache in which inner OutputStream class did not have an idempotent close() method; as a result, the stream could be written to while already in use for another active FlowFile; fixed bug in ContentClaimInputStream in which skip() method ignored its own BufferedInputStream - this was discovered because it was causing failures in StandardProcessSessionIT; fixed bug in StandardProcessSessionIT in which the length of StandardContentClaim was being doubled because the OutputStream was setting the claim length but that is already handled at a lower level.

This closes #7087

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-03-27 16:13:11 -05:00
dependabot[bot]
153089af39
NIFI-11338 Upgraded Spring Vault Core from 2.3.2 to 2.3.3
This closes #7083

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-03-23 19:50:12 -05:00
Joe Witt
fb31fcca54
NIFI-11329 Updated NAR Plugin to 1.5.0 and Commons Compress to 1.23.0
This closes #7077

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-03-23 12:32:43 -05:00
Peter Turcsanyi
22c072e619 NIFI-11323: Fixed last modified change detection of dynamicallyModifiesClasspath resources (#7069) 2023-03-22 09:16:18 -04:00
exceptionfactory
60749b1a75
NIFI-11277 Deprecated bcrypt and scrypt Properties Algorithms
- Deprecated 128 bit key variants of Sensitive Properties Algorithms
- Updated documentation to recommend either NIFI_ARGON2_AES_GCM_256 or NIFI_PBKDF2_AES_GCM_256

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

This closes #7040.
2023-03-14 12:46:14 +01:00
exceptionfactory
4d537951f5
NIFI-11161 Simplified KeyedCipherPropertyEncryptor
- Replaced KeyedCipherProvider references with direct Cipher instantiation

This closes #6939
Signed-off-by: Paul Grey <greyp@apache.org>
2023-03-13 11:32:16 -05:00
exceptionfactory
60365e7b6c
NIFI-11262 Corrected scope for bcprov-jdk18on in nifi-security-kerberos
Signed-off-by: Joe Gresock <jgresock@gmail.com>

This closes #7022.
2023-03-09 06:17:55 -05:00
dan-s1
2ace153a7d
NIFI-11156 Updated SchemaValidator to include error message for ValidateXml
- Restores behavior so that XML parsing failure details will be included in FlowFile error attribute from ValidateXml

This closes #6970

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-02-18 10:29:24 -06:00
Joe Witt
8300477ed1
NIFI-11103 preparing support/nifi-1.x line for any subsequent feature/maint releases starting with 1.21-snap 2023-02-09 15:40:01 -07:00
Joe Witt
896fdacbbd
NIFI-11103-RC1 prepare for next development iteration 2023-02-06 11:41:41 -07:00
Joe Witt
81296b5b69
NIFI-11103-RC1 prepare release nifi-1.20.0-RC1 2023-02-06 11:41:39 -07:00
Joe Witt
4f91420cc1
NIFI-11139 Updated multiple Maven Plugins
This closes #6925

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-02-03 16:07:02 -06:00
exceptionfactory
b3319c7119
NIFI-11141 This closes #6923. Upgraded Azure SDK BOM from 1.2.6 to 1.2.9
Signed-off-by: Joe Witt <joewitt@apache.org>
2023-02-03 14:01:32 -07:00
exceptionfactory
0c676b9633
NIFI-11022 Added DecryptContent Compatibility Processors
- Added nifi-cipher-bundle with nifi-cipher-nar for new Processors
- Added DecryptContentCompatibilityMode Processor supporting PKCS5 and PKCS12 Password-Based Encryption Schemes
- Added DecryptContentEncoded Processor supporting NiFi Key Derivation Functions and associated formatting
- Added nifi-security-crypt-key module with Key Derivation Functions and Parameter Readers
- Added Additional Details documentation for Processors

This closes #6821
Signed-off-by: Paul Grey <greyp@apache.org>
2023-01-26 17:56:02 -05:00
exceptionfactory
4fe2c318e6
NIFI-11091 This closes #6884. Upgraded Google libraries-bom from 25.4.0 to 26.4.0
- Upgraded Google Drive library to v3-rev20221219-2.0.0
- Corrected test encryption keys to match expected encoding

Signed-off-by: Joe Witt <joewitt@apache.org>
2023-01-25 10:00:00 -07:00
dan-s1
53371844a4
NIFI-11035 Replaced remaining JUnit 4 assertions in nifi-commons with JUnit 5
- Replaced Groovy asserts with JUnit 5 assertions and Groovy shouldFail method Junit 5 with assertThrow method

This closes #6880

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-01-24 15:30:53 -06:00
exceptionfactory
4b97936d38 NIFI-10932 Changed PKCS12 KeyStore Type Provider to SunJSSE
- Changed from Bouncy Castle to Sun JSSE Provider for Key Stores to improve reading and writing Trust Stores formatted in PKCS12
- Updated TLS Toolkit Key Password handling to remove setting null for PKCS12

Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>

This closes #6881
2023-01-24 15:06:20 +00:00
Mark Payne
2ead9e5494 NIFI-10970: Added a count RecordPath function
Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>

This closes #6778
2023-01-23 20:32:09 +00:00