Commit Graph

10411 Commits

Author SHA1 Message Date
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
dependabot[bot] 8ab4ae0d18
NIFI-14102 Upgraded Logback from 1.5.12 to 1.5.14 (#9590)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-20 12:31:23 -06:00
Mark Bathori 3dabc8408c
NIFI-14057 Return HTTP 405 for TRACE and OPTIONS on all paths for ListenHTTP (#9563)
- Added Filter to handle OPTIONS and TRACE methods for returning HTTP 405

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-19 12:25:50 -06:00
Ferenc Gerlits 116f2f728b
NIFI-13997 Limit Python Processor loading to requested Processor Class (#9568)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-19 11:52:13 -06:00
David Handermann d3d3de2894
NIFI-14098 Corrected runtime-manifest dependency on assembly packaging (#9588) 2024-12-19 11:49:17 -06:00
dan-s1 5fce094dcc
NIFI-14096 Added Maven project directory property to PMD Ruleset path (#9587)
- Added Maven property to allow for resolving location of pmd-ruleset.xml even when running contrib-check in an individual NAR directory and not from the root directory

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-18 16:40:16 -06:00
dan-s1 eafe2aa81f
NIFI-14082 Updated more Processors with standard Properties and Relationships collections (#9583)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-18 16:38:03 -06:00
exceptionfactory 2e05270995
NIFI-14092 Upgraded Spring Framework to 6.2.1 and others
- Upgraded AWS SDK from 1.12.779 to 1.12.780
- Upgraded AWS SDK from 2.29.23 to 2.29.35
- Upgraded Apache Commons Text from 1.12.0 to 1.13.0
- Upgraded Jetty from 12.0.15 to 12.0.16
- Upgraded Log4j from 2.24.2 o 2.24.3
- Upgraded Netty from 4.1.115 to 4.1.116
- Upgraded Spring Security from 6.4.1 to 6.4.2
- Upgraded Swagger Annotations from 2.2.26 to 2.2.27
- Upgraded Commons DBCP from 2.12.0 to 2.13.0
- Upgraded JUnit 5.11.3 to 5.11.4
- Upgraded JUnit Platform from 1.11.3 to 1.11.4
- Upgraded jsoup from 1.18.2 to 1.18.3
- Upgraded Checkstyle from 10.20.0 to 10.21.0

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

This closes #9585.
2024-12-18 13:24:29 +01:00
Matt Gilman f330f23fbe
NIFI-14090: Removing unused code now that the resize handle has been removed from the status history table. (#9584)
- Remove references to computedStyleMap which is not supported in Firefox.
2024-12-17 16:09:44 -05:00
dependabot[bot] bd11074476
NIFI-14091 Upgraded nanoid from 3.3.7 to 3.3.8 for nifi-frontend (#9582)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-17 12:03:28 -06:00
Matt Gilman 794db3e1d1
NIFI-13710: Rebuilding Update Attribute Custom UI. (#9561)
* NIFI-13710: Rebuilding Update Attribute Custom UI.

* NIFI-13710: Removing unnecessary codemirror import.

* NIFI-13710: Addressing review feedback.
- Adding editor hint so users know how to use EL.
- Fixing issue with rule payload when managing conditions and actions.
- Accounting for user permissions when setting the editable flag.
- Preventing editors from displaying offscreen.
- Showing snackbars following successfully saving.
- Adding validators to the condition and actions table.

* NIFI-13710: Addressing review feedback.
- Ensuring that the revision is saved after all actions.
- Ensuring that the evaluation criteria is reloaded when rules are added/removed.
- Updating additional details to reflect the new UI.

* NIFI-13710: Fixing text overflow issues.

* NIFI-13710: Applying text-base to the body.

* NIFI-13710: Addressing review feeback.
- Fixing imports.
- Disabling menu in tables when not editable.
- Fixing background color in dark mode.

* NIFI-13710: Requiring rules to be saved or discard once edited.

* NIFI-13710: Fixing import style which could result in circular imports.
- Fixing bug when evaluating open/closed rule when deciding if reordering should be allowed.

* NIFI-13710: Unpacking UI in prepare-package phase.
2024-12-16 17:53:44 -05:00
exceptionfactory 19bac11438
NIFI-14061 Added support for file scheme in OIDC Discovery URL
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #9580.
2024-12-15 15:07:18 +01: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
POliveNokia e4cb5a3615
NIFI-14013 Add disconnected Relationship to ConnectWebSocket (#9533)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-14 08:18:53 -06:00
Pierre Villard 8d2db608b3
NIFI-14072 Restored support for partial updates of Labels (#9575)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-14 08:13:46 -06:00
Matt Burgess 9c79c871cc
NIFI-13865 Add HeapDumpOnOutOfMemoryError description to Admin Guide (#9579)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-14 08:08:15 -06:00
ravisingh 502572b2f5 NIFI-11858 Configurable Column Name Normalization in PutDatabaseRecord and UpdateDatabaseTable
cleaned and required changes  for https://github.com/apache/nifi/pull/8995

updated the description to reflect uppercase conversion of column name  uppercased to do case-insensitive matching irrespective of strategy

added example for REMOVE_ALL_SPECIAL_CHAR  and PATTERN

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

This closes #9382
2024-12-13 14:47:32 -05:00
Scott Aslan 0271e926eb
[NIFI-13318] processor stop and configure UX (#9548)
* [NIFI-13318] processor stop and configure UX

* handle invalid run status

* display validation errors

* invalid icon and tooltip alternative placement

* remove validation errors tooltip, move invalid icon into status button, update edit processor entity and readonly updates

* restore MAT_DIALOG_DATA and only enable/disable form controls via api

* clean up

* only allow updates by current client and poll until stopped and no active threads

* update menu options to display when available

* display processor bulletins

* align dialog header text and run status button

* update filter for incoming updated entities and submit appropriate revision on run status changes

* disable button when stopping

* code clean up

* update method name

* update error message

* update types

* add types and cleanup

* move run status action button

* review feedback

* update run status action button to consider when user cannot operate processor

* update to also handle disabled run status when user does not have operate

* clean up pollingProcessor

* disable button when stopping

* prettier

* prettier

* readd thread count

* poll when necessary

This closes #9548
2024-12-10 16:54:30 -05: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
Rajmund Takacs 3c9ecd876d
NIFI-14064 Fixed Display of Descriptions for Python Processors
- Set Tags in Extension definitions from Python Processor Details to avoid errors
- Added and updated tests for manifests

This closes #9565

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-12-06 16:46:26 -06:00
Paul Grey c4420b410b NIFI-14053 PublishKafka should allow specification of KafkaKey when using FlowFile publish strategy
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #9557
2024-12-06 12:43:40 -05:00
Matt Gilman a55591815b
NIFI-14060: Code clean up, fix unit tests, and remove console log. (#9564) 2024-12-05 19:40:41 -05: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
Rob Fellows df793ce14e
[NIFI-13977] - Updated Copy/Paste in UI to align with new backend API (#9536)
* [NIFI-13977] - Updated Copy/Paste in UI to align with new backend API
* center pasted elements on screen. zoom out to fit them if needed
* offset pasted components if the originally copied content is still in view

* copy using ClipboardItem to support Safari. other review concerns addressed. added some minor positioning fixes as well.

* copy using ClipboardItem to support Safari. other review concerns addressed. added some minor positioning fixes as well.

* remove commented out code

* Offset paste to center if it would overlap a prior paste of that content

This closes #9536
2024-12-03 16:57:04 -05:00
NissimShiman 39aa106943
NIFI-14016 Resolved issue for onPropertyModified() where oldValue was always null (#9560)
NIFI-14016 Resolved issue for onPropertyModified() where oldValue was always null (#9560)
2024-12-03 10:34:09 -05:00
dan-s1 82fe051413
NIFI-13996 Improved removal of temporary files after a build (#9551)
Signed-off-by: David Handerman <exceptionfactory@apache.org>
Co-authored-by: David Handermann <exceptionfactory@apache.org>
2024-12-02 17:39:31 -06:00
Joseph Witt 1c9f083682
NIFI-14056 bumped box, aws, com.fasterxml, and many other dependencies
- com.amazonaws 1.12.778 1.12.779
- box-java-sdk 4.12.0 4.13.1
- <changed com.fasterxml.jackson bom>
  com.fasterxml.jackson.core 2.18.1 2.18.2
  com.fasterxml.jackson.dataformat  2.18.1 2.18.2
  com.fasterxml.jackson.datatype	 2.18.1 2.18.2
  com.fasterxml.jackson.jakarta.rs 2.18.1 2.18.2
  com.fasterxml.jackson.jaxrs 2.18.1 2.18.2
  com.fasterxml.jackson.jr 2.18.1 2.18.2
  com.fasterxml.jackson.module 2.18.1 2.18.2
- com.networknt	json-schema-validator 1.5.2 1.5.4
- com.nimbusds	nimbus-jose-jwt 9.42 9.47
- io.dropwizard.metrics	metrics-core 4.2.28 4.2.29
- io.projectreactor.netty	reactor-netty-http 1.1.23 1.1.24	1.2.0
- software.amazon.awssdk 2.29.22 2.29.23
- com.google.apis	google-api-services-drive	v3-rev20240914-2.0.0	v3-rev20241027-2.0.0
- com.icegreen 2.1.1 2.1.2
- com.rabbitmq	amqp-client	5.22.0	5.23.0
- io.projectreactor 3.6.11 3.7.0
- org.apache.activemq 6.1.3 6.1.4
- org.apache.parquet	1.14.3 1.14.4
- org.flywaydb	10.20.1 11.0.0
- org.gitlab4j	6.0.0-rc.6 6.0.0-rc.7
- org.mariadb.jdbc 3.5.0 3.5.1
- org.neo4j.driver 5.26.3 5.27.0
- org.springframework.boot 3.3.5 3.3.6

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

This closes #9559.
2024-12-02 11:03:54 +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 3214e9163c
NIFI-14049 Added PEM-Encoded SSLContextProvider (#9555)
Signed-off-by: Lucas Ottersbach <ottersbach@apache.org>
2024-12-01 11:20:26 +01:00
David Handermann de9042bb19
NIFI-14052 Removed non-deterministic build properties (#9558)
- Removed Maven and Java Home properties from Runtime Manifest build
- Removed Built-By and Build-Os-Version properties from Runtime Manifest
- Disabled JAXB episode file generation
- Enabled output sorting for Swagger specification

Signed-off-by: Lucas Ottersbach <ottersbach@apache.org>
2024-11-30 20:47:20 +01:00
Lucas 2199d64298
NIFI-14043 Add support for keySet in HazelcastMapCacheClient (#9553)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-25 08:29:02 -06:00
Pierre Villard cfa495b64d
NIFI-14041 Improved MockPropertyValue and EL evaluation validation (#9549)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-25 08:14:29 -06:00
dan-s1 134240c51c
NIFI-14036 Improved Description of SplitExcel regarding Formulas (#9552)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-22 15:18:57 -06:00
Matt Gilman f744deebf9
NIFI-13976 Added REST Endpoints for Copying and Pasting Flows (#9535)
- Including the revision for the current Process Group in the flow response.
- Introduce a method propose built for adding new versioned components to an existing Process Group.
- Updating the paste response payload to only include the entities for the components that were just added.
- Always generating new IDs when copying components.
- Creating an ID for the copy action.
- Code clean up.
- Mapping IDs on paste to ensure connections are created correctly.
- Authorizing any components whose instance IDs are specified.
- Copying any sensitive properties from copied instances when pasting.
- Fixing mapping of copy response to ensure that nested Controller Services can be referenced.
- Including external Controller Services in copy response to they can be resolved on paste.
- Excluding unreferenced services from copy response.
- Including property descriptors to allow external services to resolve when pasting.
- Including Parameters and Parameter Providers in copy response.
- Fixing issue returning unreferenced services in the current process group.
- Reverting changes building up external service references.
- Only including external services that are references by the copy selection.
- Adding some additional test coverage.
- Adding consideration for the current ids in the paste id mapping.
- Adding an endpoint response merger for the paste endpoint.
- Including version control information in copy response.
- Being more lenient when pasting unknown registry clients.
- Ensuring groups IDs are mapped correctly when and when not versioned.
- Including registry client id in vci of versioned process groups.
- Updating copy/paste logic in existing system tests to leverage new endpoints.
- Restoring originally proposed port name if possible.
- Allow ports to be pasted into the root group.
- Fixing authorization issue when pasting a flow containing Parameter Providers.
- Fixing issue when authorizing exporting a Flow that contains a Process Group bound to a Parameter Context.
- Introducing some Copy/Paste system tests.
- Adding system tests for verify various copy paste functionality.
- Ensuring appropriate access around Parameter Providers following resolution based on locally available Parameter Providers.
- Ensuring user has access to controller services directly referenced.
- Fixing NPE in log message of Parameter Context.
- Adding more copy/paste system tests.
- Moving copy/paste version tests into the CopyPasteIT.
- Fixing unit test mocking.
- Include service authorization based on versioned component id since it may resolve during synchronization.
- Skipping properties with no values when resolving service identifiers.

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-22 15:11:29 -06:00
exceptionfactory d07b363fb0
NIFI-14027 Added SSLContextProvider Controller Service Interface
- Updated SSLContextService to extend SSLContextProvider
- Updated Processors and Controller Services to use SSLContextProvider where supported

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

This closes #9537.
2024-11-21 14:23:25 +01:00
NissimShiman aa3a7c05ad
NIFI-13491 Added Response Header Request Attributes Prefix to InvokeHTTP (#9507)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-11-20 21:03:37 -06:00
Matt Gilman b421ccad21
NIFI-14031: Ensuring all Parameter Contexts are added when Editing a … (#9539)
* NIFI-14031: Ensuring all Parameter Contexts are added when Editing a Process Group. For contexts the user lacks access to will be added as disabled options.

* NIFI-14031: Addressing review feedback allowing the currently selected value to be reselected even when the user lacks permissions because the back end skips the check when the value isn't changing.

* NIFI-14031: Fixing PropertyItem instances in unit tests.

This closes #9539
2024-11-20 17:13:31 -05:00
Rob Fellows 685f5712b7
[NIFI-14033] - Disable links to referencing components while saving. (#9543)
This closes #9543
2024-11-20 15:43:59 -05:00
Rob Fellows c12c5fbd53
[NIFI-14038] - Add quick-copy to component-context component when it displays the id (#9546)
* [NIFI-14038] - Add quick-copy to component-context component when it displays the id

* npm audit fix - cross-spawn vulnerability

This closes #9546
2024-11-20 15:27:44 -05:00
Rob Fellows 3ab426072d
[NIFI-14032] - Format Core Load Average in Cluster system table to 2 decimal places. (#9541)
This closes #9541
2024-11-20 15:21:50 -05:00
Rob Fellows a760f0a8ee
[NIFI-14030] - Add an icon for Parameters and Parameter Contexts menu items (#9540)
This closes #9540
2024-11-20 14:17:55 -05:00
Rob Fellows bac6300e95
[NIFI-14024] - Improve Bulletin ToolTip (#9534)
This closes #9534
2024-11-20 13:50:34 -05:00
exceptionfactory a3f4f7b964
NIFI-14025 Corrected LDAP Provider Trust Store Configuration
- Fixed LDAP Provider support for configuring a Trust Store without a Key Store

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

This closes #9544.
2024-11-20 12:19:32 +01:00
exceptionfactory e327dcdd21
NIFI-14035 Upgraded Spring Security from 6.3.4 to 6.4.0
- Upgraded OpenSAML from 4.3.2 to 5.1.3
- Upgraded Nimbus JOSE JWT from 9.42 to 9.47
- Upgraded Santuario from 2.3.4 to 4.0.3
- Updated OpenSAML 4 references to OpenSAML 5
- Added OIDC RestClient Bean and updated references based on deprecation warnings

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

This closes #9545.
2024-11-20 11:39:43 +01:00
dependabot[bot] 90f6fd06fb
NIFI-14034 Upgraded Kafka Clients from 3.6.2 to 3.9.0 for AWS Kinesis
Signed-off-by: David Handermann <exceptionfactory@apache.org>
Co-authored-by: David Handermannn <exceptionfactory@apache.org>
2024-11-19 22:15:38 -06:00
David Handermann e33cbe6df5
NIFI-14001 Added Framework Support for PEM Keys and Certificates (#9517) 2024-11-19 11:38:15 -05:00