1036 Commits

Author SHA1 Message Date
David Handermann
ae5a77b84f
NIFI-14209 Restructured Host Header Validation (#9680)
- Replaced HostHeaderHandler with HostPortValidatorCustomizer
- Jetty SecureRequestCustomizer enforces host validation for SNI with Server Certificate DNS Subject Alternative Names
- Added tests for TLS SNI with invalid host and port values
- Refactored and streamlined RequestUriBuilder.fromHttpServletRequest()
2025-02-05 14:43:07 -05:00
exceptionfactory
26c98c551e
NIFI-14228 Removed fallback Sensitive Properties Key from Commands
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #9691.
2025-02-04 22:53:43 +01:00
dan-s1
12ac7bb939
NIFI-14202 Replaced javax.security.auth.Subject deprecated methods with current methods (#9672)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2025-01-29 12:07:29 -06:00
Pierre Villard
237fdabefe
NIFI-14192 Updated version to 2.3.0-SNAPSHOT 2025-01-27 21:23:08 +01:00
Pierre Villard
1b812eed46
NIFI-14192 Merged NIFI-14192-RC1 2025-01-27 21:21:14 +01:00
dan-s1
583c4ec718
NIFI-14178 Applied PMD EmptyCatchBlock and corrected violations (#9665)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2025-01-24 16:57:03 -06:00
Pierre Villard
b33ffac8aa
NIFI-14192 Updated version to 2.2.0 2025-01-24 16:15:52 +01:00
Pierre Villard
5fb208e04a
NIFI-14187 Upgraded Spring to 6.2.2 along with AWS SDK and others (#9658)
- AWS SDK v2 from 2.29.48 to 2.30.3 - https://github.com/aws/aws-sdk-java-v2/blob/master/CHANGELOG.md
- Spring Framework from 6.2.1 to 6.2.2 - https://github.com/spring-projects/spring-framework/releases
- PostgreSQL from 42.7.4 to 42.7.5 - https://jdbc.postgresql.org/changelogs/2025-01-14-42.7.5-release/
- MIME4J from 0.8.11 to 0.8.12 - https://github.com/apache/james-mime4j/compare/apache-mime4j-project-0.8.11...apache-mime4j-project-0.8.12
- Reactor Netty HTTP from 1.2.1 to 1.2.2 - https://github.com/reactor/reactor-netty/releases
- Reactor Core from 3.7.1 to 3.7.2 - https://github.com/reactor/reactor-core/releases
- Dropwizard Metrics from 4.2.29 to 4.2.30 - https://github.com/dropwizard/metrics/releases/tag/v4.2.30
- Box SDK from 4.13.1 to 4.14.0 - https://developer.box.com/changelog/#2025-01-22-box-java-sdk-v4140-released
- Commons CSV from 1.12.0 to 1.13.0 - https://commons.apache.org/proper/commons-csv/changes.html#a1.13.0
- GCP from 26.52.0 to 26.53.0 - https://github.com/googleapis/java-cloud-bom/releases/tag/v26.53.0
- ActiveMQ from 6.1.4 to 6.1.5 - https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12355276
- JSON Schema Validator from 1.5.4 to 1.5.5 - https://github.com/networknt/json-schema-validator/blob/master/CHANGELOG.md
- Camel Salesforce from 4.8.2 to 4.9.0 - https://github.com/apache/camel/compare/camel-4.8.2...camel-4.9.0
- Slack Bolt from 1.45.0 to 1.45.1 - https://github.com/slackapi/java-slack-sdk/releases/tag/v1.45.1
- PY4J from 0.10.9.8 to 0.10.9.9 - https://www.py4j.org/changelog.html#py4j-0-10-9-9
- MySQL from 9.1.0 to 9.2.0 - https://dev.mysql.com/doc/relnotes/connector-j/en/news-9-2-0.html
- Flyway from 11.1.1 to 11.2.0 - https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine
- OpenCSV from 5.9 to 5.10 - https://sourceforge.net/p/opencsv/wiki/What%27s%20new/
- Netty from 4.1.116.Final to 4.1.117.Final - https://netty.io/news/2025/01/14/4-1-117-Final.html
- Swagger annotations from 2.2.27 to 2.2.28 - https://github.com/swagger-api/swagger-core/releases/tag/v2.2.28

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2025-01-23 10:46:52 -06:00
dan-s1
4ae0a47901
NIFI-14153 Applied PMD SimplifiableTestAssertion and Fixed Violations (#9641)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2025-01-17 12:54:29 -06:00
dan-s1
f4b2f04102
NIFI-14140 Applied PMD UnusedLocalVariable Rule and Fixed Violations (#9630)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2025-01-16 07:50:30 -06:00
Mark Payne
3c770fff79
NIFI-14145: Added new arrayOf RecordPath function
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #9621.
2025-01-10 11:09:58 +01:00
dan-s1
9ae65ccdc6
NIFI-14135 Added PMD's UseStandardCharsets check, fixed those places where there violations and used Intellij's rule to find other places where StandardCharsets could be used and corrected them.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #9614.
2025-01-09 10:08:10 +01:00
dan-s1
32bc68a40c
NIFI-14131 Expanded PMD coverage to include tests and fixed violations (#9610)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2025-01-07 15:33:49 -06:00
exceptionfactory
3897959c07
NIFI-14118 Upgraded Kubernetes Client from 6.13.4 to 7.0.1
This closes #9601

- Updated dependency exclusions from OkHttp to Vertx aligning with default changes in Fabric8 Kubernetes Client 7.0.0
2024-12-27 10:22:02 -07:00
Joseph Witt
2f73167aae
NIFI-14112 bumped aws, gcp, azure and many other libraries for hygiene or reported vulns such as Mina
- ch.qos.logback	1.5.14 1.5.15
- com.aayushatharva.brotli4j	1.17.0 1.18.0
- com.hierynomus	smbj  0.13.0.  0.14.0
- com.networknt               json-schema-validator.  1.5.2 1.5.4
- com.nimbusds      nimbus-jose-jwt         9.47 9.48
- com.rabbitmq amqp-client 5.23.0 5.24.0
- io.projectreactor.netty 1.2.0 1.2.1
- org.apache.lucene 10.0.0 10.1.0
- org.elasticsearch.client 8.16.1 8.17.0
- software.amazon.awssdk	2.29.35 2.29.40
- com.github.docker-java	3.4.0 3.4.1
- com.google.apis	google-api-services-drive	v3-rev20241027-2.0.0	v3-rev20241206-2.0.0
- com.hivemq	1.3.3 1.3.4
- com.unboundid	 7.0.1 7.0.2
- io.projectreactor reactor-core/test 3.7.0 3.7.1
- net.java.dev.jna 5.15.0 5.16.0
- net.sf.py4j py4j 0.10.9.7 0.10.9.8
- org.apache.camel 4.8.1  4.8.2
- org.apache.mina 2.2.3 2.2.4
- org.eclipse.jgit	7.0.0.202409031743-r	 7.1.0.202411261347-r
- org.flywaydb	11.0.0 11.1.0
- org.jline 3.27.1 3.28.0
- org.springframework.boot	3.3.6 3.4.1
- org.springframework.integration	6.4.0 6.4.1
- org.springframework.retry 2.0.10 2.0.11
- com.google.cloud libraries-bom 26.50.0 26.52.0
- com.azure azure-sdk-bom 1.2.29 1.2.30
- spring-data-redis 3.4.0 3.4.1
- com.google.guava 33.3.1-jre 33.4.0-jre

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

This closes #9597.
2024-12-27 14:21:16 +01:00
dan-s1
b6bc6bfd9a
NIFI-14084 Replaced anonymous classes with lambdas part 2 (#9592)
Signed-off-by: Lucas Ottersbach <ottersbach@apache.org>
2024-12-25 10:13:53 +01:00
exceptionfactory
7051aca832
NIFI-14097 Updated version to 2.2.0-SNAPSHOT 2024-12-23 17:04:56 -06:00
exceptionfactory
f3af2394f9
NIFI-14097 Updated version to 2.1.0 2024-12-20 12:37:52 -06:00
David Handermann
5c3499a008
NIFI-14103 Corrected thread safety for Proxied Entity Encoder (#9591)
- Created new CharsetEncoder for each method invocation
2024-12-20 12:32:17 -06:00
exceptionfactory
43faa73b4e
NIFI-14073 Added PMD Plugin to contrib-check Profile
- Added standard PMD rules scoped to current project conventions
- Updated multiple classes to meet UseDiamondOperator rule requirements
- Applied selected SuppressWarnings to selected classes
- Streamlined ci-workflow build to avoid unnecessary exclusions
- Refactored assembly module phases to align with standard lifecycle behavior

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

This closes #9581.
2024-12-15 15:02:24 +01:00
dan-s1
a5086a9eb2
NIFI-14067 Replaced anonymous classes with lambdas (#9571)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-09 20:59:52 -06:00
dan-s1
5c5b7ffa96
NIFI-14070 Replaced where possible switch statements with enhanced switch statements (#9573)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-09 20:46:01 -06:00
dan-s1
0569595e3a
NIFI-14069 Replaced remaining explicit type arguments with diamonds (#9572)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-09 20:20:37 -06:00
dan-s1
ba9273f8fa
NIFI-14051 Removed unnecessary generic type declarations (#9562)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-06 16:56:02 -06:00
exceptionfactory
02947e0eee
NIFI-14026 Added proxied-entity module for web-security and toolkit
- Added ProxiedEntityEncoder interface and implementation
- Removed nifi-web-security dependency from nifi-toolkit-client
- Removed Google Guava dependency from nifi-toolkit-cli

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

This closes #9567.
2024-12-05 12:32:05 +01:00
Pierre Villard
452ddbbec5 NIFI-14050 - Dependency housekeeping - Spring Security, AWS, commons-io, Elastic, Mongo, Neo4J, Redis
This closes #9556

- AWS SDK v1 from 1.2.778 to 1.12.779
- AWS SDK v2 from 2.29.15 to 2.29.22
- ZSTD from 1.5.6-7 to 1.5.6-8
- commons-io from 2.17.0 to 2.18.0
- Test containers from 1.20.3 to 1.20.4
- log4j from 2.24.1 to 2.24.2
- Spring Security from 6.4.0 to 6.4.1
- jsoup from 1.18.1 to 1.18.2
- metrics-jvm and metrics-core from 4.2.28 to 4.2.29
- elasticsearch client from 8.15.3 to 8.16.1
- Spring integration from 6.3.5 to 6.4.0
- greenmail from 2.0.1 to 2.1.1
- gremlin from 3.7.2 to 3.7.3
- janusgraph from 1.0.0 to 1.2.0-20241120
- amqp client from 5.22.0 to 5.23.0
- neo4j driver from 5.26.0 to 5.26.3
- mongodb driver from 4.11.4 to 4.11.5
- jackson-datatype-protobuf from 0.9.16 to 0.9.17
- Redis from 3.3.5 to 3.4.0
- Slack bolt from 1.44.1 to 1.44.2
- Spring boot from 3.3.5 to 3.4.0
- datafaker from 2.4.1 to 2.4.2
- Spring retry from 2.0.9 to 2.0.10
- Kotlin from 2.0.21 to 2.1.0

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-12-01 17:09:17 -07:00
David Handermann
e33cbe6df5
NIFI-14001 Added Framework Support for PEM Keys and Certificates (#9517) 2024-11-19 11:38:15 -05:00
exceptionfactory
20c7913d96
NIFI-14012 Added UID and DC Formatting for Certificate Principals
- Added Object Identifiers for UID and DC which are not included in the standard set for X500Principal.RFC1779

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

This closes #9532.
2024-11-18 19:13:53 +01:00
Pierre Villard
6c4ddf8631
NIFI-13982 Updated web-client-api to support body as string and response URI (#9500)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-12 13:28:23 -06:00
dan-s1
2f048ca70a
NIFI-13988 Adjusted Record number conversion to treat empty String as null (#9511)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-12 13:23:08 -06:00
exceptionfactory
6bc0e384f4
NIFI-13978 Improved Performance of Record Date Time Parsing
- Replaced DateTimeFormatter.parseBest() with custom TemporalQuery that checks for a ZoneId

This closes #9497.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-11-06 20:32:59 +01:00
exceptionfactory
4adc2be12b
NIFI-13915 Updated version to 2.1.0-SNAPSHOT 2024-11-01 22:56:08 -05:00
exceptionfactory
2f13b609bd
NIFI-13915 Updated version to 2.0.0 2024-10-29 20:25:32 -05:00
exceptionfactory
cf59c514ff
NIFI-13947 Removed unused nifi-security-utils Maven configuration
This closes #9470

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-10-29 14:10:15 -07:00
Pierre Villard
c68f6910ba
NIFI-13843 Default to Drop Unknown Fields in Record Readers (#9347)
Co-authored-by: David Handermann <exceptionfactory@apache.org>
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-10-29 14:18:47 -05:00
exceptionfactory
b6952f1246
NIFI-13933 Upgraded Spring Security to 6.3.4 and other dependencies
This closes #9450

- Upgraded Spring Security from 6.3.3 to 6.3.4
- Upgraded Hadoop from 3.4.0 to 3.4.1
- Upgraded Velocity Engine Core from 2.3.0 to 2.4.1
- Upgraded Parquet Avro from 1.13.1 to 1.14.3
- Upgraded Google Libraries from 26.47.0 to 26.49.0
- Set protobuf-java to 3.25.5 for calcite-core and amazon-kinesis-client libraries
- Updated Dependency Check suppressions

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-10-26 14:14:14 -07:00
Pierre Villard
56f859f37f
NIFI-13890 Fixed referencing components for quoted parameter names (#9411)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-10-18 07:56:51 -05:00
exceptionfactory
927baa858f
NIFI-13891 Updated Documentation for Bootstrap Network Address
- Removed unused nifi.listener.bootstrap.port property from nifi.properties
- Added documentation for management.server.address property in bootstrap.conf
- Corrected location of nifi.diagnostics.on.shutdown property documentation
- Added localized handling to bootstrap port property in StandardMiNiFiServer

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

This closes #9413.
2024-10-17 21:32:00 +02:00
exceptionfactory
7aabef305c
NIFI-13889 Removed Unused Protected Properties abstraction
- Removed unused methods from nifi-property-utils components

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

This closes #9410.
2024-10-17 20:10:55 +02:00
exceptionfactory
d42b110474
NIFI-13886 Upgraded Spring from 6.1.13 to 6.1.14 and others
- Upgraded Apache MINA SSHD from 2.13.2 to 2.14.0
- Upgraded Dropwizard Metrics from 4.2.27 to 4.2.28
- Upgraded Guava from 33.2.1 to 33.3.1
- Upgraded ASM from 9.7 to 9.7.1
- Upgraded Apache JSP from 10.1.16 to 10.1.31
- Upgraded Apache EL from 10.1.16 to 10.1.31
- Upgraded Data Faker from 2.3.1 to 2.4.0
- Upgraded JSON Flattener from 0.16.6 to 0.17.0
- Upgraded Check Qual from 3.47.0 to 3.48.1
- Upgraded error-prone-annotations from 2.28.0 to 2.33.0
- Upgraded frontend-maven-plugin from 1.15.0 to 1.15.1
- Upgraded AWS SDK from 1.12.772 to 1.2.774
- Upgraded AWS SDK from 2.28.13 to 2.28.24
- Upgraded JSON Smart from 2.5.0 to 2.5.1
- Upgraded Jersey from 3.1.8 to 3.1.9
- Upgraded Logback from 1.5.8 to 1.5.11
- Upgraded Servlet API from 6.0.0 to 6.1.0
- Upgraded Swagger Annotations from 2.2.24 to 2.2.25

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

This closes #9407.
2024-10-17 18:04:51 +02:00
dan-s1
92f571940e
NIFI-13880 Replaced if statements with enhanched switch in Object FieldConverters (#9399)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-10-16 18:28:52 -05:00
exceptionfactory
cb2117f8e6 NIFI-13579 Improved Timestamp Zone Offset Formatting and Parsing
- Improved Timestamp to String formatting to support patterns with zone offsets
- Improved String to Timestamp parsing to support adjusted hours and minutes when zone offset is included
2024-10-16 18:37:30 +00:00
exceptionfactory
1b37d78403
NIFI-13874 Refactored KeyStore and SSLContext Creation for Tests
This closes #9392

- Added EphemeralKeyStoreBuilder to nifi-security-ssl
- Removed nifi-security-utils
- Moved StandardTlsConfiguration to nifi-ssl-context-service
- Refactored tests to use EphemeralKeyStoreBuilder and nifi-security-cert-builder for TLS

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-10-16 09:18:59 -07:00
exceptionfactory
988b4a1a7e
NIFI-13875 Upgraded Calcite from 1.37.0 to 1.38.0
- Upgraded Curator from 5.7.0 to 5.7.1
- Updated TestQueryRecord expected value to align with Calcite 1.38.0 decimal handling

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

This closes #9394.
2024-10-16 15:29:41 +02:00
Mark Payne
c97510aa66
NIFI-13862: Ensure that when FlowFile Repository is checkpointed, we always call the onGlobalSync() method to ensure that any transient claims that may have been provided (such as those from Stateless NiFi) get dealt with appropriately.
This closes #9375

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-10-10 13:41:53 -07:00
Mike Moser
4ecd743693
NIFI-12762 Added Request Header Size to ListenHTTP and HandleHttpRequest
This closes #9304

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-10-08 14:28:55 -05:00
exceptionfactory
6761de3901
NIFI-13810 Handled Trailing Separator for Paths in URI Builder
This closes #9319.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-09-27 19:11:35 +02:00
Matt Gilman
fb2a82c035
NIFI-13721: Migrating documentation into the NiFi UI (#9288)
* NIFI-13721: Migrating additional details to markdown.

* NIFI-13721: Rebuilding documentation to generate mark up on the client.

* NIFI-13721: Removing old documentation approach.

* NIFI-13721: Rebase main and final fixing button colors.

* NIFI-13721: Fixing rat issues.

* NIFI-13721: Removing generated comonent documentation.
- Removing links and images from additional details markdown.

* NIFI-13721: Recreating package lock following rebase.

* NIFI-13721: Updating documentation for M3.

* NIFI-13721: Fixing broken test.

* NIFI-13721: Addressing review feedback.

* NIFI-13721: Addressing review feedback.

* NIFI-13721: Ensuring the selected item is visible after routing.

* NIFI-13721: Fixing reportingTaskTypes in finding extensions for a given type.

* NIFI-13721: Updating the see also component to handle when the referenced extension is not installed.

* NIFI-13721: Fixing expansion panel header styles.
2024-09-27 11:11:55 -04:00
exceptionfactory
1548a21219
NIFI-13804 Migrated to NiFi API 2.0.0
This closes #9314.

- Upgraded NAR Maven Plugin from 2.0.0 to 2.1.0
- Removed nifi-api module in favor of released version

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-09-26 04:54:24 -04:00
dan-s1
3b3b431732
NIFI-13781 Updated DataTypeUtils with syntax optimizations from recent Java versions (#9302)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-09-24 16:27:40 -05:00