1308 Commits

Author SHA1 Message Date
Mark Payne
a78c478721
NIFI-12358 Fixed NPE in HostHeaderHandler
Fixed NPE in ThreadDumpTask

This closes #8032

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

(cherry picked from commit b5c3e6f9aae9791b749ba3d908ce1b6672ee2124)
2023-11-15 16:59:59 -06:00
Paulette Hines-Cross pliszle
885445ccb5
NIFI-12107 Fixed sorting in the cluster table
This closes #7923

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 93d373f037c353b95f8ad502dec8768fc5e780bc)
2023-11-13 08:41:52 -06:00
exceptionfactory
7e0976490a
NIFI-12293 Standardized HTTP error response messages (#7957)
- Updated ExceptionFilter and AuthenticationFilter with standard messages

This closes #7957

(cherry picked from commit 97dd543c6a850f1076b05c7a9bcc28d37e184d5b)
2023-11-03 14:27:24 -05:00
exceptionfactory
f37b77f64c
NIFI-12287 Standardized skipping Source and Javadoc for NAR modules
- Added nar-packaging and war-packaging profiles to root Maven configuration
- Removed individual properties from NAR module configurations

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

This closes #7947.

(cherry picked from commit 2366132e92951a8fc27097c777d3104a1c396f7b)
2023-10-31 14:35:54 -05:00
annanys23
a9e05ff473
NIFI-5137 Fixed the path to Controller Service grid item's state
This closes #7833

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 6daf0abfd4ce56c1a1285f68af050e02b36fa6f4)
2023-10-21 20:08:41 -05:00
markobean
0e806a19a1
NIFI-11874: update process group configuration dialog UI, specific to nifi-1.x line (#7844)
This closes #7844
2023-10-20 14:48:46 -04:00
Matt Gilman
2c019bb985
NIFI-11909 Cleared Password field after login
- Clearing the password in the login form when login fails or unable to verify access once authentication succeeds.

This closes #11909

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 97dfe2d812a9fa8b0fcc2b1d0b7f352f656b530e)
2023-10-19 13:42:11 -05:00
exceptionfactory
1a2d769e82
NIFI-12219 Added Xodus Flow History Storage with Migration (#7885)
- Added EntityStoreAuditService implementation using JetBrains Xodus libraries
- Added FlowConfigurationHistoryMigrator for checking and migrating H2 databases containing Flow Configuration History to Xodus persistent store implementation
2023-10-18 10:48:05 -04:00
Zackeus Bengtsson
387c22b22c
NIFI-12122 Fixed persistence of Parameter Context descriptions
Fixed bug where parameter context descriptions were not loaded on NiFi startup and overwritten as empty

This closes: #7787

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0a47157640c1502a0379a7f66d764d2d7d344872)
2023-10-13 18:39:55 -05:00
Bryan Bende
ad915f773d
NIFI-12186 Add ability to export a versioned reporting task snapshot (#7853)
* NIFI-12186 Add ability to export a versioned reporting task snapshot
- Add CLI commands and optional query param to specify specific reporting task
2023-10-09 11:39:43 -04:00
Nissim Shiman
698a426bda
NIFI-11782 Resolved NPE when moving snippet with label to process group
This closes #7838

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 5afda79f282c99df370edb411234c2182bebe4b9)
2023-10-05 16:11:52 -05: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
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
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
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
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
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
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
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
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
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
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
timeabarna
d5fb6b4518 NIFI-3065 Per Process Group logging (#7315)
* NIFI-3065 Per Process Group logging
2023-06-23 21:20:34 -04:00
exceptionfactory
072c9547bf NIFI-11748 Upgraded Apache Commons Codec from 1.15 to 1.16.0
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-06-23 18:26:51 -04:00
exceptionfactory
411111925b
NIFI-11735 Refactored Identity Provider Groups Handling (#7419)
- Removed H2 database approach in favor of passing groups in Application Bearer Token
2023-06-22 11:11:44 -04:00
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
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
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
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
Scott Aslan
765d9bc864
[NIFI-11560] call forEach on Map (#7297)
* [NIFI-11560] call forEach on Map

* getComponentRestrictions returns Map, use forEach

This closes #7297
2023-06-01 16:27:47 -04:00
M Tien
7f660d7d87
NIFI-11287: detect dependent properties when the property it depends on references a parameter (UI) (#7117)
* NIFI-11287: detect dependent properties when the property it depends on references a parameter

* address review feedback

* address more review comments

* - loadProperties checks type before getting the parameter context
- retrieve the parameter context with ajax call from inside the class

* add type parameter to all places calling loadProperties

* get reference parameters by invoking provided callbacks from the client

* check for user permissions before requesting for referenced parameters

* address review feedback

This closes #7117
2023-05-11 17:05:06 -04: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
Timea Barna
b146ab7407
NIFI-11473 Flow version change in NiFi should not stop a component when only position is changed
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
2023-04-27 12:58:05 -04:00
Lehel Boér
4e1b1e7926
NIFI-11067 Delete Property History when changing Sensitive status
This closes #7082

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit ffaf81ec462c4093f0fcf6d61d36be9849f0eda2)
2023-04-26 11:11:54 -05:00
Scott Aslan
8d04559e07 NIFI-11433 - use .add() for set instead of .push() (#7193)
* replace d3.nest, use add instead of push for Set, use forEach to loop over Set

* es5 function syntax

Merged #7193 into main.
2023-04-25 10:46:39 -07:00